mirror of https://github.com/apache/cloudstack.git
remove hardcoded hashcode
This commit is contained in:
parent
304a3eb4f6
commit
f9ca9bef5f
|
|
@ -248,17 +248,12 @@ public class NexentaStorAppliance {
|
|||
return response!= null && response.getResult() > 0;
|
||||
}
|
||||
|
||||
@SuppressWarnings("unused")
|
||||
@SuppressWarnings({"unused", "EqualsHashCode", "EqualsAndHashCode", "java:S2160", "errorprone"})
|
||||
static final class LuParams {
|
||||
@Override
|
||||
public boolean equals(Object other) {
|
||||
return other instanceof LuParams;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue