Great tips Luciano. I've added them to our Tuscany Development Guide
Coding guidelines [1]. (This may take a few moments to propagate from
the wiki to the exported HTML.)
[1]
http://tuscany.apache.org/sca-java-development-guide.html#SCAJavaDevelopmentGuide-CodingGuidelines
Luciano Resende wrote:
I have noticed that Mark has been doing a great job helping us
cleaning up the 2.0 code base [1], thanks a lot Mark.
Considering others might want to help, below is a list of possible
items to look when reviewing the code, we could probably grow this
into a Tuscany Code Guideline.
Also, using a tool such as PMD (or eclipse PMD plugin) might help.
Clean code
- use correct visibility, private, default, public, avoid protected
Unit/Integration Tests
- put comments in test cases
Formatting
- use Tuscany eclipse code style/formatter
[1] http://www.mail-archive.com/search?q=mcombellack&[EMAIL PROTECTED]&start=0
--
Thanks, Dan Becker