Skip to content

Commit 1ef3b2c

Browse files
committed
Merge pull request #258 from DevFactory/release/redundant-field-initializer-fix-1
Code Quality Improvement - Redundant Field Initializer
2 parents 669696f + 2b7a40b commit 1ef3b2c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/main/java/io/socket/backo/Backoff.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ public class Backoff {
88
private long ms = 100;
99
private long max = 10000;
1010
private int factor = 2;
11-
private double jitter = 0.0;
12-
private int attempts = 0;
11+
private double jitter;
12+
private int attempts;
1313

1414
public Backoff() {}
1515

src/main/java/io/socket/client/Manager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ public class Manager extends Emitter {
7272
/*package*/ static SSLContext defaultSSLContext;
7373
/*package*/ static HostnameVerifier defaultHostnameVerifier;
7474

75-
/*package*/ ReadyState readyState = null;
75+
/*package*/ ReadyState readyState;
7676

7777
private boolean _reconnection;
7878
private boolean skipReconnect;

0 commit comments

Comments
 (0)