Skip to content

Commit 9343249

Browse files
committed
cleanup
1 parent 03d5c86 commit 9343249

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/examples/java/com/devcycle/examples/LocalExample.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,7 @@ public static void main(String[] args) throws InterruptedException {
2525

2626
DevCycleLocalOptions options = DevCycleLocalOptions.builder()
2727
.configPollingIntervalMS(60000)
28-
.disableAutomaticEventLogging(false)
2928
.customLogger(new SimpleDevCycleLogger(SimpleDevCycleLogger.Level.DEBUG))
30-
.disableCustomEventLogging(false)
3129
.enableBetaRealtimeUpdates(true)
3230
.build();
3331

src/main/java/com/devcycle/sdk/server/common/interceptor/CustomHeaderInterceptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public CustomHeaderInterceptor(IRestOptions restOptions) {
2323
public Response intercept(Chain chain) throws IOException {
2424
Request request = chain.request();
2525

26-
if (restOptions != null && chain.request().url().url().getHost().contains("devcycle")) {
26+
if (restOptions != null) {
2727
Request.Builder builder = request.newBuilder();
2828

2929
for (Map.Entry<String, String> entry : restOptions.getHeaders().entrySet()) {

0 commit comments

Comments
 (0)