changeset 8446:619cafddd991

clarify the order of ZipFile::stream
author henryjen
date Tue, 30 Apr 2013 23:13:34 -0700
parents e6c5b31dd1ae
children e05ae11a0854
files src/share/classes/java/util/zip/ZipFile.java
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/zip/ZipFile.java	Tue Apr 30 22:09:00 2013 -0700
+++ b/src/share/classes/java/util/zip/ZipFile.java	Tue Apr 30 23:13:34 2013 -0700
@@ -536,9 +536,11 @@
     }
 
     /**
-     * Return a {@code Stream} of the ZIP file entries.
+     * Return an ordered {@code Stream} over the ZIP file entries.
+     * Entries appear in the {@code Stream} in the order they appear in
+     * the central directory of the ZIP file.
      *
-     * @return a {@code Stream} of entries in this ZIP file
+     * @return an ordered {@code Stream} of entries in this ZIP file
      * @throws IllegalStateException if the zip file has been closed
      * @since 1.8
      */