Skip to content

Commit 8890120

Browse files
wangjoshuahjophde
authored andcommitted
update documentation of getOptimizely() (#27)
fix small grammar and spelling issues
1 parent 668637f commit 8890120

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

android-sdk/src/main/java/com/optimizely/ab/android/sdk/OptimizelyManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,15 +164,15 @@ public void stop(@NonNull Context context) {
164164
}
165165

166166
/**
167-
* Gets a chanced Optimizely instance
167+
* Gets a cached Optimizely instance
168168
*
169169
* If {@link #start(Activity, OptimizelyStartListener)} or {@link #start(Context, OptimizelyStartListener)}
170170
* has not been called yet the returned {@link AndroidOptimizely} instance will be a dummy instance
171171
* that logs warnings in order to prevent {@link NullPointerException}.
172172
*
173173
* If {@link #getOptimizely(Context, int)} was used the built {@link AndroidOptimizely} instance
174174
* will be updated. Using {@link #start(Activity, OptimizelyStartListener)} or {@link #start(Context, OptimizelyStartListener)}
175-
* will update the cache instance with new {@link AndroidOptimizely} built from a cached local
175+
* will update the cached instance with a new {@link AndroidOptimizely} built from a cached local
176176
* datafile on disk or a remote datafile on the CDN.
177177
* @return the cached instance of {@link AndroidOptimizely}
178178
*/

0 commit comments

Comments
 (0)