Browse Source

better use the full potential of a Hashtable. PR 48755. Submitted by Marc Bevand.

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@910825 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 15 years ago
parent
commit
ba12ac85f4
2 changed files with 4 additions and 1 deletions
  1. +3
    -0
      WHATSNEW
  2. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/Zip.java

+ 3
- 0
WHATSNEW View File

@@ -34,6 +34,9 @@ Other changes:
* Ant is now more lenient with ZIP extra fields and will be able to
read archives that it failed to read in earlier versions.

* The <zip> family of tasks has been sped up for bigger archives.
Bugzilla Report 48755.

Changes from Ant 1.8.0RC1 TO Ant 1.8.0
======================================



+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/Zip.java View File

@@ -1723,7 +1723,7 @@ public class Zip extends MatchingTask {
throws IOException {
// fromArchive is used in subclasses overriding this method

if (entries.contains(vPath)) {
if (entries.containsKey(vPath)) {

if (duplicate.equals("preserve")) {
logWhenWriting(vPath + " already added, skipping",


Loading…
Cancel
Save