Code Style - e-ucm/ead GitHub Wiki

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.