incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r652794 - /incubator/sling/trunk/sling/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java
Date Fri, 02 May 2008 07:16:44 GMT
Author: cziegeler
Date: Fri May  2 00:16:44 2008
New Revision: 652794

URL: http://svn.apache.org/viewvc?rev=652794&view=rev
Log:
Fix typo in node type.

Modified:
    incubator/sling/trunk/sling/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java

Modified: incubator/sling/trunk/sling/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java?rev=652794&r1=652793&r2=652794&view=diff
==============================================================================
--- incubator/sling/trunk/sling/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java
(original)
+++ incubator/sling/trunk/sling/i18n/src/main/java/org/apache/sling/i18n/impl/JcrResourceBundleProvider.java
Fri May  2 00:16:44 2008
@@ -46,7 +46,7 @@
  * <code>ResourceBundleProvider</code> interface creating
  * <code>ResourceBundle</code> instances from resources stored in the
  * repository.
- * 
+ *
  * @scr.component immediate="true" label="%provider.name"
  *                description="%provider.description"
  * @scr.service interface="org.apache.sling.i18n.ResourceBundleProvider"
@@ -113,7 +113,7 @@
     /**
      * Returns the <code>ResourceBundle</code> for the given
      * <code>locale</code>.
-     * 
+     *
      * @param locale The <code>Locale</code> for which to return the resource
      *            bundle. If this is <code>null</code> the configured
      *            {@link #getDefaultLocale() default locale} is assumed.
@@ -137,13 +137,13 @@
 
     /**
      * Called whenever something is changed inside of <code>jcr:language</code>
-     * or <code>sling:message</code> nodes. We just removed all cached
+     * or <code>sling:Message</code> nodes. We just removed all cached
      * resource bundles in this case to force reloading them.
      * <p>
      * This is much simpler than analyzing the events and trying to be clever
      * about which exact resource bundles to remove from the cache and at the
      * same time care for any resource bundle dependencies.
-     * 
+     *
      * @param events The actual JCR events are ignored by this implementation.
      */
     public void onEvent(EventIterator events) {
@@ -229,7 +229,7 @@
      * Internal implementation of the {@link #getResourceBundle(Locale)} method
      * employing the cache of resource bundles. Creates the bundle if not
      * already cached.
-     * 
+     *
      * @throws MissingResourceException If the resource bundles needs to be
      *             created and the <code>ResourceResolver</code> is not
      *             available to access the resources.
@@ -273,7 +273,7 @@
 
     /**
      * Creates the resource bundle for the give locale.
-     * 
+     *
      * @throws MissingResourceException If the <code>ResourceResolver</code>
      *             is not available to access the resources.
      */
@@ -331,7 +331,7 @@
      * the repository and registers with the observation manager if not already
      * done so. If unable to connect to the repository, <code>null</code> is
      * returned.
-     * 
+     *
      * @return The <code>ResourceResolver</code> or <code>null</code>
if
      *         unable to login to the repository. <code>null</code> is also
      *         returned if no <code>ResourceResolverFactory</code> or no
@@ -360,7 +360,7 @@
 
                     ObservationManager om = s.getWorkspace().getObservationManager();
                     om.addEventListener(this, 255, "/", true, null,
-                        new String[] { "mix:language", "sling:message" }, true);
+                        new String[] { "mix:language", "sling:Message" }, true);
 
                     resourceResolver = fac.getResourceResolver(s);
 



Mime
View raw message