Skip to content

Commit 409f345

Browse files
authored
chore: prepare for 3.12.0 release (#394)
1 parent d864f97 commit 409f345

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

shared/src/main/java/com/optimizely/ab/android/shared/WorkerScheduler.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/****************************************************************************
2-
* Copyright 2021, Optimizely, Inc. and contributors *
2+
* Copyright 2021, Optimizely, Inc. and contributors *
33
* *
44
* Licensed under the Apache License, Version 2.0 (the "License"); *
55
* you may not use this file except in compliance with the License. *
@@ -45,7 +45,6 @@ public class WorkerScheduler {
4545
* Unschedule a scheduled service for a given worker id
4646
* @param context current application context
4747
* @param workerId work id to cancel
48-
* @return An {@link Operation} that can be used to determine when the cancelAllWorkByTag has completed
4948
*/
5049
public static void unscheduleService(Context context, String workerId) {
5150
WorkManager.getInstance(context).cancelAllWorkByTag(workerId);
@@ -58,7 +57,7 @@ public static void unscheduleService(Context context, String workerId) {
5857
* @param clazz class based on ListenableWorker
5958
* @param data androidx.work.Data
6059
* @param interval the interval for the repeated service
61-
* @return An <WorkRequest, Operation> that can be used for tracing work state
60+
* @return An (WorkRequest, Operation) that can be used for tracing work state
6261
*/
6362
public static AbstractMap.SimpleEntry<WorkRequest, Operation> scheduleService(Context context, String workerId, Class clazz, Data data, long interval) {
6463
WorkManager.getInstance(context).cancelAllWorkByTag(workerId);
@@ -91,7 +90,7 @@ public static AbstractMap.SimpleEntry<WorkRequest, Operation> scheduleService(Co
9190
* @param clazz - worker class
9291
* @param data - input data for the worker
9392
* @param retryInterval - the dispatch retry interval in milli-seconds
94-
* @return An <WorkRequest, Operation> that can be used for tracing work state
93+
* @return An (WorkRequest, Operation) that can be used for tracing work state
9594
*/
9695
public static AbstractMap.SimpleEntry<WorkRequest, Operation> startService(Context context, String workerId, Class clazz, Data data, Long retryInterval) {
9796
// Create a WorkRequest for your Worker and sending it input

0 commit comments

Comments
 (0)