Unable to choose Google style option for empty blocks
javydreamercsw opened this issue · comments
What steps will reproduce the problem?
Steps to reproduce the behavior:
- Have code like:
void doNothing() {}
- Plugin formats to:
void doNothingElse() {
}
As per Google-style both are acceptable but plugin enforces one. Some teams might like to enforce one vs. the other.
What is the expected output?
Configured one.
What happens instead?
Multiline is enforced.
Environment:
- OS: Mac Catalina 10.15.6
- Git version: 2.24.3
- git-code-format-maven-plugin version: 2.4
- Maven version: 3.5.4
The plugin directly uses https://github.com/google/google-java-format.
This issue should be addressed to https://github.com/google/google-java-format.