Commit ed108d3b by Tuukka Kivilahti

mergerequest fixes

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