Removed unused code from HashedWheelTimer
This commit is contained in:
parent
c46be1c7f9
commit
fff170b71e
@ -230,15 +230,6 @@ public class HashedWheelTimer implements Timer {
|
||||
return timeout;
|
||||
}
|
||||
|
||||
boolean isWheelEmpty() {
|
||||
for (Set<HashedWheelTimeout> bucket: wheel) {
|
||||
if (!bucket.isEmpty()) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
private final class Worker implements Runnable {
|
||||
|
||||
private long startTime;
|
||||
|
Loading…
Reference in New Issue
Block a user