Turns out faster to use CheckStyle, Eclipse and ACS code style file. See http://dlafferty.blogspot.co.uk/2013/07/apache-cloudstack-java-coding.html
> -----Original Message----- > From: Donal Lafferty [mailto:donal.laffe...@citrix.com] > Sent: 08 July 2013 10:15 AM > To: dev@cloudstack.apache.org > Subject: RE: codestyle checker? > > > > > No tool I know of, just nice idea to write one. Some projects have > > such tools, for example golang has gofmt to format code as per a > > convention, but even then there are hacks :P > [Donal Lafferty] > I'll share anything that I come up with. > > > > > Try to read and remember the convention and adapt your coding style to > > the convention which always works :) > [Donal Lafferty] > Sound advice.