This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Patch: java.io.File
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: java-patches at gcc dot gnu dot org, jeroen at frijters dot net
- Date: Sat, 04 Sep 2004 18:21:59 -0400
- Subject: Re: Patch: java.io.File
- References: <200409042126.16670.konqueror@gmx.de>
Michael Koch wrote:
I wrote/megred the attached patch to merge more with classpath'
version of java.io.File. Mauve testsuite run with no new regressions.
Ok for trunk ?
Michael
2004-09-04 Jeroen Frijters <jeroen@frijters.net>
(normalizePath): Added special case for windows systems.
2004-09-04 Michael Koch <konqueror@gmx.de>
* java/io/File.java
(dupSeparator): Made private.
(File(URI)): New constructor.
(getParentFile): Fixed javadoc.
(createTempFile): Reformated.
(setReadOnly): Added comment.
(deleteOnExit): Merged javadoc with classpath version.
OK....
+ ((p.charAt(1) >= 'a' && p.charAt(1) <= 'z') ||
+ (p.charAt(1) >= 'A' && p.charAt(1) <= 'Z')) &&
... but I wonder if these tests are neccessary. It's probably
sufficient, and faster, to just test this:
+ p.charAt(2) == ':')
Bryce