Skip to content

Commit f9ca9be

Browse files
committed
remove hardcoded hashcode
1 parent 304a3eb commit f9ca9be

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

plugins/storage/volume/nexenta/src/main/java/org/apache/cloudstack/storage/datastore/util/NexentaStorAppliance.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -248,17 +248,12 @@ boolean isLuExists(String luName) {
248248
return response!= null && response.getResult() > 0;
249249
}
250250

251-
@SuppressWarnings("unused")
251+
@SuppressWarnings({"unused", "EqualsHashCode", "EqualsAndHashCode", "java:S2160", "errorprone"})
252252
static final class LuParams {
253253
@Override
254254
public boolean equals(Object other) {
255255
return other instanceof LuParams;
256256
}
257-
258-
@Override
259-
public int hashCode() {
260-
return 1;
261-
}
262257
}
263258

264259
/**

0 commit comments

Comments
 (0)