reschke commented on code in PR #2038:
URL: https://github.com/apache/jackrabbit-oak/pull/2038#discussion_r1936721949
##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/Collection.java:
##########
@@ -99,8 +99,17 @@ public Document newDocument(DocumentStore store) {
}
};
+ public static final Collection<Document> BIN =
+ new Collection<Document>("_bin") {
+ @NotNull
+ @Override
+ public Document newDocument(DocumentStore store) {
+ return new BinDocument(store);
+ }
+ };
+
- private final String name;
+ private final String name;
Review Comment:
```suggestion
private final String name;
```
##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/Collection.java:
##########
@@ -99,8 +99,17 @@ public Document newDocument(DocumentStore store) {
}
};
+ public static final Collection<Document> BIN =
+ new Collection<Document>("_bin") {
+ @NotNull
+ @Override
+ public Document newDocument(DocumentStore store) {
+ return new BinDocument(store);
+ }
+ };
+
- private final String name;
+ private final String name;
Review Comment:
```suggestion
private final String name;
```
--
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]