Skip to content

Commit fbed362

Browse files
update: change CmabService field to non-nullable in Optimizely class
1 parent ad63201 commit fbed362

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

core-api/src/main/java/com/optimizely/ab/Optimizely.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ public class Optimizely implements AutoCloseable {
142142
@Nullable
143143
private final ODPManager odpManager;
144144

145-
@Nullable
146145
private final CmabService cmabService;
147146

148147
private final ReentrantLock lock = new ReentrantLock();
@@ -158,7 +157,7 @@ private Optimizely(@Nonnull EventHandler eventHandler,
158157
@Nonnull NotificationCenter notificationCenter,
159158
@Nonnull List<OptimizelyDecideOption> defaultDecideOptions,
160159
@Nullable ODPManager odpManager,
161-
@Nullable CmabService cmabService
160+
@Nonnull CmabService cmabService
162161
) {
163162
this.eventHandler = eventHandler;
164163
this.eventProcessor = eventProcessor;

0 commit comments

Comments
 (0)