We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3398a54 commit 8409215Copy full SHA for 8409215
1 file changed
extractor/src/main/java/org/schabi/newpipe/extractor/search/filter/FilterItem.java
@@ -56,4 +56,14 @@ public DividerItem(final String name) {
56
super(FilterContainer.ITEM_IDENTIFIER_UNKNOWN, name);
57
}
58
59
+
60
+ @Override
61
+ public boolean equals(final Object obj) {
62
+ return (obj instanceof FilterItem) && ((FilterItem) obj).identifier == this.identifier;
63
+ }
64
65
66
+ public int hashCode() {
67
+ return identifier;
68
69
0 commit comments