ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types Assertions.java
Date Wed, 25 Feb 2004 12:57:13 GMT
stevel      2004/02/25 04:57:12

  Modified:    src/main/org/apache/tools/ant/types Assertions.java
  Log:
  added cloning support; bug #27218
  
  Revision  Changes    Path
  1.12      +2 -2      ant/src/main/org/apache/tools/ant/types/Assertions.java
  
  Index: Assertions.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/Assertions.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- Assertions.java	9 Feb 2004 21:05:36 -0000	1.11
  +++ Assertions.java	25 Feb 2004 12:57:12 -0000	1.12
  @@ -65,7 +65,7 @@
    * @since Ant 1.6
    * @author steve loughran
    */
  -public class Assertions extends DataType {
  +public class Assertions extends DataType implements Cloneable {
   
       /**
        * enable/disable sys assertions; null means undefined
  @@ -221,7 +221,7 @@
        * @return a cli
        * @throws CloneNotSupportedException
        */
  -    protected Object clone() throws CloneNotSupportedException {
  +    public Object clone() throws CloneNotSupportedException {
           Assertions that = (Assertions) super.clone();
           that.assertionList = (ArrayList) assertionList.clone();
           return that;
  
  
  

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


Mime
View raw message