Fix for issue #121.

The following methods were changed:
intValue() and parseInteger(). Seems eclipse formatting caused git to show a change in a lot of lines.