Patch: DateFormat.parse exception and SimpleDateFormat Vector->ArrayList
Bryce McKinlay
bryce@mckinlay.net.nz
Sun Sep 28 06:52:00 GMT 2003
This patch updates DateFormat.parse() to throw an
IllegalArgumentException if the wrong type of object is passed,
matching the JRE behaviour.
It also converts SimpleDateFormat to use ArrayList instead of Vector
for the "tokens" array, which is somewhat more efficient.
Regards
Bryce.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Format.patch.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030928/04b77238/attachment.txt>
More information about the Java-patches
mailing list