This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch: java.io.File


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]