fixing typo

the javadoc was not in sync with the method param name