NEXUS-6898: Typo and some javadoc

To clear up things