reschke commented on code in PR #2328:
URL: https://github.com/apache/jackrabbit-oak/pull/2328#discussion_r2144704530
##########
oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/name/ReadOnlyNamespaceRegistry.java:
##########
@@ -128,7 +128,11 @@ public String getPrefix(String uri) throws
NamespaceException {
}
public boolean checkConsistency(Root root) throws IllegalStateException {
- return createNamespaceRegistryModel(root).isConsistent();
+ NamespaceRegistryModel model = createNamespaceRegistryModel(root);
+ if (model == null) {
+ LOG.warn("Consistency check skipped, because there is no namespace
registry.");
Review Comment:
```suggestion
LOG.warn("Consistency check skipped because there is no
namespace registry.");
```
--
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]