updated checkstyle config. Corrected checkstyle errors.