Skip to content

Commit 0256f3e

Browse files
committed
Add api.txt
1 parent 6ac931b commit 0256f3e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

firebase-functions/api.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ package com.google.firebase.functions {
33

44
public class FirebaseFunctions {
55
method @NonNull public com.google.firebase.functions.HttpsCallableReference getHttpsCallable(@NonNull String);
6+
method @NonNull public com.google.firebase.functions.HttpsCallableReference getHttpsCallableFromUrl(@NonNull URL url);
67
method @NonNull public static com.google.firebase.functions.FirebaseFunctions getInstance(@NonNull com.google.firebase.FirebaseApp, @NonNull String);
78
method @NonNull public static com.google.firebase.functions.FirebaseFunctions getInstance(@NonNull com.google.firebase.FirebaseApp);
89
method @NonNull public static com.google.firebase.functions.FirebaseFunctions getInstance(@NonNull String);

firebase-functions/src/main/java/com/google/firebase/functions/FirebaseFunctions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ public HttpsCallableReference getHttpsCallable(@NonNull String name) {
205205
}
206206

207207
@NonNull
208-
public HttpsCallableReference getHttpsCallableFromUrl(@NonNull String url) throws MalformedURLException {
209-
return new HttpsCallableReference(this, new URL(url));
208+
public HttpsCallableReference getHttpsCallableFromUrl(@NonNull URL url) {
209+
return new HttpsCallableReference(this, url);
210210
}
211211

212212
/**

0 commit comments

Comments
 (0)