checkstyle fixes

added javadoc comments