You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ol...@apache.org on 2015/07/06 15:18:00 UTC

svn commit: r1689393 - /sling/trunk/bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/RequestLocaleResolver.java

Author: olli
Date: Mon Jul  6 13:18:00 2015
New Revision: 1689393

URL: http://svn.apache.org/r1689393
Log:
SLING-4858 fix Javadoc in RequestLocaleResolver

Modified:
    sling/trunk/bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/RequestLocaleResolver.java

Modified: sling/trunk/bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/RequestLocaleResolver.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/RequestLocaleResolver.java?rev=1689393&r1=1689392&r2=1689393&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/RequestLocaleResolver.java (original)
+++ sling/trunk/bundles/extensions/i18n/src/main/java/org/apache/sling/i18n/RequestLocaleResolver.java Mon Jul  6 13:18:00 2015
@@ -24,29 +24,29 @@ import java.util.Locale;
 import javax.servlet.http.HttpServletRequest;
 
 /**
- * The <code>GlobalLocaleResolver</code> service interface may be implemented by a
+ * The <code>RequestLocaleResolver</code> service interface may be implemented by a
  * service registered under this name to allow the resolution of the request
  * <code>Locale</code> to apply.
  * <p>
  * This interface is intended to be implemented by providers knowing how to
  * resolve one or more <code>Locale</code>s applicable to handle the request.
  * <p>
- * Only a single <code>GlobalLocaleResolver</code> service is currently used.
+ * Only a single <code>RequestLocaleResolver</code> service is currently used.
  * @since 2.2
  */
 public interface RequestLocaleResolver {
 
     /**
-     * Return a non-<code>null</code> but possiby empty list of
+     * Return a non-<code>null</code> but possibly empty list of
      * <code>Locale</code> instances to consider for localization of the current
      * request. The list returned is assumed to be ordered by preference where
-     * the first entry is the prefered <code>Locale</code> and the last entry is
-     * the least prefered <code>Locale</code>.
+     * the first entry is the preferred <code>Locale</code> and the last entry is
+     * the least preferred <code>Locale</code>.
      * <p>
      * Returning an empty list is equivalent to returning a singleton list whose
      * single entry is the {@link ResourceBundleProvider#getDefaultLocale()}.
      *
-     * @param request The <code>SlingHttpServletRequest</code> providing hints
+     * @param request The <code>HttpServletRequest</code> providing hints
      *            and information for the <code>Locale</code> resolution.
      * @return The list of <code>Locale</code>s to use for internationalization
      *         of request processing