Skip to content

Commit 7d782ac

Browse files
committed
Add comments
1 parent 83d5f4c commit 7d782ac

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

firebase-config/src/main/java/com/google/firebase/remoteconfig/internal/ConfigFetchHandler.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,10 @@ public Task<FetchResponse> fetch(long minimumFetchIntervalInSeconds) {
199199
* <li>The backend responded with unavailable errors for the last two fetch requests.
200200
* </ul>
201201
*
202-
* @return A {@link Task} representing a Realtime fetch call that returns a {@link FetchResponse}
203-
* with the configs fetched from the backend. If the backend was not called or the backend had
204-
* no updates, the {@link FetchResponse}'s configs will be {@code null}.
202+
* @return A {@link Task} representing an immediate fetch call that returns a {@link
203+
* FetchResponse} with the configs fetched from the backend. If the backend was not called or
204+
* the backend had no updates, the {@link FetchResponse}'s configs will be {@code null}.
205+
* FetchType and fetchAttemptNumber help detail what started the fetch call.
205206
*/
206207
public Task<FetchResponse> fetchNowWithTypeAndAttemptNumber(
207208
FetchType fetchType, int fetchAttemptNumber) {

0 commit comments

Comments
 (0)