Typo fixed. JavaDoc is still not great, but it's less confusing now.
Merge pull request #2535 from jerrinot/patch-3

Typo fixed. JavaDoc is still not great, but it's less confusing now.