kwin commented on a change in pull request #7:
URL: 
https://github.com/apache/sling-org-apache-sling-i18n/pull/7#discussion_r739527347



##########
File path: 
src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java
##########
@@ -167,6 +171,9 @@
 
     private BundleTracker<Set<LocatorPaths>> locatorPathsTracker;
     private List<LocatorPaths> locatorPaths = new CopyOnWriteArrayList<>();
+    
+    // Ignore events in these paths

Review comment:
       There is no need to copy the values around. Just access directly from 
the config object.

##########
File path: 
src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java
##########
@@ -111,6 +111,10 @@
                 description = "In case of dictionary change events the cached 
"+
                         "resource bundle becomes invalid after the given delay 
(in ms). ")
         long invalidation_delay() default 5000;
+        
+        @AttributeDefinition(name="Excluded paths",
+                description="Do not check these paths for new ResourceBundles")

Review comment:
       The startsWith semantics should be mentioned




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