method rename and javadoc formatting