@@ -285,13 +285,15 @@ public void track(@Nonnull String eventName,
285285
286286 //======== live variable getters ========//
287287
288+ @ Deprecated
288289 public @ Nullable
289290 String getVariableString (@ Nonnull String variableKey ,
290291 @ Nonnull String userId ,
291292 boolean activateExperiment ) throws UnknownLiveVariableException {
292293 return getVariableString (variableKey , userId , Collections .<String , String >emptyMap (), activateExperiment );
293294 }
294295
296+ @ Deprecated
295297 public @ Nullable
296298 String getVariableString (@ Nonnull String variableKey ,
297299 @ Nonnull String userId ,
@@ -332,13 +334,15 @@ String getVariableString(@Nonnull String variableKey,
332334 return variable .getDefaultValue ();
333335 }
334336
337+ @ Deprecated
335338 public @ Nullable
336339 Boolean getVariableBoolean (@ Nonnull String variableKey ,
337340 @ Nonnull String userId ,
338341 boolean activateExperiment ) throws UnknownLiveVariableException {
339342 return getVariableBoolean (variableKey , userId , Collections .<String , String >emptyMap (), activateExperiment );
340343 }
341344
345+ @ Deprecated
342346 public @ Nullable
343347 Boolean getVariableBoolean (@ Nonnull String variableKey ,
344348 @ Nonnull String userId ,
@@ -354,13 +358,15 @@ Boolean getVariableBoolean(@Nonnull String variableKey,
354358 return null ;
355359 }
356360
361+ @ Deprecated
357362 public @ Nullable
358363 Integer getVariableInteger (@ Nonnull String variableKey ,
359364 @ Nonnull String userId ,
360365 boolean activateExperiment ) throws UnknownLiveVariableException {
361366 return getVariableInteger (variableKey , userId , Collections .<String , String >emptyMap (), activateExperiment );
362367 }
363368
369+ @ Deprecated
364370 public @ Nullable
365371 Integer getVariableInteger (@ Nonnull String variableKey ,
366372 @ Nonnull String userId ,
@@ -381,13 +387,15 @@ Integer getVariableInteger(@Nonnull String variableKey,
381387 return null ;
382388 }
383389
390+ @ Deprecated
384391 public @ Nullable
385392 Double getVariableDouble (@ Nonnull String variableKey ,
386393 @ Nonnull String userId ,
387394 boolean activateExperiment ) throws UnknownLiveVariableException {
388395 return getVariableDouble (variableKey , userId , Collections .<String , String >emptyMap (), activateExperiment );
389396 }
390397
398+ @ Deprecated
391399 public @ Nullable
392400 Double getVariableDouble (@ Nonnull String variableKey ,
393401 @ Nonnull String userId ,
@@ -588,6 +596,7 @@ private EventType getEventTypeOrThrow(ProjectConfig projectConfig, String eventN
588596 * @throws UnknownLiveVariableException if there are no event types in the current project config with the given
589597 * name
590598 */
599+ @ Deprecated
591600 private LiveVariable getLiveVariableOrThrow (ProjectConfig projectConfig , String variableKey )
592601 throws UnknownLiveVariableException {
593602
0 commit comments