aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorMax Cai <maxtroy@google.com>2013-10-14 16:28:08 +0100
committerMax Cai <maxtroy@google.com>2013-10-16 12:44:35 +0100
commit9a93c5f593043286dc2821e1dae7f6a83a7a5810 (patch)
treeb0f6170c1013239d7cbc558dfd6f5990b91777e5 /java
parent665d99f4bccfd8b1edb8778c2c423088a4fdf25f (diff)
downloadprotobuf-9a93c5f593043286dc2821e1dae7f6a83a7a5810.tar.gz
protobuf-9a93c5f593043286dc2821e1dae7f6a83a7a5810.tar.bz2
protobuf-9a93c5f593043286dc2821e1dae7f6a83a7a5810.zip
Make generated code more aligned with Google Java style.
- Blank line after opening a message class (but not an enum interface). - Let all code blocks insert blank lines before themselves. This applies to 'package' statement, all message classes, enum classes or constant groups, extensions, bitfields, proto fields (one block per field; i.e. accessors don't have blank lines among them), and basic MessageNano methods. In this case we don't need to guess what the next block is and create blank lines for it. - Fixed some newline/indent errors. - Only one SuppressWarnings("hiding") per file. Change-Id: I865f52ad4fb6ea3b3a98b97ac9d78d19fc46c858
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions