Skip to content

Commit

Permalink
Remove class comparasion according to review comment
Browse files Browse the repository at this point in the history
Signed-off-by: AndreasV <andreas.viborg@gmail.com>
  • Loading branch information
aviborg committed Sep 24, 2023
1 parent 2def0ce commit 186fb97
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,6 @@ public boolean equals(Object obj) {
if (!(obj instanceof TellstickLocalDeviceDTO other)) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
return deviceId == other.deviceId;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,6 @@ public boolean equals(Object obj) {
if (!(obj instanceof TellstickLocalSensorDTO other)) {
return false;
}
if (getClass() != obj.getClass()) {
return false;
}
return deviceId == other.deviceId;
}

Expand Down

0 comments on commit 186fb97

Please sign in to comment.