mbaedke commented on code in PR #1839:
URL: https://github.com/apache/jackrabbit-oak/pull/1839#discussion_r1827673787


##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/mongo/MongoDocumentStore.java:
##########
@@ -778,7 +778,7 @@ private <T extends Document> List<T> 
queryWithRetry(Collection<T> collection,
             }
         }
         if (ex != null) {
-            throw handleException(ex, collection, Lists.newArrayList(fromKey, 
toKey));
+            throw handleException(ex, collection, List.of(fromKey, toKey));

Review Comment:
   In this particular case, but there might be other callers in the future.



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