Skip to content

Commit c629c49

Browse files
author
Josh Deffibaugh
committed
Fixes doc warnings
1 parent fc181e7 commit c629c49

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

event-handler/src/main/java/com/optimizely/ab/android/event_handler/EventIntentService.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public EventIntentService() {
5151

5252
/**
5353
* @hide
54-
* @see @link IntentService#onCreate()
54+
* @see IntentService#onCreate()
5555
*/
5656
@Override
5757
public void onCreate() {

event-handler/src/main/java/com/optimizely/ab/android/event_handler/OptlyEventHandler.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ private OptlyEventHandler(@NonNull Context context) {
4848
* Gets a new instance
4949
*
5050
* @param context any valid Android {@link Context}
51+
* @return a new instance of {@link OptlyEventHandler}
5152
*/
5253
public static OptlyEventHandler getInstance(@NonNull Context context) {
5354
return new OptlyEventHandler(context);

shared/src/main/java/com/optimizely/ab/android/shared/Cache.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public Cache(@NonNull Context context, @NonNull Logger logger) {
5454
*
5555
* @param fileName the path to the file
5656
* @return the loaded cache file as String
57-
* @throws IOException
57+
* @throws IOException if file can't be loaded
5858
* @hide
5959
*/
6060
@NonNull
@@ -105,7 +105,7 @@ public boolean exists(String fileName) {
105105
* @param fileName the path to the file
106106
* @param data the String data to write to the file
107107
* @return true if the file was saved
108-
* @throws IOException
108+
* @throws IOException if file can't be saved
109109
* @hide
110110
*/
111111
public boolean save(String fileName, String data) throws IOException {

shared/src/main/java/com/optimizely/ab/android/shared/Client.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public Client(@NonNull OptlyStorage optlyStorage, @NonNull Logger logger) {
5656
*
5757
* @param url a {@link URL} instance
5858
* @return an open {@link HttpURLConnection}
59-
* @throws IOException
59+
* @throws IOException if connection can't be opened
6060
* @hide
6161
*/
6262
public HttpURLConnection openConnection(URL url) throws IOException {

0 commit comments

Comments
 (0)