You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/02/17 11:58:21 UTC

svn commit: r910912 - /myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java

Author: lofwyr
Date: Wed Feb 17 10:58:21 2010
New Revision: 910912

URL: http://svn.apache.org/viewvc?rev=910912&view=rev
Log:
code style

Modified:
    myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java

Modified: myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java?rev=910912&r1=910911&r2=910912&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java (original)
+++ myfaces/tobago/branches/tobago-1.0.x/core/src/main/java/org/apache/myfaces/tobago/component/UIViewRoot.java Wed Feb 17 10:58:21 2010
@@ -36,15 +36,12 @@
 import java.util.Locale;
 import java.util.Map;
 
-/*
- * User: weber
- * Date: Jun 13, 2005
- * Time: 5:19:31 PM
- */
 public class UIViewRoot extends javax.faces.component.UIViewRoot {
 
   private static final Log LOG = LogFactory.getLog(UIViewRoot.class);
+
   private static final String EVENT_LIST_KEY = UIViewRoot.class.getName() + ".EventList";
+  public static final int ANY_PHASE_ORDINAL = PhaseId.ANY_PHASE.getOrdinal();
 
   private ResourceManagerImpl.CacheKey rendererCacheKey;
 
@@ -52,9 +49,6 @@
 
   private int nextUniqueId;
 
-  public static final int ANY_PHASE_ORDINAL = PhaseId.ANY_PHASE.getOrdinal();
-
-
   /**
    * <p>Create a new {@link UIViewRoot} instance with default property
    * values.</p>
@@ -73,6 +67,7 @@
     updateRendererCachePrefix();
   }
 
+  @Override
   public void setLocale(final Locale locale) {
     super.setLocale(locale);
     updateRendererCachePrefix();
@@ -108,6 +103,7 @@
 //
   // TODO: remove if fixed in stable release!
 
+  @Override
   public void queueEvent(final FacesEvent event) {
     if (event == null) {
       throw new NullPointerException("event");
@@ -171,6 +167,7 @@
   }
 
 
+  @Override
   public void processDecodes(final FacesContext context) {
     if (context == null) {
       throw new NullPointerException("context");
@@ -182,6 +179,7 @@
     }
   }
 
+  @Override
   public void processValidators(final FacesContext context) {
     if (context == null) {
       throw new NullPointerException("context");
@@ -193,6 +191,7 @@
     }
   }
 
+  @Override
   public void processUpdates(final FacesContext context) {
     if (context == null) {
       throw new NullPointerException("context");
@@ -204,6 +203,7 @@
     }
   }
 
+  @Override
   public void processApplication(final FacesContext context) {
     if (context == null) {
       throw new NullPointerException("context");
@@ -224,6 +224,7 @@
     return events;
   }
 
+  @Override
   public Object saveState(FacesContext facesContext) {
     if (FacesVersion.supports12()) {
       return super.saveState(facesContext);
@@ -235,6 +236,7 @@
     }
   }
 
+  @Override
   public void restoreState(FacesContext facesContext, Object o) {
     if (FacesVersion.supports12()) {
       super.restoreState(facesContext, o);
@@ -245,6 +247,7 @@
     }
   }
 
+  @Override
   public String createUniqueId() {
     if (FacesVersion.supports12()) {
       return super.createUniqueId();
@@ -253,5 +256,4 @@
       return extCtx.encodeNamespace(UNIQUE_ID_PREFIX + nextUniqueId++);
     }
   }
-
 }