Author: stevel
Date: Tue Jul 4 13:58:28 2006
New Revision: 419097
URL: http://svn.apache.org/viewvc?rev=419097&view=rev
Log:
bug 36033; javadocs incorrect
Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java
Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java
URL:
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java?rev=419097&r1=419096&r2=419097&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/Zip.java Tue Jul 4
13:58:28 2006
@@ -263,12 +263,11 @@
/**
* Sets behavior for when a duplicate file is about to be added -
- * one of <code>keep</code>, <code>skip</code> or <code>overwrite</code>.
- * Possible values are: <code>keep</code> (keep both
- * of the files); <code>skip</code> (keep the first version
- * of the file found); <code>overwrite</code> overwrite the file
- * with the new file
- * Default for zip tasks is <code>keep</code>
+ * one of <code>add</code>, <code>preserve</code> or <code>fail</code>.
+ * Possible values are: <code>add</code> (keep both
+ * of the files); <code>preserve</code> (keep the first version
+ * of the file found); <code>fail</code> halt a problem
+ * Default for zip tasks is <code>add</code>
* @param df a <code>Duplicate</code> enumerated value
*/
public void setDuplicate(Duplicate df) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]