mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
Code fixes
This commit is contained in:
@@ -30,6 +30,7 @@ enum Objects {
|
||||
return Arrays.hashCode(values);
|
||||
}
|
||||
|
||||
// use the same API as Java 8's Objects.equals
|
||||
static boolean equals(@Nullable Object a, @Nullable Object b) {
|
||||
return a != null ? a.equals(b) : b == null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user