...
- Four space indents for Java, and 2-space indents for XML. NO TABS
K&R style braces
Code Block if (code) { // code } else { // code }
- Do not use wildcard imports
- Write Javadocs for public methods and classes. Keep it short and to the point
- Avoid public instance variables; use accessors
- Use public methods sparingly; implementation details are not public
- Maximum length of lines is 80 characters.
Create Javadocs for types of at least the following descriptivity
Code Block /** * @author Joe Developer * @date MMM DD, YYYY */ public class MyClass
Include a licence header in the source code.
Code Block language java /** * The contents of this file are subject to the license and copyright terms * detailed in the license directory at the root of the source tree (also * available online at http://fedora-commons.org/license/). */
IDE Setups
IDE settings can be found in fcrepo4/etc in the project source.
...