Skip to content

Commit 6b109e4

Browse files
committed
Remove nullability check
1 parent babe568 commit 6b109e4

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/main/java/io/split/android/client/network/HttpProxy.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package io.split.android.client.network;
22

3-
import static io.split.android.client.utils.Utils.checkNotNull;
4-
53
import androidx.annotation.NonNull;
64
import androidx.annotation.Nullable;
75

@@ -66,7 +64,7 @@ public static Builder newBuilder(@Nullable String host, int port) {
6664
}
6765

6866
public static class Builder {
69-
private final @NonNull String mHost;
67+
private final @Nullable String mHost;
7068
private final int mPort;
7169
private @Nullable String mUsername;
7270
private @Nullable String mPassword;
@@ -77,7 +75,6 @@ public static class Builder {
7775
private ProxyCredentialsProvider mCredentialsProvider;
7876

7977
private Builder(@Nullable String host, int port) {
80-
checkNotNull(host);
8178
mHost = host;
8279
mPort = port;
8380
}

0 commit comments

Comments
 (0)