ecolombo commented on code in PR #15:
URL: 
https://github.com/apache/sling-org-apache-sling-i18n/pull/15#discussion_r1716433002


##########
src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java:
##########
@@ -377,15 +360,12 @@ public void run() {
     void reloadBundle(final Key key) {
         log.info("Reloading resource bundle for {}", key);
         if (!this.preloadBundles) {
-            // remove bundle from cache
-            resourceBundleCache.remove(key);
-            // unregister bundle
-            unregisterResourceBundle(key);
+            resourceBundleRegistry.unregisterRB(key);

Review Comment:
   Ok for me. 



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