Remove unnecessary Integer.parse/1
make doctest syntax consistent
Merge pull request #2972 from jw2013/redundant-parse

Remove unnecessary Integer.parse/1