1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-12-22 20:47:57 +01:00

Improve javadoc of ServerPingWithAlarmManager

This commit is contained in:
Florian Schmaus 2018-10-07 09:46:10 +02:00
parent b60a772df1
commit eab5682a03

View file

@ -99,7 +99,7 @@ public final class ServerPingWithAlarmManager extends Manager {
* If enabled, ServerPingWithAlarmManager will call {@link PingManager#pingServerIfNecessary()}
* for the connection of this instance every half hour.
*
* @param enabled
* @param enabled whether or not this manager is should be enabled or not.
*/
public void setEnabled(boolean enabled) {
mEnabled = enabled;
@ -157,7 +157,7 @@ public final class ServerPingWithAlarmManager extends Manager {
* register the alarm broadcast receiver to receive this intent. The receiver will check all
* known questions if a ping is Necessary when invoked by the alarm intent.
*
* @param context
* @param context an Android context.
*/
public static void onCreate(Context context) {
sContext = context;