myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lu4...@apache.org
Subject svn commit: r1523365 - /myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultFaceletContext.java
Date Sun, 15 Sep 2013 00:11:31 GMT
Author: lu4242
Date: Sun Sep 15 00:11:31 2013
New Revision: 1523365

URL: http://svn.apache.org/r1523365
Log:
MYFACES-3745 No need to set FACELET_CONTEXT_KEY in DefaultFaceletContext constructor 

Modified:
    myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultFaceletContext.java

Modified: myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultFaceletContext.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultFaceletContext.java?rev=1523365&r1=1523364&r2=1523365&view=diff
==============================================================================
--- myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultFaceletContext.java
(original)
+++ myfaces/core/branches/2.1.x/impl/src/main/java/org/apache/myfaces/view/facelets/impl/DefaultFaceletContext.java
Sun Sep 15 00:11:31 2013
@@ -151,10 +151,6 @@ final class DefaultFaceletContext extend
         _elExpressionCacheMode = ctx._elExpressionCacheMode;
         _isCacheELExpressions = ctx._isCacheELExpressions;
 
-        //Update FACELET_CONTEXT_KEY on FacesContext attribute map, to 
-        //reflect the current facelet context instance
-        ctx.getFacesContext().getAttributes().put(
-                FaceletContext.FACELET_CONTEXT_KEY, this);
     }
 
     public DefaultFaceletContext(FacesContext faces, AbstractFacelet facelet, FaceletCompositionContext
mctx)



Mime
View raw message