edited javadoc
fixed typo