corrected incorrect javadoc