1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-12-26 12:37:58 +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<>();
/**
* 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
*/
public static MamManager getInstanceFor(XMPPConnection connection) {