Fix compilation errors in Listener.java
Merge pull request #2 from lol768/patch-1

Fix compilation errors in Listener.java