@@ -32,7 +32,7 @@ public final class LocalhostSplitFactory implements SplitFactory {
3232 private final SplitClient _client ;
3333 private final LocalhostSplitManager _manager ;
3434 private final AbstractLocalhostSplitFile _splitFile ;
35- private final CacheUpdaterService _cachCacheUpdaterService ;
35+ private final CacheUpdaterService _cacheUpdaterService ;
3636
3737 public static LocalhostSplitFactory createLocalhostSplitFactory (SplitClientConfig config ) throws IOException {
3838 String directory = System .getProperty ("user.home" );
@@ -55,8 +55,8 @@ public LocalhostSplitFactory(String directory, String file) throws IOException {
5555 SDKReadinessGates sdkReadinessGates = new SDKReadinessGates ();
5656
5757 sdkReadinessGates .splitsAreReady ();
58- _cachCacheUpdaterService = new CacheUpdaterService (splitCache );
59- _cachCacheUpdaterService .updateCache (splitAndKeyToTreatment );
58+ _cacheUpdaterService = new CacheUpdaterService (splitCache );
59+ _cacheUpdaterService .updateCache (splitAndKeyToTreatment );
6060 _client = new SplitClientImpl (this , splitCache ,
6161 new ImpressionsManager .NoOpImpressionsManager (), new Metrics .NoopMetrics (), new NoopEventClient (),
6262 SplitClientConfig .builder ().setBlockUntilReadyTimeout (1 ).build (), sdkReadinessGates , new EvaluatorImp (splitCache ));
@@ -88,7 +88,7 @@ public boolean isDestroyed() {
8888 }
8989
9090 public void updateFeatureToTreatmentMap (Map <SplitAndKey , LocalhostSplit > featureToTreatmentMap ) {
91- _cachCacheUpdaterService .updateCache (featureToTreatmentMap );
91+ _cacheUpdaterService .updateCache (featureToTreatmentMap );
9292 _manager .updateFeatureToTreatmentMap (featureToTreatmentMap );
9393 }
9494}
0 commit comments