fixed checkstyle and javadoc warnings