incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r644960 - /incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java
Date Fri, 04 Apr 2008 22:24:42 GMT
Author: fmeschbe
Date: Fri Apr  4 15:24:29 2008
New Revision: 644960

URL: http://svn.apache.org/viewvc?rev=644960&view=rev
Log:
SLING-363 Default implementation for new getResourceBundle method returns NullResourceBundle

Modified:
    incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java

Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java?rev=644960&r1=644959&r2=644960&view=diff
==============================================================================
--- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java
(original)
+++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/SlingHttpServletRequestImpl.java
Fri Apr  4 15:24:29 2008
@@ -193,6 +193,13 @@
      * @see org.apache.sling.api.SlingHttpServletRequest#getResourceBundle(java.util.Locale)
      */
     public ResourceBundle getResourceBundle(Locale locale) {
+        return getResourceBundle(null, locale);
+    }
+    
+    /**
+     * @see org.apache.sling.api.SlingHttpServletRequest#getResourceBundle(String, Locale)
+     */
+    public ResourceBundle getResourceBundle(String baseName, Locale locale) {
         if (locale == null) {
             locale = getLocale();
         }



Mime
View raw message