I don't know which code style requires Apache, but in Spring we prefer this: https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-Code-Style