mbenson 2005/03/18 07:54:24 Modified: src/main/org/apache/tools/ant/types Tag: ANT_16_BRANCH Resource.java Log: Resource size added in 1.6.3 Revision Changes Path No revision No revision 1.5.2.6 +2 -2 ant/src/main/org/apache/tools/ant/types/Resource.java Index: Resource.java =================================================================== RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/Resource.java,v retrieving revision 1.5.2.5 retrieving revision 1.5.2.6 diff -u -r1.5.2.5 -r1.5.2.6 --- Resource.java 27 Jan 2005 22:31:07 -0000 1.5.2.5 +++ Resource.java 18 Mar 2005 15:54:24 -0000 1.5.2.6 @@ -177,7 +177,7 @@ /** * Set the size of this Resource. * @param size the size, as a long. - * @since Ant 1.7 + * @since Ant 1.6.3 */ public void setSize(long size) { this.size = (size > UNKNOWN_SIZE) ? size : UNKNOWN_SIZE; @@ -187,7 +187,7 @@ * Get the size of this Resource. * @return the size, as a long, 0 if the Resource does not exist (for * compatibility with java.io.File), or UNKNOWN_SIZE if not known. - * @since Ant 1.7 + * @since Ant 1.6.3 */ public long getSize() { return (exists) ? size : 0L;
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]