Skip to content

Commit

Permalink
0006203: Added hashCode() method to TriggerHistory to fix selection o…
Browse files Browse the repository at this point in the history
…n Manage Installed Triggers Screen
  • Loading branch information
evan-miller-jumpmind committed Jan 25, 2024
1 parent 2051fea commit fa7d10e
Showing 1 changed file with 8 additions and 0 deletions.
Expand Up @@ -344,6 +344,14 @@ protected String[] parseColumnNames(String argColumnNames) {
}
}

@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + triggerHistoryId;
return result;
}

@Override
public boolean equals(Object obj) {
return obj != null && obj instanceof TriggerHistory && ((TriggerHistory) obj).triggerHistoryId == triggerHistoryId;
Expand Down

0 comments on commit fa7d10e

Please sign in to comment.