commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ebo...@apache.org
Subject svn commit: r652884 - in /commons/proper/jxpath/trunk: ./ src/java/org/apache/commons/jxpath/ri/model/ src/java/org/apache/commons/jxpath/ri/model/beans/ src/java/org/apache/commons/jxpath/ri/model/container/ src/java/org/apache/commons/jxpath/ri/model...
Date Fri, 02 May 2008 20:02:01 GMT
Author: ebourg
Date: Fri May  2 13:02:00 2008
New Revision: 652884

URL: http://svn.apache.org/viewvc?rev=652884&view=rev
Log:
Added the serialVersionUID field to the serializable classes
Enabled Findbugs in the site reports

Modified:
    commons/proper/jxpath/trunk/pom.xml
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/VariablePointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/CollectionPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/LangAttributePointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullElementPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPropertyPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/DOMAttributePointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/NamespacePointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributePointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNamespacePointer.java
    commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/BasicTypeConverter.java

Modified: commons/proper/jxpath/trunk/pom.xml
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/pom.xml?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/pom.xml (original)
+++ commons/proper/jxpath/trunk/pom.xml Fri May  2 13:02:00 2008
@@ -204,6 +204,15 @@
         </configuration>
       </plugin>
       <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>findbugs-maven-plugin</artifactId>
+        <version>1.2</version>
+        <configuration>
+          <!--<excludeFilterFile>conf/findbugs-exclude-filter.xml</excludeFilterFile>-->
+          <xmlOutput>true</xmlOutput>
+        </configuration>
+      </plugin>
+      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>
         <configuration>

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/VariablePointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/VariablePointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/VariablePointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/VariablePointer.java
Fri May  2 13:02:00 2008
@@ -40,6 +40,8 @@
     private NodePointer valuePointer;
     private boolean actual;
 
