Fix a typo in the Javadoc.
Fix two checkstyle errors.