Update EventPublisher.java

Avoid unused imports such as 'java.util.HashMap'