Skip to content

Commit 219b322

Browse files
update: change parameter type from DefaultCmabService to CmabService in newDefaultInstance method of OptimizelyFactory
1 parent ebe27be commit 219b322

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

core-httpclient-impl/src/main/java/com/optimizely/ab/OptimizelyFactory.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424

2525
import com.optimizely.ab.cmab.DefaultCmabClient;
2626
import com.optimizely.ab.cmab.client.CmabClientConfig;
27+
import com.optimizely.ab.cmab.service.CmabService;
2728
import com.optimizely.ab.cmab.service.DefaultCmabService;
2829
import com.optimizely.ab.config.HttpProjectConfigManager;
2930
import com.optimizely.ab.config.ProjectConfig;
@@ -373,7 +374,7 @@ public static Optimizely newDefaultInstance(ProjectConfigManager configManager,
373374
* @param cmabService The {@link CmabService} supplied to Optimizely instance.
374375
* @return A new Optimizely instance
375376
* */
376-
public static Optimizely newDefaultInstance(ProjectConfigManager configManager, NotificationCenter notificationCenter, EventHandler eventHandler, ODPApiManager odpApiManager, DefaultCmabService cmabService) {
377+
public static Optimizely newDefaultInstance(ProjectConfigManager configManager, NotificationCenter notificationCenter, EventHandler eventHandler, ODPApiManager odpApiManager, CmabService cmabService) {
377378
if (notificationCenter == null) {
378379
notificationCenter = new NotificationCenter();
379380
}

0 commit comments

Comments
 (0)