[PSA] Cleaning up your Java code with Eclipse

Richard Newman rnewman at mozilla.com
Mon Feb 24 14:30:48 PST 2014


A couple of nice settings for you. Eclipse can automatically add braces for you, and when using Clean Up, it can automatically fix "Apple-grade security vulnerability" coding style to not suck.

Clean Up can also fix your imports, remove trailing whitespace, and other such wonderful things.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/mobile-firefox-dev/attachments/20140224/d81421b7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2014-02-24 14.27.14.png
Type: image/png
Size: 46113 bytes
Desc: not available
URL: <http://mail.mozilla.org/pipermail/mobile-firefox-dev/attachments/20140224/d81421b7/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2014-02-24 14.26.08.png
Type: image/png
Size: 47540 bytes
Desc: not available
URL: <http://mail.mozilla.org/pipermail/mobile-firefox-dev/attachments/20140224/d81421b7/attachment-0003.png>


More information about the mobile-firefox-dev mailing list