stefan-egli commented on code in PR #1845:
URL: https://github.com/apache/jackrabbit-oak/pull/1845#discussion_r1830752153


##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentNodeStoreService.java:
##########
@@ -788,6 +768,19 @@ protected void unbindNodeStateCache(DocumentNodeStateCache 
nodeStateCache) {
         }
     }
 
+    /**
+     * Closes the given array of features.
+     * <p>
+     * This method iterates over the provided array of features and closes 
each one
+     * that is not null.
+     * </p>
+     *
+     * @param features an array of {@link Feature} objects to be closed.
+     */
+    private void closeFeatures(final Feature[] features) {

Review Comment:
   would using a vararg be an option? (would make the invocation call easier to 
write, less typing :) 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to