rishabhdaim commented on code in PR #1317: URL: https://github.com/apache/jackrabbit-oak/pull/1317#discussion_r1504075464
########## oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDocumentStore.java: ########## @@ -2111,6 +2115,11 @@ public <T extends Document> T getIfCached(Collection<T> collection, String key) return doc; } + @Override + public boolean isCommitCleanupFeatureEnabled() { + return docStoreCommitCleanupFeature != null && docStoreCommitCleanupFeature.isEnabled(); Review Comment: I would this small logic to Utils class, making it easier for writing unit cases as well. -- 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: dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org