myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1410260 - /myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/application/StateManagerImpl.java
Date Fri, 16 Nov 2012 09:04:36 GMT
Author: struberg
Date: Fri Nov 16 09:04:36 2012
New Revision: 1410260

URL: http://svn.apache.org/viewvc?rev=1410260&view=rev
Log:
remove unused local variable

Modified:
    myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/application/StateManagerImpl.java

Modified: myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/application/StateManagerImpl.java
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/application/StateManagerImpl.java?rev=1410260&r1=1410259&r2=1410260&view=diff
==============================================================================
--- myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/application/StateManagerImpl.java
(original)
+++ myfaces/core/branches/2.2.x/impl/src/main/java/org/apache/myfaces/application/StateManagerImpl.java
Fri Nov 16 09:04:36 2012
@@ -29,7 +29,6 @@ import javax.faces.application.StateMana
 import javax.faces.component.NamingContainer;
 import javax.faces.component.UIComponent;
 import javax.faces.component.UIViewRoot;
-import javax.faces.context.ExternalContext;
 import javax.faces.context.FacesContext;
 import javax.faces.render.RenderKit;
 import javax.faces.render.RenderKitFactory;
@@ -221,11 +220,8 @@ public class StateManagerImpl extends St
                 log.finest("Processing saveSerializedView - Checked for duplicate Ids");
             }
     
-            ExternalContext externalContext = facesContext.getExternalContext();
-    
             // SerializedView already created before within this request?
-            serializedView = facesContext.getAttributes()
-                                                                .get(SERIALIZED_VIEW_REQUEST_ATTR);
+            serializedView = facesContext.getAttributes().get(SERIALIZED_VIEW_REQUEST_ATTR);
             if (serializedView == null)
             {
                 if (log.isLoggable(Level.FINEST))



Mime
View raw message