mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Use equals instead of operator
This commit is contained in:
@@ -33,8 +33,8 @@ public class EditHabitCommand extends Command
|
|||||||
this.modified = new Habit(modified);
|
this.modified = new Habit(modified);
|
||||||
this.original = new Habit(original);
|
this.original = new Habit(original);
|
||||||
|
|
||||||
hasIntervalChanged = (this.original.freqDen != this.modified.freqDen ||
|
hasIntervalChanged = (!this.original.freqDen.equals(this.modified.freqDen) ||
|
||||||
this.original.freqNum != this.modified.freqNum);
|
!this.original.freqNum.equals(this.modified.freqNum));
|
||||||
}
|
}
|
||||||
|
|
||||||
public void execute()
|
public void execute()
|
||||||
|
|||||||
Reference in New Issue
Block a user