Fix issue #83: bad generated listener code when built with Eclipse
Minor changes to issue #83 fix: int overload of indexOf, fix formatting
Merge pull request #106 from alexnixon/master

Fix issue #83: bad generated listener code when built with Eclipse