fixed javadoc comment and remove an accidentally added method.