Commit ed108d3b by Tuukka Kivilahti

mergerequest fixes

1 parent dd17005a
...@@ -32,7 +32,7 @@ import javax.persistence.Table; ...@@ -32,7 +32,7 @@ import javax.persistence.Table;
*/ */
@Entity @Entity
@Table(name = "helps") @Table(name = "helps")
public class Help extends GenericEntity implements Cloneable { public class Help extends GenericEntity {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
...@@ -42,6 +42,7 @@ public class Help extends GenericEntity implements Cloneable { ...@@ -42,6 +42,7 @@ public class Help extends GenericEntity implements Cloneable {
public Help(String path) { public Help(String path) {
this.path = path; this.path = path;
} }
public Help() { public Help() {
} }
......
...@@ -35,7 +35,7 @@ import java.util.Locale; ...@@ -35,7 +35,7 @@ import java.util.Locale;
*/ */
@Entity @Entity
@Table(name = "help_texts") @Table(name = "help_texts")
public class HelpText extends GenericEntity implements Cloneable { public class HelpText extends GenericEntity {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
......
...@@ -31,7 +31,7 @@ import java.util.Date; ...@@ -31,7 +31,7 @@ import java.util.Date;
*/ */
@Entity @Entity
@Table(name = "help_text_histories") @Table(name = "help_text_histories")
public class HelpTextHistory extends GenericEntity implements Cloneable { public class HelpTextHistory extends GenericEntity {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
......
...@@ -26,8 +26,7 @@ public enum ValidLocale { ...@@ -26,8 +26,7 @@ public enum ValidLocale {
private final Locale locale; private final Locale locale;
ValidLocale(Locale l) ValidLocale(Locale l) {
{
this.locale = l; this.locale = l;
} }
...@@ -40,8 +39,8 @@ public enum ValidLocale { ...@@ -40,8 +39,8 @@ public enum ValidLocale {
} }
public static ValidLocale findFromLocale(Locale locale) { public static ValidLocale findFromLocale(Locale locale) {
for(ValidLocale l : values()) { for (ValidLocale l : values()) {
if(l.getLocale().equals(locale)) { if (l.getLocale().equals(locale)) {
return l; return l;
} }
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!