On 27 November 2011 12:30, Hugo Hirsch <[email protected]> wrote:
> 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.

This can be a problem where comments are indented to agree with code.

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

I've replied there.

> The settings in the ratFormatter.xml can be tweaked if there any wishes
> :-) It's just a proposal to open discussion.
>
> HTH
> Hugo
>

Reply via email to