git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@592841 13f79535-47bb-0310-9956-ffa450edef68remotes/1776816827838153613/tmp_25f451bd36ab3145e487fcb2cd5c62c571e5b602
| @@ -29,6 +29,8 @@ import java.util.EventObject; | |||||
| */ | */ | ||||
| public class BuildEvent extends EventObject { | public class BuildEvent extends EventObject { | ||||
| private static final long serialVersionUID = 4538050075952288486L; | |||||
| /** Project which emitted the event. */ | /** Project which emitted the event. */ | ||||
| private Project project; | private Project project; | ||||
| /** Target which emitted the event, if specified. */ | /** Target which emitted the event, if specified. */ | ||||
| @@ -25,6 +25,8 @@ import java.io.PrintWriter; | |||||
| */ | */ | ||||
| public class BuildException extends RuntimeException { | public class BuildException extends RuntimeException { | ||||
| private static final long serialVersionUID = -5419014565354664240L; | |||||
| /** Exception that might have caused this one. */ | /** Exception that might have caused this one. */ | ||||
| private Throwable cause; | private Throwable cause; | ||||
| @@ -26,6 +26,8 @@ package org.apache.tools.ant; | |||||
| */ | */ | ||||
| public class ExitException extends SecurityException { | public class ExitException extends SecurityException { | ||||
| private static final long serialVersionUID = 2772487854280543363L; | |||||
| /** Status code */ | /** Status code */ | ||||
| private int status; | private int status; | ||||
| @@ -24,6 +24,8 @@ package org.apache.tools.ant; | |||||
| */ | */ | ||||
| public class ExitStatusException extends BuildException { | public class ExitStatusException extends BuildException { | ||||
| private static final long serialVersionUID = 7760846806886585968L; | |||||
| /** Status code */ | /** Status code */ | ||||
| private int status; | private int status; | ||||
| @@ -387,6 +387,7 @@ public class EchoProperties extends Task { | |||||
| final List keyList = new ArrayList(allProps.keySet()); | final List keyList = new ArrayList(allProps.keySet()); | ||||
| Collections.sort(keyList); | Collections.sort(keyList); | ||||
| Properties props = new Properties() { | Properties props = new Properties() { | ||||
| private static final long serialVersionUID = 5090936442309201654L; | |||||
| public Enumeration keys() { | public Enumeration keys() { | ||||
| return CollectionUtils.asEnumeration(keyList.iterator()); | return CollectionUtils.asEnumeration(keyList.iterator()); | ||||
| } | } | ||||
| @@ -86,6 +86,8 @@ public final class DOMUtil { | |||||
| /** custom implementation of a nodelist */ | /** custom implementation of a nodelist */ | ||||
| public static class NodeListImpl extends Vector implements NodeList { | public static class NodeListImpl extends Vector implements NodeList { | ||||
| private static final long serialVersionUID = 3175749150080946423L; | |||||
| /** | /** | ||||
| * Get the number of nodes in the list. | * Get the number of nodes in the list. | ||||
| * @return the length of the list. | * @return the length of the list. | ||||
| @@ -30,6 +30,7 @@ import org.apache.tools.ant.Location; | |||||
| public class BuildTimeoutException extends BuildException { | public class BuildTimeoutException extends BuildException { | ||||
| private static final long serialVersionUID = -8057644603246297562L; | |||||
| /** | /** | ||||
| * Constructs a build exception with no descriptive information. | * Constructs a build exception with no descriptive information. | ||||
| @@ -25,6 +25,8 @@ import java.util.Stack; | |||||
| */ | */ | ||||
| public class IdentityStack extends Stack { | public class IdentityStack extends Stack { | ||||
| private static final long serialVersionUID = -5555522620060077046L; | |||||
| /** | /** | ||||
| * Get an IdentityStack containing the contents of the specified Stack. | * Get an IdentityStack containing the contents of the specified Stack. | ||||
| * @param s the Stack to copy; ignored if null. | * @param s the Stack to copy; ignored if null. | ||||