Fix typo in javadoc

(Cherry picked from commit bebbe92)
Fixes gh-1633