Skip to content

Commit 170fb9f

Browse files
authored
Change access modifier for getVariation(ProjectConfig, ...) from public to private (#93)
1 parent bd9ba4a commit 170fb9f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -451,10 +451,10 @@ public void track(@Nonnull String eventName,
451451
return getVariation(currentConfig, experiment, attributes, userId);
452452
}
453453

454-
public @Nullable Variation getVariation(@Nonnull ProjectConfig projectConfig,
455-
@Nonnull Experiment experiment,
456-
@Nonnull Map<String, String> attributes,
457-
@Nonnull String userId) {
454+
private @Nullable Variation getVariation(@Nonnull ProjectConfig projectConfig,
455+
@Nonnull Experiment experiment,
456+
@Nonnull Map<String, String> attributes,
457+
@Nonnull String userId) {
458458

459459
// determine whether all the given attributes are present in the project config. If not, filter out the unknown
460460
// attributes.

0 commit comments

Comments
 (0)