You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2008/03/18 21:18:24 UTC

svn commit: r638550 - /incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/NullResourceBundle.java

Author: fmeschbe
Date: Tue Mar 18 13:18:16 2008
New Revision: 638550

URL: http://svn.apache.org/viewvc?rev=638550&view=rev
Log:
SLING-335 Minimal change to the resource bundle such that getString returns
the key as the result prevent MissingResourceException

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

Modified: incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/NullResourceBundle.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/NullResourceBundle.java?rev=638550&r1=638549&r2=638550&view=diff
==============================================================================
--- incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/NullResourceBundle.java (original)
+++ incubator/sling/trunk/sling/core/src/main/java/org/apache/sling/core/impl/helper/NullResourceBundle.java Tue Mar 18 13:18:16 2008
@@ -43,7 +43,7 @@
 
     @Override
     protected Object handleGetObject(String key) {
-        return null;
+        return key;
     }
 
 }