Skip to content

Commit da9ff7d

Browse files
marunjarjhoobergs
authored andcommitted
fix equality
1 parent fb0e6a6 commit da9ff7d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

library/src/main/java/com/alamkanak/weekview/WeekViewEvent.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,8 +272,7 @@ public boolean equals(Object o) {
272272

273273
WeekViewEvent that = (WeekViewEvent) o;
274274

275-
return mId == that.mId;
276-
275+
return mId.equals(that.mId);
277276
}
278277

279278
@Override

0 commit comments

Comments
 (0)