@@ -39,7 +39,6 @@ private EppoClient(
39
39
String apiKey ,
40
40
String sdkName ,
41
41
String sdkVersion ,
42
- @ Nullable @ Deprecated String host ,
43
42
@ Nullable String baseUrl ,
44
43
@ Nullable AssignmentLogger assignmentLogger ,
45
44
@ Nullable BanditLogger banditLogger ,
@@ -50,7 +49,7 @@ private EppoClient(
50
49
apiKey ,
51
50
sdkName ,
52
51
sdkVersion ,
53
- host ,
52
+ null ,
54
53
baseUrl ,
55
54
assignmentLogger ,
56
55
banditLogger ,
@@ -78,7 +77,6 @@ public static class Builder {
78
77
private boolean isGracefulMode = DEFAULT_IS_GRACEFUL_MODE ;
79
78
private boolean forceReinitialize = DEFAULT_FORCE_REINITIALIZE ;
80
79
private long pollingIntervalMs = DEFAULT_POLLING_INTERVAL_MS ;
81
- private String host = null ; // TODO remove with next major version bump.
82
80
private String apiBaseUrl = null ;
83
81
84
82
// Assignment and bandit caching on by default. To disable, call
@@ -140,16 +138,6 @@ public Builder pollingIntervalMs(long pollingIntervalMs) {
140
138
return this ;
141
139
}
142
140
143
- /**
144
- * Overrides the host from where it fetches configurations. This typically should not be
145
- * explicitly set so that the default of the Fastly CDN is used. @Deprecated - use `apiBaseUrl`
146
- * instead
147
- */
148
- public Builder host (String host ) {
149
- this .host = host ;
150
- return this ;
151
- }
152
-
153
141
/**
154
142
* Overrides the base URL from where the SDK fetches configurations. This typically should not
155
143
* be explicitly set so that the default API URL is used.
@@ -190,7 +178,6 @@ public EppoClient buildAndInit() {
190
178
apiKey ,
191
179
sdkName ,
192
180
sdkVersion ,
193
- host , // TODO remove with next major version bump.
194
181
apiBaseUrl ,
195
182
assignmentLogger ,
196
183
banditLogger ,
0 commit comments