Changeset 819985f


Ignore:
Timestamp:
Aug 25, 2018 5:56:30 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
483f043
Parents:
21fbcb8
Message:

lint

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/SimpleByteCache.java

    r21fbcb8 r819985f  
    7272
    7373    private SimpleByteCache(int maxCachedEntries, int entrySize) {
    74         _available = new TryCache(new ByteArrayFactory(entrySize), maxCachedEntries);
     74        _available = new TryCache<byte[]>(new ByteArrayFactory(entrySize), maxCachedEntries);
    7575        _entrySize = entrySize;
    7676    }
  • router/java/src/net/i2p/data/i2np/DeliveryInstructions.java

    r21fbcb8 r819985f  
    245245        int v = flags & FLAG_MODE;
    246246        v >>>= 5;
    247         return (int)v;
     247        return v;
    248248    }
    249249   
  • router/java/src/net/i2p/router/dummy/VMCommSystem.java

    r21fbcb8 r819985f  
    8787            _context.jobQueue().addJob(msg.getOnSendJob());
    8888            _context.profileManager().messageSent(msg.getTarget().getIdentity().getHash(), "vm", sendTime, msg.getMessageSize());
    89             byte data[] = new byte[(int)msg.getMessageSize()];
     89            byte data[] = new byte[msg.getMessageSize()];
    9090            msg.getMessageData(data);
    9191            _context.statManager().addRateData("transport.sendMessageSize", data.length, sendTime);
Note: See TracChangeset for help on using the changeset viewer.