Makes map service check style compliant

This pr is called 'checkstyle compliant'. This code is likely not checkstyle compliant. So can you explain why you want to create another PR for it.