Changeset c29d091


Ignore:
Timestamp:
Jan 10, 2011 4:15:31 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
dfcb81c
Parents:
e4bb053
Message:

findbugs tunnel

Location:
router/java/src/net/i2p/router/tunnel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/tunnel/TunnelDispatcher.java

    re4bb053 rc29d091  
    744744        private static final int LEAVE_BATCH_TIME = 10*1000;
    745745        public void add(HopConfig cfg) {
    746             Long dropTime = new Long(cfg.getExpiration() + 2*Router.CLOCK_FUDGE_FACTOR + LEAVE_BATCH_TIME);
     746            Long dropTime = Long.valueOf(cfg.getExpiration() + 2*Router.CLOCK_FUDGE_FACTOR + LEAVE_BATCH_TIME);
    747747            boolean noTunnels;
    748748            synchronized (LeaveTunnel.this) {
  • router/java/src/net/i2p/router/tunnel/TunnelGateway.java

    re4bb053 rc29d091  
    230230                if (_messageIds == null)
    231231                    _messageIds = new ArrayList();
    232                 _messageIds.add(new Long(id));
     232                _messageIds.add(Long.valueOf(id));
    233233            }
    234234        }
Note: See TracChangeset for help on using the changeset viewer.