1. Sean Flanigan
  2. zanata

Commits

Sean Flanigan  committed 689acae

change non-nullable Boolean fields into boolean

  • Participants
  • Parent commits cec5e82
  • Branches default

Comments (0)

Files changed (2)

File server/flies-model/src/main/java/net/openl10n/flies/model/HProject.java

View file
 import org.hibernate.search.annotations.Index;
 import org.hibernate.validator.Length;
 import org.hibernate.validator.NotEmpty;
-import org.hibernate.validator.NotNull;
 import org.jboss.seam.annotations.security.Restrict;
 
 /**
    private String name;
    private String description;
    private String homeContent;
-   private Boolean overrideLocales = false;
+   private boolean overrideLocales = false;
    private Set<HLocale> customizedLocales;
 
    private Set<HPerson> maintainers;
       this.name = name;
    }
 
-   public void setOverrideLocales(Boolean var)
+   public void setOverrideLocales(boolean var)
    {
       this.overrideLocales = var;
    }
 
-   @NotNull
-   public Boolean getOverrideLocales()
+   public boolean getOverrideLocales()
    {
       return this.overrideLocales;
    }

File server/flies-model/src/main/java/net/openl10n/flies/model/HProjectIteration.java

View file
 
    private HIterationProject project;
 
-   private Boolean active = true;
+   private boolean active = true;
 
    private HProjectIteration parent;
    private List<HProjectIteration> children;
    private Set<HLocale> customizedLocales;
 
 
-   public void setActive(Boolean active)
+   public void setActive(boolean active)
    {
       this.active = active;
    }
 
-   @NotNull
-   public Boolean getActive()
+   public boolean getActive()
    {
       return active;
    }
 
-   public void setOverrideLocales(Boolean var)
+   public void setOverrideLocales(boolean var)
    {
       this.overrideLocales = var;
    }
 
-   @NotNull
-   public Boolean getOverrideLocales()
+   public boolean getOverrideLocales()
    {
       return this.overrideLocales;
    }