Skip to content

Commit 56cb772

Browse files
author
Athira M
committed
Value can be empty or null
1 parent 5b5d9c8 commit 56cb772

File tree

1 file changed

+1
-2
lines changed
  • src/main/java/com/google/firebase/remoteconfig

1 file changed

+1
-2
lines changed

src/main/java/com/google/firebase/remoteconfig/Value.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ class Value {
4949
* @param source Indicates the source of a value.
5050
* @param value Indicates a parameter value.
5151
*/
52-
Value(@NonNull ValueSource source, @NonNull String value) {
53-
checkArgument(!Strings.isNullOrEmpty(value), "Value cannot be null or empty.");
52+
Value(@NonNull ValueSource source, String value) {
5453
checkNotNull(source, "Value source cannot be null.");
5554
this.source = source;
5655
this.value = value;

0 commit comments

Comments
 (0)