mbaedke commented on code in PR #2378: URL: https://github.com/apache/jackrabbit-oak/pull/2378#discussion_r2194742794
########## oak-store-spi/src/main/java/org/apache/jackrabbit/oak/plugins/memory/AbstractBlob.java: ########## @@ -66,7 +66,7 @@ public static boolean equal(Blob a, Blob b) { //Check for identity first. If they are same then its //definitely same blob. If not we need to check further. - if (ai != null && bi != null && ai.equals(bi)){ + if (ai != null && ai.equals(bi)){ return true; } Review Comment: On that occasion, we could also simplify the length check to "if (a.length() != b.length())". -- 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: oak-dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org