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
1 changed files with 2 additions and 2 deletions

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) {