Skip to content

Commit fff5cb3

Browse files
committed
Code Quality Improvement - Constructors should only call non-overridable methods
update
1 parent 86898db commit fff5cb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ public Manager reconnectionAttempts(int v) {
180180
return this;
181181
}
182182

183-
public long reconnectionDelay() {
183+
public final long reconnectionDelay() {
184184
return this._reconnectionDelay;
185185
}
186186

@@ -192,7 +192,7 @@ public Manager reconnectionDelay(long v) {
192192
return this;
193193
}
194194

195-
public double randomizationFactor() {
195+
public final double randomizationFactor() {
196196
return this._randomizationFactor;
197197
}
198198

@@ -204,7 +204,7 @@ public Manager randomizationFactor(double v) {
204204
return this;
205205
}
206206

207-
public long reconnectionDelayMax() {
207+
public final long reconnectionDelayMax() {
208208
return this._reconnectionDelayMax;
209209
}
210210

0 commit comments

Comments
 (0)