stefan-egli commented on code in PR #1839:
URL: https://github.com/apache/jackrabbit-oak/pull/1839#discussion_r1827709649
##########
oak-store-spi/src/main/java/org/apache/jackrabbit/oak/json/JsonSerializer.java:
##########
@@ -300,11 +300,11 @@ private static class JsonFilter {
private static final Pattern EVERYTHING = Pattern.compile(".*");
- private final List<Pattern> nodeIncludes = newArrayList(EVERYTHING);
+ private final List<Pattern> nodeIncludes = new
ArrayList<>(Arrays.asList(EVERYTHING));
Review Comment:
and it can't just be `Arrays.asList(EVERYTHING)` ?
--
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]