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:

and the following style:

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