mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 10:19:41 +02:00
[gitlab-ci] Also check with Java 15
This commit is contained in:
parent
8b0248c346
commit
4e90db3191
9 changed files with 63 additions and 28 deletions
|
@ -79,6 +79,12 @@ public final class ServerPingWithAlarmManager extends Manager {
|
|||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the instance of this manager for the given connection.
|
||||
*
|
||||
* @param connection the connection.
|
||||
* @return the instance of this manager for the given connection.
|
||||
*/
|
||||
public static synchronized ServerPingWithAlarmManager getInstanceFor(XMPPConnection connection) {
|
||||
ServerPingWithAlarmManager serverPingWithAlarmManager = INSTANCES.get(connection);
|
||||
if (serverPingWithAlarmManager == null) {
|
||||
|
@ -104,6 +110,11 @@ public final class ServerPingWithAlarmManager extends Manager {
|
|||
mEnabled = enabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if this manager is enabled.
|
||||
*
|
||||
* @return <code>true</code> if this manager is enabled, <code>false</code> otherwise.
|
||||
*/
|
||||
public boolean isEnabled() {
|
||||
return mEnabled;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue