Apache Shindig Code Style And Code Conventions
This document describes how developers and contributors should write code. The reasoning
of these styles and conventions is mainly for consistency, readability and maintainability reasons.
Generic Code Style And Convention
All working files (java, xml, others) should respect the following conventions:
License Header: Always add the current
ASF license header in all versionned files.
Trailing Whitespaces: Remove all trailing whitespaces. If your are an Eclipse user, you could
use the Anyedit Eclipse Plugin .
and the following style:
Indentation: Never use tabs!
Line wrapping: Always use a 100-column line width.
Note: The specific styles and conventions, listed in the next sections, could override these generic rules.
Java
Java Code Style
The full Apache Shindig for Java is described in our
Wiki .
Describe how to import Eclipse Java code templates
JavaScript
Describe how to import Eclipse JavaScript code templates
Copyright © 2007-2014 The Apache Software Foundation . All Rights Reserved.
Apache Shindig, Apache, the Apache feather logo, and the Apache Shindig project logos are trademarks of The Apache Software Foundation.
All other marks mentioned may be trademarks or registered trademarks of their respective owners.