@@ -29,7 +29,6 @@ public class Project {
2929 @ GeneratedValue (strategy = GenerationType .IDENTITY )
3030 @ Column (name = "id" , updatable = false , nullable = false )
3131 private long id ;
32-
3332 private String name ;
3433
3534 @ Lob
@@ -39,9 +38,7 @@ public class Project {
3938 private Color color ;
4039
4140 private boolean isWork ;
42-
4341 private boolean isDefault ;
44-
4542 private boolean isEnabled ;
4643
4744 private int index ;
@@ -50,9 +47,7 @@ public Project() {
5047 // Needed for jpa
5148 }
5249
53- public Project (final String name , final String description , final Color color , final boolean isWork , final int index ,
54- final boolean isDefault ) {
55- super ();
50+ public Project (String name , String description , Color color , boolean isWork , int index , boolean isDefault ) {
5651 this .name = name ;
5752 this .description = description ;
5853 this .color = color ;
@@ -62,48 +57,47 @@ public Project(final String name, final String description, final Color color, f
6257 this .index = index ;
6358 }
6459
65- public Project (final String name , final String description , final Color color , final boolean isWork ,
66- final int index ) {
60+ public Project (String name , String description , Color color , boolean isWork , int index ) {
6761 this (name , description , color , isWork , index , false );
6862 }
6963
7064 public String getName () {
7165 return name ;
7266 }
7367
74- public void setName (final String name ) {
68+ public void setName (String name ) {
7569 this .name = name ;
7670 }
7771
7872 public Color getColor () {
7973 return color ;
8074 }
8175
82- public void setColor (final Color color ) {
76+ public void setColor (Color color ) {
8377 this .color = color ;
8478 }
8579
8680 public boolean isWork () {
8781 return isWork ;
8882 }
8983
90- public void setWork (final boolean isWork ) {
84+ public void setWork (boolean isWork ) {
9185 this .isWork = isWork ;
9286 }
9387
9488 public boolean isDefault () {
9589 return isDefault ;
9690 }
9791
98- public void setDefault (final boolean isDefault ) {
92+ public void setDefault (boolean isDefault ) {
9993 this .isDefault = isDefault ;
10094 }
10195
10296 public boolean isEnabled () {
10397 return isEnabled ;
10498 }
10599
106- public void setEnabled (final boolean isEnabled ) {
100+ public void setEnabled (boolean isEnabled ) {
107101 this .isEnabled = isEnabled ;
108102 }
109103
@@ -115,15 +109,15 @@ public int getIndex() {
115109 return index ;
116110 }
117111
118- public void setIndex (final int index ) {
112+ public void setIndex (int index ) {
119113 this .index = index ;
120114 }
121115
122116 public String getDescription () {
123117 return description ;
124118 }
125119
126- public void setDescription (final String description ) {
120+ public void setDescription (String description ) {
127121 this .description = description ;
128122 }
129123
@@ -132,5 +126,4 @@ public String toString() {
132126 return "Project [id=" + id + ", name=" + name + ", description=" + description + ", color=" + color + ", isWork="
133127 + isWork + ", isDefault=" + isDefault + ", isEnabled=" + isEnabled + ", index=" + index + "]" ;
134128 }
135-
136- }
129+ }
0 commit comments