Skip to content

Commit eec98b2

Browse files
committed
style: spotless apply
1 parent 91847a3 commit eec98b2

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

firebase-functions/src/main/java/com/google/firebase/functions/HttpsCallableReference.kt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ package com.google.firebase.functions
1515

1616
import androidx.annotation.VisibleForTesting
1717
import com.google.android.gms.tasks.Task
18-
import kotlinx.coroutines.flow.Flow
19-
import kotlinx.coroutines.reactive.asFlow
2018
import java.net.URL
2119
import java.util.concurrent.TimeUnit
20+
import kotlinx.coroutines.flow.Flow
21+
import kotlinx.coroutines.reactive.asFlow
2222
import org.reactivestreams.Publisher
2323

2424
/** A reference to a particular Callable HTTPS trigger in Cloud Functions. */
@@ -205,8 +205,8 @@ public class HttpsCallableReference {
205205
* Instance ID the next time you call this method.
206206
*
207207
* @param data Parameters to pass to the endpoint. Defaults to `null` if not provided.
208-
* @return [Flow] that will emit intermediate data, and the final result, as it is generated
209-
* by the function.
208+
* @return [Flow] that will emit intermediate data, and the final result, as it is generated by
209+
* the function.
210210
* @see org.json.JSONArray
211211
*
212212
* @see org.json.JSONObject
@@ -216,8 +216,7 @@ public class HttpsCallableReference {
216216
* @see FirebaseFunctionsException
217217
*/
218218
@JvmOverloads
219-
public fun streamAsFlow(data: Any? = null): Flow<StreamResponse> =
220-
stream(data).asFlow()
219+
public fun streamAsFlow(data: Any? = null): Flow<StreamResponse> = stream(data).asFlow()
221220

222221
/**
223222
* Changes the timeout for calls from this instance of Functions. The default is 60 seconds.

0 commit comments

Comments
 (0)