1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-09-09 17:19:39 +02:00

Add checkstyle rule for 'synchronized' on Manager.getInstanceFor()

This commit is contained in:
Florian Schmaus 2019-04-15 09:46:43 +02:00
parent 488055948d
commit 11775ed6b0
2 changed files with 15 additions and 0 deletions

View file

@ -178,7 +178,9 @@ public final class MamManager extends Manager {
* @param connection the XMPP connection to get the archive for.
* @return the instance of MamManager.
*/
// CHECKSTYLE:OFF:RegexpSingleline
public static MamManager getInstanceFor(XMPPConnection connection) {
// CHECKSTYLE:ON:RegexpSingleline
return getInstanceFor(connection, (Jid) null);
}