myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1149767 - in /myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el: ./ unified/resolver/ unified/resolver/implicitobject/
Date Fri, 22 Jul 2011 23:59:37 GMT
Author: lu4242
Date: Fri Jul 22 23:59:31 2011
New Revision: 1149767

URL: http://svn.apache.org/viewvc?rev=1149767&view=rev
Log:
MYFACES-1618 Redundant method call to String.intern

Modified:
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/FlashELResolver.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/CompositeComponentELResolver.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationScopeImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ComponentImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CompositeComponentImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CookieImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/FacesContextImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderValuesImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ImplicitObjectResolver.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/InitParamImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamValuesImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestScopeImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ResourceImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionScopeImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewImplicitObject.java
    myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewScopeImplicitObject.java

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/FlashELResolver.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/FlashELResolver.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/FlashELResolver.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/FlashELResolver.java
Fri Jul 22 23:59:31 2011
@@ -39,11 +39,11 @@ import java.util.Iterator;
 public class FlashELResolver extends ELResolver
 {
 
-    private final static String FLASH = "flash".intern();
+    private final static String FLASH = "flash";
 
-    private final static String KEEP = "keep".intern();
+    private final static String KEEP = "keep";
 
-    private final static String NOW = "now".intern();
+    private final static String NOW = "now";
 
     public FlashELResolver()
     {
@@ -61,7 +61,7 @@ public class FlashELResolver extends ELR
         if (!(property instanceof String))
             return;
 
-        String strProperty = castAndIntern(property);
+        String strProperty = property.toString();
 
         if (FLASH.equals(strProperty))
         {
@@ -91,7 +91,7 @@ public class FlashELResolver extends ELR
         if (!(property instanceof String))
             return false;
 
-        String strProperty = castAndIntern(property);
+        String strProperty = property.toString();
 
         if (FLASH.equals(strProperty))
         {
@@ -115,7 +115,7 @@ public class FlashELResolver extends ELR
         if (!(property instanceof String))
             return null;
 
-        String strProperty = castAndIntern(property);
+        String strProperty = property.toString();
 
         FacesContext facesContext = facesContext(elContext);
         ExternalContext externalContext = facesContext.getExternalContext();
@@ -237,7 +237,7 @@ public class FlashELResolver extends ELR
         if (!(property instanceof String))
             return null;
 
-        String strProperty = castAndIntern(property);
+        String strProperty = property.toString();
 
         if (FLASH.equals(strProperty))
         {
@@ -308,10 +308,4 @@ public class FlashELResolver extends ELR
         return null;
     }
 
-    protected String castAndIntern(Object o)
-    {
-        String s = (String) o;
-        return s.intern();
-    }
-
 }

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/CompositeComponentELResolver.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/CompositeComponentELResolver.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/CompositeComponentELResolver.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/CompositeComponentELResolver.java
Fri Jul 22 23:59:31 2011
@@ -41,9 +41,9 @@ import javax.faces.el.CompositeComponent
 
 public final class CompositeComponentELResolver extends ELResolver
 {
-    private static final String ATTRIBUTES_MAP = "attrs".intern();
+    private static final String ATTRIBUTES_MAP = "attrs";
     
-    private static final String PARENT_COMPOSITE_COMPONENT = "parent".intern();
+    private static final String PARENT_COMPOSITE_COMPONENT = "parent";
     
     private static final String COMPOSITE_COMPONENT_ATTRIBUTES_MAPS = 
         "org.apache.myfaces.COMPOSITE_COMPONENT_ATTRIBUTES_MAPS";

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -29,7 +29,7 @@ import javax.el.ELContext;
 public class ApplicationImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "application".intern();
+    private static final String NAME = "application";
 
     /** Creates a new instance of ApplicationImplicitObject */
     public ApplicationImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationScopeImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationScopeImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationScopeImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ApplicationScopeImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import java.util.Map;
 public class ApplicationScopeImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "applicationScope".intern();
+    private static final String NAME = "applicationScope";
 
     /** Creates a new instance of ApplicationScopeImplicitObject */
     public ApplicationScopeImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ComponentImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ComponentImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ComponentImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ComponentImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -32,7 +32,7 @@ import javax.faces.component.UIComponent
 public class ComponentImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "component".intern();
+    private static final String NAME = "component";
 
     /** Creates a new instance of ComponentImplicitObject */
     public ComponentImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CompositeComponentImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CompositeComponentImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CompositeComponentImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CompositeComponentImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -35,7 +35,7 @@ import org.apache.myfaces.view.facelets.
 public class CompositeComponentImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "cc".intern();
+    private static final String NAME = "cc";
 
     /** Creates a new instance of CompositeComponentImplicitObjectImplicitObject */
     public CompositeComponentImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CookieImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CookieImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CookieImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/CookieImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import javax.el.ELContext;
 public class CookieImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "cookie".intern();
+    private static final String NAME = "cookie";
 
     /** Creates a new instance of CookieImplicitObject */
     public CookieImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/FacesContextImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/FacesContextImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/FacesContextImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/FacesContextImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import javax.faces.context.FacesContext;
 public class FacesContextImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "facesContext".intern();
+    private static final String NAME = "facesContext";
 
     /** Creates a new instance of FacesContextImplicitObject */
     public FacesContextImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import javax.el.ELContext;
 public class HeaderImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "header".intern();
+    private static final String NAME = "header";
 
     /** Creates a new instance of HeaderImplicitObject */
     public HeaderImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderValuesImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderValuesImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderValuesImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/HeaderValuesImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import javax.el.ELContext;
 public class HeaderValuesImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "headerValues".intern();
+    private static final String NAME = "headerValues";
 
     /** Creates a new instance of HeaderValuesImplicitObject */
     public HeaderValuesImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ImplicitObjectResolver.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ImplicitObjectResolver.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ImplicitObjectResolver.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ImplicitObjectResolver.java
Fri Jul 22 23:59:31 2011
@@ -118,7 +118,7 @@ public class ImplicitObjectResolver exte
         if (!(property instanceof String))
             return;
 
-        String strProperty = castAndIntern(property);
+        String strProperty = property.toString();
 
         if (implicitObjects.containsKey(strProperty))
         {
@@ -138,7 +138,7 @@ public class ImplicitObjectResolver exte
         if (!(property instanceof String))
             return false;
 
-        String strProperty = castAndIntern(property);
+        String strProperty = property.toString();
 
         if (implicitObjects.containsKey(strProperty))
         {
@@ -161,7 +161,7 @@ public class ImplicitObjectResolver exte
         if (!(property instanceof String))
             return null;
 
-        String strProperty = castAndIntern(property);
+        String strProperty = property.toString();
 
         ImplicitObject obj = implicitObjects.get(strProperty);
         if (obj != null)
@@ -185,7 +185,7 @@ public class ImplicitObjectResolver exte
         if (!(property instanceof String))
             return null;
 
-        String strProperty = castAndIntern(property);
+        String strProperty = property.toString();
 
         if (implicitObjects.containsKey(strProperty))
         {
@@ -220,10 +220,4 @@ public class ImplicitObjectResolver exte
         return String.class;
     }
 
-    protected String castAndIntern(Object o)
-    {
-        String s = (String)o;
-        return s.intern();
-    }
-
 }

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/InitParamImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/InitParamImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/InitParamImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/InitParamImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import javax.el.ELContext;
 public class InitParamImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "initParam".intern();
+    private static final String NAME = "initParam";
 
     /** Creates a new instance of InitParamImplicitObject */
     public InitParamImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import javax.el.ELContext;
 public class ParamImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "param".intern();
+    private static final String NAME = "param";
 
     /** Creates a new instance of InitParamImplicitObject */
     public ParamImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamValuesImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamValuesImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamValuesImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ParamValuesImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import javax.el.ELContext;
 public class ParamValuesImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "paramValues".intern();
+    private static final String NAME = "paramValues";
 
     /** Creates a new instance of ParamValuesImplicitObject */
     public ParamValuesImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -29,7 +29,7 @@ import javax.el.ELContext;
 public class RequestImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "request".intern();
+    private static final String NAME = "request";
 
     /** Creates a new instance of ParamValueRequestImplicitObject */
     public RequestImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestScopeImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestScopeImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestScopeImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/RequestScopeImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import java.util.Map;
 public class RequestScopeImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "requestScope".intern();
+    private static final String NAME = "requestScope";
 
     /** Creates a new instance of RequestScopeImplicitObject */
     public RequestScopeImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ResourceImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ResourceImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ResourceImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ResourceImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -29,7 +29,7 @@ import javax.el.ELContext;
 public class ResourceImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "resource".intern();
+    private static final String NAME = "resource";
 
     /** Creates a new instance of ApplicationImplicitObject */
     public ResourceImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -29,7 +29,7 @@ import javax.el.ELContext;
 public class SessionImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "session".intern();
+    private static final String NAME = "session";
 
     /** Creates a new instance of SessionImplicitObject */
     public SessionImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionScopeImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionScopeImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionScopeImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/SessionScopeImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import java.util.Map;
 public class SessionScopeImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "sessionScope".intern();
+    private static final String NAME = "sessionScope";
 
     /** Creates a new instance of SessionScopeImplicitObject */
     public SessionScopeImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import javax.faces.component.UIViewRoot;
 public class ViewImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "view".intern();
+    private static final String NAME = "view";
 
     /** Creates a new instance of ViewImplicitObject */
     public ViewImplicitObject()

Modified: myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewScopeImplicitObject.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewScopeImplicitObject.java?rev=1149767&r1=1149766&r2=1149767&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewScopeImplicitObject.java
(original)
+++ myfaces/core/branches/2.0.x/impl/src/main/java/org/apache/myfaces/el/unified/resolver/implicitobject/ViewScopeImplicitObject.java
Fri Jul 22 23:59:31 2011
@@ -30,7 +30,7 @@ import java.util.Map;
 public class ViewScopeImplicitObject extends ImplicitObject
 {
 
-    private static final String NAME = "viewScope".intern();
+    private static final String NAME = "viewScope";
 
     /** Creates a new instance of ViewScopeImplicitObject */
     public ViewScopeImplicitObject()



Mime
View raw message