You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2010/01/13 21:30:16 UTC

svn commit: r898929 - /myfaces/tobago/tags/tobago-1.0.24/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java

Author: bommel
Date: Wed Jan 13 20:30:16 2010
New Revision: 898929

URL: http://svn.apache.org/viewvc?rev=898929&view=rev
Log:
revert TOBAGO-811 for 1.0.24

Modified:
    myfaces/tobago/tags/tobago-1.0.24/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java

Modified: myfaces/tobago/tags/tobago-1.0.24/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/tags/tobago-1.0.24/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java?rev=898929&r1=898928&r2=898929&view=diff
==============================================================================
--- myfaces/tobago/tags/tobago-1.0.24/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java (original)
+++ myfaces/tobago/tags/tobago-1.0.24/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java Wed Jan 13 20:30:16 2010
@@ -21,10 +21,10 @@
 import org.apache.myfaces.tobago.context.ResourceManagerImpl;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
-import org.apache.myfaces.tobago.util.FacesVersion;
+//import org.apache.myfaces.tobago.util.FacesVersion;
 
 import javax.faces.component.UIComponent;
-import javax.faces.context.ExternalContext;
+//import javax.faces.context.ExternalContext;
 import javax.faces.context.FacesContext;
 import javax.faces.event.AbortProcessingException;
 import javax.faces.event.FacesEvent;
@@ -50,7 +50,7 @@
 
   private ClientProperties clientProperties;
 
-  private int nextUniqueId;
+  //private int nextUniqueId;
 
   public static final int ANY_PHASE_ORDINAL = PhaseId.ANY_PHASE.getOrdinal();
 
@@ -224,6 +224,8 @@
     return events;
   }
 
+  /*
+
   public Object saveState(FacesContext facesContext) {
     if (FacesVersion.supports12()) {
       return super.saveState(facesContext);
@@ -250,6 +252,6 @@
       ExternalContext extCtx = FacesContext.getCurrentInstance().getExternalContext();
       return extCtx.encodeNamespace(UNIQUE_ID_PREFIX + nextUniqueId++);
     }
-  }
+  } */
 
 }