Code style

Your Rating: Results: PatheticBadOKGoodOutstanding! 5 rates

Magnolia contributors are kindly request to follow these simple conventions below:

  • Standard Java coding conventions
  • Tab policy: spaces only
  • Indentation: 4 spaces
  • Maximum line width: 120 (no strong rule here - don't put exceptions declarations on new lines just to respect this, for instance)
  • We preferably don't use abbreviations in classnames (only exception to that rule is MgnlSomething)

Also ensure that you have the right license headers in place !

See the file attached for Eclipse Preferences (which you can simply import and everything should be done).

_Note: you have to reset the M2_REPO variable (Preferences > Java > Build Path > Classpath Variables) to match your local Maven 2 repository again.

Labels

development development Delete
eclipse eclipse Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.