@@ -28,8 +28,8 @@ public class Space implements IdentifiableApiResponseModel {
2828 private final int id ;
2929 private final int locationId ;
3030 private final boolean isDibsed ;
31- private final DateTime updatedAt ;
3231 private final DateTime createdAt ;
32+ private final DateTime updatedAt ;
3333
3434 // Mutable
3535 private String name ;
@@ -50,12 +50,12 @@ public class Space implements IdentifiableApiResponseModel {
5050 * Methods
5151 */
5252
53- public Space (int id , int locationId , boolean isDibsed , DateTime updatedAt , DateTime createdAt ) {
53+ public Space (int id , int locationId , boolean isDibsed , DateTime createdAt , DateTime updatedAt ) {
5454 this .id = id ;
5555 this .locationId = locationId ;
5656 this .isDibsed = isDibsed ;
57- this .updatedAt = updatedAt ;
5857 this .createdAt = createdAt ;
58+ this .updatedAt = updatedAt ;
5959 }
6060
6161 @ Override
@@ -167,13 +167,13 @@ public boolean equals(Object o) {
167167 return Objects .equal (id , space .id ) &&
168168 Objects .equal (locationId , space .locationId ) &&
169169 Objects .equal (isDibsed , space .isDibsed ) &&
170- Objects .equal (updatedAt , space .updatedAt ) &&
171- Objects .equal (createdAt , space .createdAt );
170+ Objects .equal (createdAt , space .createdAt ) &&
171+ Objects .equal (updatedAt , space .updatedAt );
172172 }
173173
174174 @ Override
175175 public int hashCode () {
176- return Objects .hashCode (id , locationId , isDibsed , updatedAt , createdAt );
176+ return Objects .hashCode (id , locationId , isDibsed , createdAt , updatedAt );
177177 }
178178
179179 @ Override
0 commit comments