ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r592841 - in /ant/core/trunk/src/main/org/apache/tools/ant: ./ taskdefs/optional/ taskdefs/optional/junit/ taskdefs/optional/testing/ util/
Date Wed, 07 Nov 2007 18:23:09 GMT
Author: jhm
Date: Wed Nov  7 10:23:08 2007
New Revision: 592841

URL: http://svn.apache.org/viewvc?rev=592841&view=rev
Log:
fix some "serialVersionUID" warnings

Modified:
    ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java
    ant/core/trunk/src/main/org/apache/tools/ant/BuildException.java
    ant/core/trunk/src/main/org/apache/tools/ant/ExitException.java
    ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BuildTimeoutException.java
    ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java?rev=592841&r1=592840&r2=592841&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/BuildEvent.java Wed Nov  7 10:23:08 2007
@@ -29,6 +29,8 @@
  */
 public class BuildEvent extends EventObject {
 
+    private static final long serialVersionUID = 4538050075952288486L;
+
     /** Project which emitted the event. */
     private Project project;
     /** Target which emitted the event, if specified. */

Modified: ant/core/trunk/src/main/org/apache/tools/ant/BuildException.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/BuildException.java?rev=592841&r1=592840&r2=592841&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/BuildException.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/BuildException.java Wed Nov  7 10:23:08 2007
@@ -25,6 +25,8 @@
  */
 public class BuildException extends RuntimeException {
 
+    private static final long serialVersionUID = -5419014565354664240L;
+
     /** Exception that might have caused this one. */
     private Throwable cause;
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/ExitException.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/ExitException.java?rev=592841&r1=592840&r2=592841&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/ExitException.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/ExitException.java Wed Nov  7 10:23:08 2007
@@ -26,6 +26,8 @@
  */
 public class ExitException extends SecurityException {
 
+    private static final long serialVersionUID = 2772487854280543363L;
+
     /** Status code */
     private int status;
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java?rev=592841&r1=592840&r2=592841&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/ExitStatusException.java Wed Nov  7 10:23:08
2007
@@ -24,6 +24,8 @@
  */
 public class ExitStatusException extends BuildException {
 
+    private static final long serialVersionUID = 7760846806886585968L;
+
     /** Status code */
     private int status;
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java?rev=592841&r1=592840&r2=592841&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/EchoProperties.java Wed
Nov  7 10:23:08 2007
@@ -387,6 +387,7 @@
         final List keyList = new ArrayList(allProps.keySet());
         Collections.sort(keyList);
         Properties props = new Properties() {
+            private static final long serialVersionUID = 5090936442309201654L;
             public Enumeration keys() {
                 return CollectionUtils.asEnumeration(keyList.iterator());
             }

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.java?rev=592841&r1=592840&r2=592841&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/junit/DOMUtil.java Wed
Nov  7 10:23:08 2007
@@ -86,6 +86,8 @@
 
     /** custom implementation of a nodelist */
     public static class NodeListImpl extends Vector implements NodeList {
+        private static final long serialVersionUID = 3175749150080946423L;
+
         /**
          * Get the number of nodes in the list.
          * @return the length of the list.

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BuildTimeoutException.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BuildTimeoutException.java?rev=592841&r1=592840&r2=592841&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BuildTimeoutException.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/testing/BuildTimeoutException.java
Wed Nov  7 10:23:08 2007
@@ -30,6 +30,7 @@
 
 public class BuildTimeoutException extends BuildException {
 
+    private static final long serialVersionUID = -8057644603246297562L;
 
     /**
      * Constructs a build exception with no descriptive information.

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java?rev=592841&r1=592840&r2=592841&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/util/IdentityStack.java Wed Nov  7 10:23:08
2007
@@ -25,6 +25,8 @@
  */
 public class IdentityStack extends Stack {
 
+    private static final long serialVersionUID = -5555522620060077046L;
+
     /**
      * Get an IdentityStack containing the contents of the specified Stack.
      * @param s the Stack to copy; ignored if null.



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message