Patch: java.io.File

Tom Tromey tromey@redhat.com
Tue Sep 7 09:26:00 GMT 2004


>>>>> "Michael" == Michael Koch <konqueror@gmx.de> writes:

Michael> +	if (p.length() > 2 && p.charAt(0) == '\\' &&
Michael> +	    ((p.charAt(1) >= 'a' && p.charAt(1) <= 'z') ||
Michael> +	    (p.charAt(1) >= 'A' && p.charAt(1) <= 'Z')) &&
Michael> +	    p.charAt(2) == ':')

Note that in our coding standard, the line break comes before the
operator ("&&"), not after.

Tom



More information about the Java-patches mailing list