Modified Keyword.equals() method to take the new fileds into account

This commit is contained in:
Eugene Livis 2017-04-11 15:51:11 -04:00
parent a05b4f73c5
commit 3701ca74f9

View File

@ -193,7 +193,9 @@ class Keyword {
Keyword other = (Keyword) obj;
return (this.searchTerm.equals(other.getSearchTerm())
&& this.isLiteral == other.searchTermIsLiteral()
&& this.isWholeWord == other.searchTermIsWholeWord());
&& this.isWholeWord == other.searchTermIsWholeWord()
&& this.listName.equals(other.getListName())
&& this.originalTerm.equals(other.getOriginalTerm()));
}
@Override