CVSROOT: /sources/classpath
Module name: classpath
Changes by: Andrew John Hughes <gnu_andrew> 08/09/10 01:42:42
Modified files:
. : ChangeLog
java/util/zip : ZipEntry.java
Log message:
ZipEntry tweaks to improve performance.
2008-02-07 Ian Rogers <[EMAIL PROTECTED]>
* java/util/zip/ZipEntry.java:
Use byte fields instead of integer fields,
store the time as well as the DOS time and
don't retain a global Calendar instance.
(setDOSTime(int)): Set KNOWN_DOSTIME instead
of KNOWN_TIME, and unset KNOWN_TIME.
(getDOSTime()): Compute DOS time from UNIX time
only when needed.
(clone()): Provide cloning via the ZipEntry constructor
where possible.
(setTime(long)): Don't compute DOS time at this point.
(getCalendar()): Removed.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.9717&r2=1.9718
http://cvs.savannah.gnu.org/viewcvs/classpath/java/util/zip/ZipEntry.java?cvsroot=classpath&r1=1.20&r2=1.21