Changeset bd7e655


Ignore:
Timestamp:
Aug 31, 2011 12:49:33 PM (9 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
b328b47
Parents:
a928f5e
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/data/LeaseSet.java

    ra928f5e rbd7e655  
    6262    private SigningPublicKey _signingKey;
    6363    // Keep leases in the order received, or else signature verification will fail!
    64     private List<Lease> _leases;
     64    private final List<Lease> _leases;
    6565    private boolean _receivedAsPublished;
    6666    private boolean _receivedAsReply;
     
    226226
    227227    protected byte[] getBytes() {
    228         if ((_destination == null) || (_encryptionKey == null) || (_signingKey == null) || (_leases == null))
     228        if ((_destination == null) || (_encryptionKey == null) || (_signingKey == null))
    229229            return null;
    230230        int len = PublicKey.KEYSIZE_BYTES  // dest
     
    281281     */
    282282    public void writeBytes(OutputStream out) throws DataFormatException, IOException {
    283         if ((_destination == null) || (_encryptionKey == null) || (_signingKey == null) || (_leases == null)
     283        if ((_destination == null) || (_encryptionKey == null) || (_signingKey == null)
    284284            || (_signature == null)) throw new DataFormatException("Not enough data to write out a LeaseSet");
    285285
Note: See TracChangeset for help on using the changeset viewer.