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 278c0ac commit 150f22fCopy full SHA for 150f22f
src/main/java/com/switcherapi/client/model/Entry.java
@@ -62,8 +62,7 @@ public int hashCode() {
62
63
@Override
64
public boolean equals(Object obj) {
65
- if (obj instanceof Entry) {
66
- Entry entry = (Entry) obj;
+ if (obj instanceof Entry entry) {
67
if (!this.strategy.equals(entry.getStrategy())) {
68
return false;
69
}
0 commit comments