myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r886183 - in /myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad: bean/ change/ component/ context/ convert/ event/ render/
Date Wed, 02 Dec 2009 15:50:17 GMT
Author: matzew
Date: Wed Dec  2 15:50:15 2009
New Revision: 886183

URL: http://svn.apache.org/viewvc?rev=886183&view=rev
Log:
TRINIDAD-1651 - all serializable classes should have serialversionuids

first batch; added (default) serialversionuids to those classes (from API)
that didn't had them...

Modified:
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueBindingValueExpression.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueExpressionValueBinding.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/AddComponentChange.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ComponentChange.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/StampState.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/Window.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/ColorFormat.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/AttributeChangeEvent.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/RowKeySetChangeEvent.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/WindowEvent.java
    myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/render/ClientRowKeyManager.java

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueBindingValueExpression.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueBindingValueExpression.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueBindingValueExpression.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueBindingValueExpression.java
Wed Dec  2 15:50:15 2009
@@ -217,8 +217,11 @@
     {
       super(binding);
     }
+    
+    private static final long serialVersionUID = 1L;
   }
 
+  private static final long serialVersionUID = 1L;
   private final ValueBinding _binding;
 }
 

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueExpressionValueBinding.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueExpressionValueBinding.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueExpressionValueBinding.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/bean/ValueExpressionValueBinding.java
Wed Dec  2 15:50:15 2009
@@ -201,7 +201,10 @@
     {
       super(ve);
     }
+
+    private static final long serialVersionUID = 1L;
   }
 
   private final ValueExpression _ve;
+  private static final long serialVersionUID = 1L;
 }

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/AddComponentChange.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/AddComponentChange.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/AddComponentChange.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/AddComponentChange.java
Wed Dec  2 15:50:15 2009
@@ -51,6 +51,7 @@
   }
 
   private final ChangeComponentProxy _proxy;
+  private static final long serialVersionUID = 1L;
   private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(
     AddComponentChange.class);
 }

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ComponentChange.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ComponentChange.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ComponentChange.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/change/ComponentChange.java
Wed Dec  2 15:50:15 2009
@@ -37,4 +37,6 @@
    * @param uiComponent the UIComponent to apply the change to
    */
   public abstract void changeComponent(UIComponent uiComponent);
-}
+
+  private static final long serialVersionUID = 1L;
+}
\ No newline at end of file

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/StampState.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/StampState.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/StampState.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/StampState.java
Wed Dec  2 15:50:15 2009
@@ -330,6 +330,8 @@
     abstract public void restoreRowState(UIComponent child);
 
     abstract public boolean isNull();
+    
+    private static final long serialVersionUID = 8634916495453219932L;
   }
 
   static private final class SDState extends RowState
@@ -393,7 +395,7 @@
     /**
      *
      */
-    private static final long serialVersionUID = -8605916495935317932L;
+    private static final long serialVersionUID = -8434916495453217932L;
 
     private Boolean _disclosed;
   }
@@ -424,7 +426,7 @@
 
     private Object _state = null;
 
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 8634916495453217934L;
   }
 
   static private class EVHState extends RowState
@@ -511,7 +513,7 @@
     private boolean _valid;
     private transient UIComponent _assertStamp = null;
 
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 8634916495432157932L;
   }
 
   private static final class DualKey implements Serializable
@@ -560,7 +562,7 @@
     private final Object _key1, _key2;
     private final int _hash;
 
-    private static final long serialVersionUID = 1L;
+    private static final long serialVersionUID = 8634916494563217932L;
   }
 
   private static final TrinidadLogger _LOG =
@@ -568,5 +570,5 @@
 
   private Map<DualKey, Object> _rows;
   private static final Object[] _EMPTY_ARRAY = new Object[0];
-  private static final long serialVersionUID = 1L;
+  private static final long serialVersionUID = 8634988494563217932L;
 }

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/component/TreeState.java
Wed Dec  2 15:50:15 2009
@@ -252,6 +252,8 @@
 
   private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(TreeState.class);
 
+  private static final long serialVersionUID = 1L;
+
   private Object[] _facets;
   private Object[] _children;
   private Object _state;

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/Window.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/Window.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/Window.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/context/Window.java
Wed Dec  2 15:50:15 2009
@@ -20,8 +20,6 @@
 
 import java.io.Serializable;
 
-import javax.faces.context.ExternalContext;
-
 /**
  * Represents a Window in the current user's Session.  Windows are created and vended
  * by the Session's WindowManager and the Window for the current request is
@@ -88,5 +86,6 @@
    * was created.
    */
   public abstract boolean isNew();
-}
 
+  private static final long serialVersionUID = 1L;
+}
\ No newline at end of file

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/ColorFormat.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/ColorFormat.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/ColorFormat.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/convert/ColorFormat.java
Wed Dec  2 15:50:15 2009
@@ -139,4 +139,6 @@
     FieldPosition pos);
   private static final TrinidadLogger _LOG = TrinidadLogger.createTrinidadLogger(
     ColorFormat.class);
+
+  private static final long serialVersionUID = 1L;
 }

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/AttributeChangeEvent.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/AttributeChangeEvent.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/AttributeChangeEvent.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/AttributeChangeEvent.java
Wed Dec  2 15:50:15 2009
@@ -104,6 +104,4 @@
   private final Object _oldValue;
   private final Object _newValue;
   private static final long serialVersionUID = 1L;
-}
-
-
+}
\ No newline at end of file

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/RowKeySetChangeEvent.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/RowKeySetChangeEvent.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/RowKeySetChangeEvent.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/RowKeySetChangeEvent.java
Wed Dec  2 15:50:15 2009
@@ -114,4 +114,5 @@
   private RowKeySet _oldRemoved;
   private RowKeySet _newAdded;
   private boolean _needsDiff;
+  private static final long serialVersionUID = 1L;
 }

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/WindowEvent.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/WindowEvent.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/WindowEvent.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/event/WindowEvent.java
Wed Dec  2 15:50:15 2009
@@ -60,4 +60,5 @@
   {
     return getSource().equals(e.getSource());
   }
-}
+  private static final long serialVersionUID = 1L;
+}
\ No newline at end of file

Modified: myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/render/ClientRowKeyManager.java
URL: http://svn.apache.org/viewvc/myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/render/ClientRowKeyManager.java?rev=886183&r1=886182&r2=886183&view=diff
==============================================================================
--- myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/render/ClientRowKeyManager.java
(original)
+++ myfaces/trinidad/trunk/trinidad-api/src/main/java/org/apache/myfaces/trinidad/render/ClientRowKeyManager.java
Wed Dec  2 15:50:15 2009
@@ -52,4 +52,6 @@
    * @return null, if the string key has expired, or never existed.
    */
   public abstract Object getRowKey(FacesContext context, UIComponent component, String clientRowKey);
+
+  private static final long serialVersionUID = 1L;
 }



Mime
View raw message