Skip to content

Commit eb9c9fa

Browse files
committed
Add @nonnull annotation to updatedParams.
1 parent 3b9ed42 commit eb9c9fa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

firebase-config/api.txt

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

44
public interface ConfigUpdateListener {
55
method public void onError(@NonNull com.google.firebase.remoteconfig.FirebaseRemoteConfigException);
6-
method public void onUpdate(java.util.Set<java.lang.String>);
6+
method public void onUpdate(@NonNull java.util.Set<java.lang.String>);
77
}
88

99
public interface ConfigUpdateListenerRegistration {

firebase-config/src/main/java/com/google/firebase/remoteconfig/ConfigUpdateListener.java

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

1515
package com.google.firebase.remoteconfig;
1616

17+
import androidx.annotation.NonNull;
18+
1719
import java.util.Set;
1820
import javax.annotation.Nonnull;
1921

@@ -31,7 +33,7 @@ public interface ConfigUpdateListener {
3133
* Includes keys that are: added; deleted; and whose value, value source, or metadata has
3234
* changed.
3335
*/
34-
void onUpdate(Set<String> updatedParams);
36+
void onUpdate(@NonNull Set<String> updatedParams);
3537

3638
/**
3739
* Callback for when an error occurs while listening for or fetching a config update.

0 commit comments

Comments
 (0)