Suppress false-positive inspection warnings /
This commit is contained in:
parent
a07fb94fe7
commit
61d872d6e2
@ -60,6 +60,7 @@ final class UTF8Output {
|
||||
12, 36, 12, 12, 12, 36, 12, 12, 12, 12, 12, 36, 12, 36, 12, 12, 12, 36, 12, 12, 12, 12,
|
||||
12, 12, 12, 12, 12, 12 };
|
||||
|
||||
@SuppressWarnings("RedundantFieldInitialization")
|
||||
private int state = UTF8_ACCEPT;
|
||||
private int codep;
|
||||
|
||||
|
@ -17,10 +17,10 @@ package io.netty.util;
|
||||
|
||||
import io.netty.logging.InternalLogger;
|
||||
import io.netty.logging.InternalLoggerFactory;
|
||||
import io.netty.monitor.ValueDistributionMonitor;
|
||||
import io.netty.monitor.EventRateMonitor;
|
||||
import io.netty.monitor.MonitorName;
|
||||
import io.netty.monitor.MonitorRegistry;
|
||||
import io.netty.monitor.ValueDistributionMonitor;
|
||||
import io.netty.util.internal.DetectionUtil;
|
||||
import io.netty.util.internal.SharedResourceMisuseDetector;
|
||||
|
||||
@ -508,7 +508,7 @@ public class HashedWheelTimer implements Timer {
|
||||
// it to a temporary list - we will reschedule it in a
|
||||
// separate loop.
|
||||
if (slipped == null) {
|
||||
slipped = new ArrayList<HashedWheelTimer.HashedWheelTimeout>();
|
||||
slipped = new ArrayList<HashedWheelTimeout>();
|
||||
}
|
||||
slipped.add(timeout);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user