This page collects a checklist for people contributing code or documentation to Derby.
|
Item |
Description |
|
ASL |
When attaching a patch to a JIRA issue, be sure to mark the checkbox that cedes license rights to Apache. |
|
ICLA |
If you are attaching a large patch, you should sign an |
|
Source license header |
Every source file (including java and |
|
No copyright notice |
Copyright notices must be removed before any file is committed to Derby's SVN. Note that only the copyright owner or their agent can remove such notices. See |
|
Tests |
Don't forget to include regression tests with your code patch. |
|
Coding Standards |
The Derby community has not approved a common body of coding standards. Individual contributors have found the following standards useful: |
|
Comments |
Make sure you comment your code. Pay special attention to @param and @return tags in method Javadocs. |
|
Tabs |
Most of the existing code that has tabs expect tab-width to be set to 4 spaces. This was the original Cloudscape convention. With this setting your code should look readable. When editing existing code with tabs, use tabs and set your tab-width to 4. After editing, set tabs back to 8 or view with a simple text editor to make sure the code indentation is consistent. |