[Java]: Fix typo in javadoc.