[FIXED JENKINS-19947] Restore historical undocumented behavior of a top-level entry in a ZIP.

Noting that various DirScanner implementations handle this inconsistently.
This commit is contained in:
Jesse Glick committed 2013-10-09 09:55:06 -04:00
1 parent 0099e0d9f5
commit 793b6826e5
5 files changed
+22 -4

No files matched your search

+1 -1
View File
@@ -392,7 +392,7 @@ public final class FilePath implements Serializable {
*
* @param glob
* Ant style glob, like "**/*.xml". If empty or null, this method
* works like {@link #createZipArchive(OutputStream)}
* works like {@link #createZipArchive(OutputStream)}, inserting a top-level directory into the ZIP.
*
* @since 1.315
*/