forked from I2P_Developers/i2p.i2p
findbugs tunnel
This commit is contained in:
@@ -743,7 +743,7 @@ public class TunnelDispatcher implements Service {
|
||||
|
||||
private static final int LEAVE_BATCH_TIME = 10*1000;
|
||||
public void add(HopConfig cfg) {
|
||||
Long dropTime = new Long(cfg.getExpiration() + 2*Router.CLOCK_FUDGE_FACTOR + LEAVE_BATCH_TIME);
|
||||
Long dropTime = Long.valueOf(cfg.getExpiration() + 2*Router.CLOCK_FUDGE_FACTOR + LEAVE_BATCH_TIME);
|
||||
boolean noTunnels;
|
||||
synchronized (LeaveTunnel.this) {
|
||||
noTunnels = _configs.isEmpty();
|
||||
|
@@ -229,7 +229,7 @@ public class TunnelGateway {
|
||||
synchronized (Pending.this) {
|
||||
if (_messageIds == null)
|
||||
_messageIds = new ArrayList();
|
||||
_messageIds.add(new Long(id));
|
||||
_messageIds.add(Long.valueOf(id));
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
Reference in New Issue
Block a user