Skip to content

Commit 9070d70

Browse files
committed
Use Objects.equals(...) for equals checking cacheStats
1 parent 33a7136 commit 9070d70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/enrich/action/EnrichStatsAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ public boolean equals(Object o) {
124124
Response response = (Response) o;
125125
return executingPolicies.equals(response.executingPolicies) &&
126126
coordinatorStats.equals(response.coordinatorStats) &&
127-
cacheStats.equals(response.cacheStats);
127+
Objects.equals(cacheStats, response.cacheStats);
128128
}
129129

130130
@Override

0 commit comments

Comments
 (0)