rishabhdaim commented on code in PR #2399:
URL: https://github.com/apache/jackrabbit-oak/pull/2399#discussion_r2227535530


##########
oak-blob/src/main/java/org/apache/jackrabbit/oak/spi/blob/split/BlobIdSet.java:
##########
@@ -74,11 +75,11 @@ synchronized boolean contains(String blobId) throws 
IOException {
 
     synchronized void add(String blobId) throws IOException {
         addToStore(blobId);
-        bloomFilter.put(blobId);
+        bloomFilter.merge(BloomFilterUtils.hasher(blobId));
         cache.put(blobId, Boolean.TRUE);
     }
 
-    private boolean isPresentInStore(String blobId) throws 
FileNotFoundException, IOException {
+    private boolean isPresentInStore(String blobId) throws IOException {

Review Comment:
   `FileNotFoundException` was un-used, so removed it.



-- 
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

Reply via email to