issue #6 error in the javadoc