Skip to content
This repository was archived by the owner on Jan 31, 2022. It is now read-only.

Commit 9bcd0d2

Browse files
committed
chore(CompletionHandler): Mark parameters as Nullable
1 parent a5881e5 commit 9bcd0d2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

algoliasearch/src/main/java/com/algolia/search/saas/CompletionHandler.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323

2424
package com.algolia.search.saas;
2525

26+
import android.support.annotation.Nullable;
27+
2628
import org.json.JSONObject;
2729

2830
/**
@@ -39,5 +41,5 @@ public interface CompletionHandler {
3941
* @param content Content that was returned by the API (in case of success).
4042
* @param error Error that was encountered (in case of failure).
4143
*/
42-
void requestCompleted(JSONObject content, AlgoliaException error);
44+
void requestCompleted(@Nullable JSONObject content, @Nullable AlgoliaException error);
4345
}

0 commit comments

Comments
 (0)