Improve javadoc of ServerPingWithAlarmManager

This commit is contained in:
Florian Schmaus 2018-10-07 09:46:10 +02:00
parent b60a772df1
commit eab5682a03
1 changed files with 2 additions and 2 deletions

View File

@ -99,7 +99,7 @@ public final class ServerPingWithAlarmManager extends Manager {
* If enabled, ServerPingWithAlarmManager will call {@link PingManager#pingServerIfNecessary()} * If enabled, ServerPingWithAlarmManager will call {@link PingManager#pingServerIfNecessary()}
* for the connection of this instance every half hour. * 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) { public void setEnabled(boolean enabled) {
mEnabled = 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 * 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. * 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) { public static void onCreate(Context context) {
sContext = context; sContext = context;