Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 95514 invoked from network); 25 Feb 2004 12:57:16 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 25 Feb 2004 12:57:16 -0000 Received: (qmail 17611 invoked by uid 500); 25 Feb 2004 12:57:11 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 17582 invoked by uid 500); 25 Feb 2004 12:57:11 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 17568 invoked by uid 500); 25 Feb 2004 12:57:11 -0000 Received: (qmail 17565 invoked from network); 25 Feb 2004 12:57:11 -0000 Received: from unknown (HELO minotaur.apache.org) (209.237.227.194) by daedalus.apache.org with SMTP; 25 Feb 2004 12:57:11 -0000 Received: (qmail 95468 invoked by uid 1365); 25 Feb 2004 12:57:13 -0000 Date: 25 Feb 2004 12:57:13 -0000 Message-ID: <20040225125713.95467.qmail@minotaur.apache.org> From: stevel@apache.org To: ant-cvs@apache.org Subject: cvs commit: ant/src/main/org/apache/tools/ant/types Assertions.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N 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