You should be using the OpenMRS formatter and code per https://wiki.openmrs.org/display/docs/Coding+Conventions#CodingConventions-CodeStyle