[checkstyle] How to avoid trailing whitespace in Eclipse

Peter Palaga ppalaga at redhat.com
Wed Nov 26 10:18:20 UTC 2014


Ladies and Gentelemen,

If you happen to use Eclipse, you may find it useful to set automatic 
trailing whitespace removal on save: 
http://stackoverflow.com/questions/1043433/how-to-auto-remove-trailing-whitespace-in-eclipse/26140346#26140346

Note that JDT's autoformatter used to leave whitespace on some places at 
the end of lines in JavaDoc which was fixed Eclipse 4.4 Luna. Hence, 
make sure that you use that one or newer.

Best,

Peter


More information about the rhq-devel mailing list