+    private static final long serialVersionUID = -454731297397189293L;
+
     /**
      * Create a new VariablePointer.
      * @param variables Variables instance

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPointer.java
Fri May  2 13:02:00 2008
@@ -37,6 +37,8 @@
     private Object bean;
     private JXPathBeanInfo beanInfo;
 
+    private static final long serialVersionUID = -8227317938284982440L;
+
     /**
      * Create a new BeanPointer.
      * @param name is the name given to the first node

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/BeanPropertyPointer.java
Fri May  2 13:02:00 2008
@@ -41,6 +41,8 @@
     private Object baseValue = UNINITIALIZED;
     private Object value = UNINITIALIZED;
 
+    private static final long serialVersionUID = -6008991447676468786L;
+
     /**
      * Create a new BeanPropertyPointer.
      * @param parent parent pointer

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/CollectionPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/CollectionPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/CollectionPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/CollectionPointer.java
Fri May  2 13:02:00 2008
@@ -39,6 +39,8 @@
     private Object collection;
     private NodePointer valuePointer;
 
+    private static final long serialVersionUID = 8620254915563256588L;
+
     /**
      * Create a new CollectionPointer.
      * @param collection value

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/LangAttributePointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/LangAttributePointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/LangAttributePointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/LangAttributePointer.java
Fri May  2 13:02:00 2008
@@ -28,6 +28,9 @@
  * @version $Revision$ $Date$
  */
 public class LangAttributePointer extends NodePointer {
+
+    private static final long serialVersionUID = -8665319197100034134L;
+
     /**
      * Create a new LangAttributePointer.
      * @param parent parent pointer.

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullElementPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullElementPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullElementPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullElementPointer.java
Fri May  2 13:02:00 2008
@@ -33,6 +33,8 @@
  */
 public class NullElementPointer extends CollectionPointer {
 
+    private static final long serialVersionUID = 8714236818791036721L;
+
     /**
      * Create a new NullElementPointer.
      * @param parent parent pointer

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPointer.java
Fri May  2 13:02:00 2008
@@ -30,6 +30,8 @@
 public class NullPointer extends PropertyOwnerPointer {
     private QName name;
     private String id;
+    
+    private static final long serialVersionUID = 2193425983220679887L;
 
     /**
      * Create a new NullPointer.

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPropertyPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPropertyPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPropertyPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/beans/NullPropertyPointer.java
Fri May  2 13:02:00 2008
@@ -32,6 +32,8 @@
     private String propertyName = "*";
     private boolean byNameAttribute = false;
 
+    private static final long serialVersionUID = 5296593071854982754L;
+
     /**
      * Create a new NullPropertyPointer.
      * @param parent pointer

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/container/ContainerPointer.java
Fri May  2 13:02:00 2008
@@ -37,6 +37,8 @@
     private Container container;
     private NodePointer valuePointer;
 
+    private static final long serialVersionUID = 6140752946621686118L;
+
     /**
      * Create a new ContainerPointer.
      * @param container Container object

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/DOMAttributePointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/DOMAttributePointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/DOMAttributePointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/DOMAttributePointer.java
Fri May  2 13:02:00 2008
@@ -33,6 +33,8 @@
 public class DOMAttributePointer extends NodePointer {
     private Attr attr;
 
+    private static final long serialVersionUID = 1115085175427555951L;
+
     /**
      * Create a new DOMAttributePointer.
      * @param parent pointer

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/NamespacePointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/NamespacePointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/NamespacePointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dom/NamespacePointer.java
Fri May  2 13:02:00 2008
@@ -32,6 +32,8 @@
     private String prefix;
     private String namespaceURI;
 
+    private static final long serialVersionUID = -7622456151550131709L;
+
     /**
      * Create a new NamespacePointer.
      * @param parent parent pointer

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPointer.java
Fri May  2 13:02:00 2008
@@ -35,6 +35,8 @@
     private QName name;
     private DynaBean dynaBean;
 
+    private static final long serialVersionUID = -9135052498044877965L;
+
     /**
      * Create a new DynaBeanPointer.
      * @param name is the name given to the first node

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynabeans/DynaBeanPropertyPointer.java
Fri May  2 13:02:00 2008
@@ -38,6 +38,8 @@
     private String name;
     private String[] names;
 
+    private static final long serialVersionUID = 2094421509141267239L;
+
     /**
      * Create a new DynaBeanPropertyPointer.
      * @param parent pointer

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/dynamic/DynamicPointer.java
Fri May  2 13:02:00 2008
@@ -40,6 +40,8 @@
     private Object bean;
     private DynamicPropertyHandler handler;
 
+    private static final long serialVersionUID = -1842347025295904256L;
+
     /**
      * Create a new DynamicPointer.
      * @param name property name

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributePointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributePointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributePointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMAttributePointer.java
Fri May  2 13:02:00 2008
@@ -30,6 +30,8 @@
 public class JDOMAttributePointer extends NodePointer {
     private Attribute attr;
 
+    private static final long serialVersionUID = 8896050354479644028L;
+
     /**
      * Create a JDOMAttributePointer.
      * @param parent NodePointer parent

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNamespacePointer.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNamespacePointer.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNamespacePointer.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/ri/model/jdom/JDOMNamespacePointer.java
Fri May  2 13:02:00 2008
@@ -29,6 +29,8 @@
     private String prefix;
     private String namespaceURI;
 
+    private static final long serialVersionUID = 7935311686545862379L;
+
     /**
      * Create a new JDOMNamespacePointer.
      * @param parent parent pointer

Modified: commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/BasicTypeConverter.java
URL: http://svn.apache.org/viewvc/commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/BasicTypeConverter.java?rev=652884&r1=652883&r2=652884&view=diff
==============================================================================
--- commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/BasicTypeConverter.java
(original)
+++ commons/proper/jxpath/trunk/src/java/org/apache/commons/jxpath/util/BasicTypeConverter.java
Fri May  2 13:02:00 2008
@@ -510,6 +510,8 @@
     static final class ValuePointer implements Pointer {
         private Object bean;
 
+        private static final long serialVersionUID = -4817239482392206188L;
+
         /**
          * Create a new ValuePointer.
          * @param object value



Mime
View raw message