Answer javadocs correction
So a developer can just copy and paste code from javadocs' snippet to have the expected result.
Merge pull request #22 from ffbit/answer-javadocs-correction

Answer javadocs correction