This is the mail archive of the java-patches@sources.redhat.com 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]

Re: Merge java.util.jar code indentation with Classpath


Mark Wielaard wrote:

> P.S. Bryce, I used your gnu-indent java patch to verify that the result of
> indenting the libgcj version was the same as what is in Classpath now.
> (And found a few code fixes that I forgot to add to Classpath. Oops...)
> I got a few small diferences (it indented the copyright notice with 3 space,
> it inserted a new line after a class definition and at the beginning of some
> methods and some very long method definitions were broken in two lines)
> Did you use any options to indent?

Yeah - I ended up using "indent -nfc1 -npcs". This should stop it indenting the
copyright notice at least (while still hopefully fixing up javadoc comments).

I manually deleted the extra newlines in a few cases.

regards

  [ bryce ]



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