Fix javadoc inconsistency in EventProducer.java

Add missing <p> to javadoc for invalidate().

Removed unnecessary white space after <p> tag in javadoc for this class. 

<p> tags in javadocs should not have a space immediately after them, as they are used this way in the rest of the project.