[checkstyle] what I do not like

Peter Palaga ppalaga at redhat.com
Tue Dec 2 10:16:49 UTC 2014


On 2014-12-02 08:52, Heiko W.Rupp wrote:
[...]
> I don't know about Eclipse or Netbeans, but at least IJ has an option to
> format code
> before commit
>
> That could potentially be used to "enforce" the pure code style like
> whitespaces without
> having the developer manually doing that.

Yes, formatting the whole file is OK but only if the file is new. 
Otherwise, it can introduce insignificant changes. Formatting changes 
are generally OK, IMO, but one should try to have them in separate 
commits. -- P



More information about the rhq-devel mailing list