Hi again, Am 27.11.2011 12:24, schrieb sebb: >> > Of course code can be reformatted in various ways - but my proposal runs >> > automatically and needs no fine tuning on each plattform or special >> > IDE-settings. > However, that does not automatically ensure that the reformatting > preserves comments in a readable format. > > I suggest you attach some sample before and after files to the JIRA.
The plugin relies on a formatter.xml file - I attached a sample to RAT-103. No javadoc is touched. The reformatting only applies to code, not comments etc. No logic etc. is changed at all! It's just a formatter. I applied a before/after of apache-rat-core/src/main/java/org/apache/rat/document/impl/guesser/BinaryGuesser.java to RAT-103. The settings in the ratFormatter.xml can be tweaked if there any wishes :-) It's just a proposal to open discussion. HTH Hugo