From 4ce923bc7d8fbe0854ed031e3f905d07251f7af1 Mon Sep 17 00:00:00 2001 From: Steve Loughran Date: Tue, 4 Jul 2006 20:58:28 +0000 Subject: [PATCH] bug 36033; javadocs incorrect git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@419097 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/Zip.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/Zip.java b/src/main/org/apache/tools/ant/taskdefs/Zip.java index 9d3386cc2..d92fd3cf6 100644 --- a/src/main/org/apache/tools/ant/taskdefs/Zip.java +++ b/src/main/org/apache/tools/ant/taskdefs/Zip.java @@ -263,12 +263,11 @@ public class Zip extends MatchingTask { /** * Sets behavior for when a duplicate file is about to be added - - * one of keep, skip or overwrite. - * Possible values are: keep (keep both - * of the files); skip (keep the first version - * of the file found); overwrite overwrite the file - * with the new file - * Default for zip tasks is keep + * one of add, preserve or fail. + * Possible values are: add (keep both + * of the files); preserve (keep the first version + * of the file found); fail halt a problem + * Default for zip tasks is add * @param df a Duplicate enumerated value */ public void setDuplicate(Duplicate df) {