Use correct equality in CacheTests#testReplaceRecomputesSize.Value
This commit is contained in:
parent
bc0a840a9c
commit
14a635fe4b
|
@ -413,8 +413,7 @@ public class CacheTests extends ESTestCase {
|
|||
|
||||
Value that = (Value) o;
|
||||
|
||||
return value == that.value;
|
||||
|
||||
return value.equals(that.value);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue