Skip to content

Commit 11653b4

Browse files
committed
SimpleByteStats: Removed unused static implementation
1 parent 8c1c8ce commit 11653b4

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/main/java/org/threadly/litesockets/utils/SimpleByteStats.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,6 @@
99
* Simple class for trying byteStats. This implementation only tracks global stats.
1010
*/
1111
public class SimpleByteStats {
12-
public static final SimpleByteStats NO_OP_BYTE_STAT_INSTANCE = new SimpleByteStats() {
13-
@Override
14-
protected void addWrite(final int size) {
15-
// ignored
16-
}
17-
18-
@Override
19-
protected void addRead(final int size) {
20-
// ignored
21-
}
22-
};
23-
2412
private final LongAdder bytesRead = new LongAdder();
2513
private final LongAdder bytesWritten = new LongAdder();
2614
private volatile long startTime = Clock.lastKnownForwardProgressingMillis();

0 commit comments

Comments
 (0)