Changeset 6ee9b79


Ignore:
Timestamp:
Feb 26, 2012 9:13:06 PM (8 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
394943c3
Parents:
da482c37
Message:

generics, final

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/client/RequestLeaseSetMessageHandler.java

    rda482c37 r6ee9b79  
    3535 */
    3636class RequestLeaseSetMessageHandler extends HandlerImpl {
    37     private final Map _existingLeaseSets;
     37    private final Map<Destination, LeaseInfo> _existingLeaseSets;
    3838
    3939    public RequestLeaseSetMessageHandler(I2PAppContext context) {
     
    6060
    6161        // reuse the old keys for the client
    62         LeaseInfo li = (LeaseInfo) _existingLeaseSets.get(session.getMyDestination());
     62        LeaseInfo li = _existingLeaseSets.get(session.getMyDestination());
    6363        if (li == null) {
    6464            li = new LeaseInfo(session.getMyDestination());
     
    9999
    100100    private static class LeaseInfo {
    101         private PublicKey _pubKey;
    102         private PrivateKey _privKey;
    103         private SigningPublicKey _signingPubKey;
    104         private SigningPrivateKey _signingPrivKey;
    105         private Destination _dest;
     101        private final PublicKey _pubKey;
     102        private final PrivateKey _privKey;
     103        private final SigningPublicKey _signingPubKey;
     104        private final SigningPrivateKey _signingPrivKey;
     105        private final Destination _dest;
    106106
    107107        public LeaseInfo(Destination dest) {
Note: See TracChangeset for help on using the changeset viewer.