Makes map service check style compliant

Also a few lines of javadoc here.