Skip to content

Commit

Permalink
NMS-15422: Fixed equals() method in Service class
Browse files Browse the repository at this point in the history
  • Loading branch information
christianpape committed Jun 13, 2023
1 parent 74f650c commit 3598c62
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,10 +160,10 @@ public boolean equals(final Object obj) {
if (obj instanceof Service) {
final Service that = (Service)obj;
return Objects.equals(this.m_name, that.m_name)
&& Objects.equals(that.m_interval, that.m_interval)
&& Objects.equals(that.m_userDefined, that.m_userDefined)
&& Objects.equals(that.m_status, that.m_status)
&& Objects.equals(that.m_parameters, that.m_parameters);
&& Objects.equals(this.m_interval, that.m_interval)
&& Objects.equals(this.m_userDefined, that.m_userDefined)
&& Objects.equals(this.m_status, that.m_status)
&& Objects.equals(this.m_parameters, that.m_parameters);
}
return false;
}
Expand Down

0 comments on commit 3598c62

Please sign in to comment.