Skip to content

(fix): make protected method public #301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 29, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public OptimizelyClient initialize(@NonNull Context context, @NonNull String dat
}

/**
* Initialize Optimizely Synchronously using the datafile passed in while downloading the latest datafile in the background from the CDN to cache.
* Initialize Optimizely Synchronously using the datafile passed in.
* It should be noted that even though it initiates a download of the datafile to cache, this method does not use that cached datafile.
* You can always test if a datafile exists in cache with {@link #isDatafileCached(Context)}.
* <p>
Expand All @@ -175,7 +175,7 @@ public OptimizelyClient initialize(@NonNull Context context, @NonNull String dat
* @param downloadToCache to check if datafile should get updated in cache after initialization.
* @return an {@link OptimizelyClient} instance
*/
protected OptimizelyClient initialize(@NonNull Context context, @Nullable String datafile, boolean downloadToCache) {
public OptimizelyClient initialize(@NonNull Context context, @Nullable String datafile, boolean downloadToCache) {
if (!isAndroidVersionSupported()) {
return optimizelyClient;
}
Expand Down