[PATCH] Normalization of Java sources
Andrew Haley
aph@redhat.com
Tue Jan 11 14:40:00 GMT 2011
On 01/11/2011 02:33 PM, Dr Andrew John Hughes wrote:
> I have a filter in emacs for tabs to keep the OpenJDK files in
> order, which was causing additional whitespace diffs when editing
> Classpath files. To avoid having to turn it on and off all the
> time, I normalised Classpath as there didn't seem to be anything in
> the rules against it and no existing consistency in the sources.
I use emacs too, and indent-tabs-mode = nil only affects code that you
actually touch.
> In retrospect, it probably wasn't the best idea, but we should at least
> match gcj's Classpath sources to Classpath now, so that future merges
> aren't obliterated by whitespace diffs.
Yes, it's too late to change now.
Andrew.
More information about the Java-patches
mailing list