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) {