chesnokoff commented on code in PR #11969: URL: https://github.com/apache/ignite/pull/11969#discussion_r2106789939
########## modules/compatibility/src/test/java/org/apache/ignite/compatibility/persistence/SnapshotCompatibilityTest.java: ########## @@ -450,12 +469,36 @@ public void checkCaches(Ignite ign, int expectedCacheSize) { } } + /** */ + @Override public boolean equals(Object o) { + if (this == o) + return true; + + if (!(o instanceof CacheGroupInfo)) + return false; + + CacheGroupInfo that = (CacheGroupInfo)o; + + return name.equals(that.name) && cacheNames.equals(that.cacheNames); Review Comment: Better to use Objects.equals -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org