I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit d9fed57c authored by zzz's avatar zzz
Browse files

more finals

parent 46e7e9be
No related branches found
No related tags found
No related merge requests found
...@@ -51,14 +51,15 @@ import net.i2p.util.EventDispatcher; ...@@ -51,14 +51,15 @@ import net.i2p.util.EventDispatcher;
private static final AtomicLong __clientId = new AtomicLong(); private static final AtomicLong __clientId = new AtomicLong();
protected long _clientId; protected long _clientId;
protected Destination dest = null; protected Destination dest;
private final Object startLock = new Object(); private final Object startLock = new Object();
private I2PSession _session; private final I2PSession _session;
private Source _i2pSource; private final Source _i2pSource;
private Sink _i2pSink; private final Sink _i2pSink;
private Destination _otherDest; private final Destination _otherDest;
/** /**
* @throws IllegalArgumentException if the I2CP configuration is b0rked so * @throws IllegalArgumentException if the I2CP configuration is b0rked so
* badly that we cant create a socketManager * badly that we cant create a socketManager
...@@ -105,6 +106,7 @@ import net.i2p.util.EventDispatcher; ...@@ -105,6 +106,7 @@ import net.i2p.util.EventDispatcher;
} }
_i2pSink = new I2PSink(_session, _otherDest, false); _i2pSink = new I2PSink(_session, _otherDest, false);
} else { } else {
_otherDest = null;
_i2pSink = new I2PSinkAnywhere(_session, false); _i2pSink = new I2PSinkAnywhere(_session, false);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment