Removing javadocs warning from PubSub code