Fix partial formatting of lines with trailing comments

Previously the replacements ended at the beginning of any trailing
whitespace/comments, which caused whitespace/comments to get pushed to the next
line.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=95548588
2 files changed
tree: b2a196fcfac522dd89c0b6ed47687de19b6f8fe2
  1. core/
  2. .gitignore
  3. .travis.yml
  4. CONTRIBUTING.md
  5. LICENSE
  6. pom.xml
  7. README.md
README.md

google-java-format

Build Status

google-java-format is a program that reformats Java source code to comply with Google Java Style.