From 55697821135ea358808845bb7e84d6a0ee7e354a Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Wed, 15 Aug 2018 17:58:53 +0200 Subject: [PATCH] Fix javadoc in PEPManager --- .../src/main/java/org/jivesoftware/smackx/pep/PEPManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java b/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java index 6c3a70b63..cd9ce58d2 100644 --- a/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java +++ b/smack-extensions/src/main/java/org/jivesoftware/smackx/pep/PEPManager.java @@ -57,7 +57,7 @@ import org.jxmpp.jid.EntityBareJid; * Use example: * *
- *   PEPManager pepManager = new PEPManager(smackConnection);
+ *   PEPManager pepManager = PEPManager.getInstanceFor(smackConnection);
  *   pepManager.addPEPListener(new PEPListener() {
  *       public void eventReceived(EntityBareJid from, EventElement event, Message message) {
  *           LOGGER.debug("Event received: " + event);