Skip to content

Commit 80e720c

Browse files
committed
cleanup for release;
1 parent d14da5c commit 80e720c

File tree

4 files changed

+7
-41
lines changed

4 files changed

+7
-41
lines changed

client/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>io.split.client</groupId>
77
<artifactId>java-client-parent</artifactId>
8-
<version>4.1.7-rc5</version>
8+
<version>4.1.7</version>
99
</parent>
1010
<artifactId>java-client</artifactId>
1111
<packaging>jar</packaging>

client/src/main/java/io/split/client/SplitClientConfig.java

+4-38
Original file line numberDiff line numberDiff line change
@@ -304,10 +304,10 @@ public static final class Builder {
304304
private int _streamingReconnectBackoffBase = 1;
305305
private String _authServiceURL = "https://auth.split.io/api/auth";
306306
private String _streamingServiceURL = "https://streaming.split.io/sse";
307-
private int _onDemandFetchRetryDelayMs = 50;
308-
private int _onDemandFetchMaxRetries = 10;
309-
private int _failedAttemptsBeforeLogging = -1;
310-
private boolean _cdnDebugLogging = true;
307+
private final int _onDemandFetchRetryDelayMs = 50;
308+
private final int _onDemandFetchMaxRetries = 10;
309+
private final int _failedAttemptsBeforeLogging = 10;
310+
private final boolean _cdnDebugLogging = true;
311311

312312
public Builder() {
313313
}
@@ -699,36 +699,6 @@ public Builder streamingServiceURL(String streamingServiceURL) {
699699
return this;
700700
}
701701

702-
/**
703-
* Set Streaming retry delay.
704-
* @param onDemandFetchRetryDelayMs
705-
* @return
706-
*/
707-
public Builder streamingRetryDelay(int onDemandFetchRetryDelayMs) {
708-
_onDemandFetchRetryDelayMs = onDemandFetchRetryDelayMs;
709-
return this;
710-
}
711-
712-
public Builder streamingFetchMaxRetries(int maxRetries) {
713-
_onDemandFetchMaxRetries = maxRetries;
714-
return this;
715-
}
716-
717-
public Builder failedAttemptsBeforeLoggingCDNInfo(int failedAttemptsBeforeLogging) {
718-
_failedAttemptsBeforeLogging = failedAttemptsBeforeLogging;
719-
return this;
720-
}
721-
722-
/**
723-
* Enable logging response headers for requests made to our CDN.
724-
* @param cdnDebugLogging
725-
* @return
726-
*/
727-
public Builder cdnDebugLogging(boolean cdnDebugLogging) {
728-
_cdnDebugLogging = cdnDebugLogging;
729-
return this;
730-
}
731-
732702
public SplitClientConfig build() {
733703
if (_featuresRefreshRate < 5 ) {
734704
throw new IllegalArgumentException("featuresRefreshRate must be >= 5: " + _featuresRefreshRate);
@@ -806,10 +776,6 @@ public SplitClientConfig build() {
806776
throw new IllegalStateException("_onDemandFetchMaxRetries must be > 0");
807777
}
808778

809-
if (_failedAttemptsBeforeLogging < 0) {
810-
_failedAttemptsBeforeLogging = _onDemandFetchMaxRetries / 2;
811-
}
812-
813779
return new SplitClientConfig(
814780
_endpoint,
815781
_eventsEndpoint,

pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55
<groupId>io.split.client</groupId>
66
<artifactId>java-client-parent</artifactId>
7-
<version>4.1.7-rc5</version>
7+
<version>4.1.7</version>
88
<dependencyManagement>
99
<dependencies>
1010
<dependency>

testing/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<parent>
77
<groupId>io.split.client</groupId>
88
<artifactId>java-client-parent</artifactId>
9-
<version>4.1.7-rc5</version>
9+
<version>4.1.7</version>
1010
</parent>
1111

1212
<artifactId>java-client-testing</artifactId>

0 commit comments

Comments
 (0)