Commit Graph
2 Commits
Author SHA1 Message Date
lukesandSam Berlin d34d64e083 Run google-java-format on all Guice code.
configure a presubmit to ensure that it stays formatted.

Highlights include:
* simplified import order
* method annotations are now consistently defined on the preceding line
* javadoc reformatted to 100 chars column width

One test that contained line numbers in error messages had to be modified and
the formatter didn't like some of the more complicated preprocessor directives
(MOE and AOP).

To avoid formatting the copyright notices as javadoc i did a preprocessing step to rewrite the initial '/**' to '/*' using perl

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=132704632
2016-09-13 11:47:18 -04:00
crazyboblee c112063529 Added XML example.
git-svn-id: https://google-guice.googlecode.com/svn/trunk@831 d779f126-a31b-0410-b53b-1d3aecad763e
2009-02-05 06:23:52 +00:00