1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 22:32:06 +01:00

Improve javadoc for MamManager.getInstanceFor(XMPPConnection)

This commit is contained in:
Florian Schmaus 2018-05-31 18:27:54 +02:00
parent 50e98fe31d
commit cb97b5032c

View file

@ -79,9 +79,9 @@ public final class MamManager extends Manager {
private static final Map<XMPPConnection, Map<Jid, MamManager>> INSTANCES = new WeakHashMap<>(); private static final Map<XMPPConnection, Map<Jid, MamManager>> INSTANCES = new WeakHashMap<>();
/** /**
* Get the singleton instance of MamManager. * Get a MamManager for the MAM archive of the local entity (the "user") of the given connection.
* *
* @param connection * @param connection the XMPP connection to get the archive for.
* @return the instance of MamManager * @return the instance of MamManager
*/ */
public static MamManager getInstanceFor(XMPPConnection connection) { public static MamManager getInstanceFor(XMPPConnection connection) {