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] Normalization of Java sources


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.


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