Skip to content
This repository was archived by the owner on Dec 20, 2019. It is now read-only.

Code Style

Ángel Serrano edited this page Apr 3, 2014 · 2 revisions

All Java files in the code are formatted using a Eclipse formatter and headed with the eAdventure license. You can forget about it while coding, and when everything is ready, you can execute the following in the project root:

mvn clean install

This will automatically format the code and add the license header (and will also ensure that your contribution passes the automatic testing).

In general, the eclipse-formatter will keep things clean. However, if you still have some doubts, try to be consistent with the rest of the code.

However, as last resource, we mostly follow the Google Java Style Guide.

Clone this wiki locally