forked from I2P_Developers/i2p.i2p
remove unused private items (eclipse)
This commit is contained in:
@@ -1069,7 +1069,6 @@ class Connection {
|
||||
* fired to reschedule event notification
|
||||
*/
|
||||
class ConEvent implements SimpleTimer.TimedEvent {
|
||||
private Exception _addedBy; // unused?
|
||||
public ConEvent() {
|
||||
//_addedBy = new Exception("added by");
|
||||
}
|
||||
|
@@ -36,7 +36,6 @@ class ConnectionManager {
|
||||
private final ConcurrentHashMap<Long, Connection> _connectionByInboundId;
|
||||
/** Ping ID (Long) to PingRequest */
|
||||
private final Map<Long, PingRequest> _pendingPings;
|
||||
private boolean _allowIncoming;
|
||||
private boolean _throttlersInitialized;
|
||||
private int _maxConcurrentStreams;
|
||||
private final ConnectionOptions _defaultOptions;
|
||||
@@ -494,13 +493,9 @@ class ConnectionManager {
|
||||
|
||||
private static class PingRequest {
|
||||
private boolean _ponged;
|
||||
private final Destination _peer;
|
||||
private final PacketLocal _packet;
|
||||
private final PingNotifier _notifier;
|
||||
|
||||
public PingRequest(Destination peer, PacketLocal packet, PingNotifier notifier) {
|
||||
_peer = peer;
|
||||
_packet = packet;
|
||||
_notifier = notifier;
|
||||
}
|
||||
|
||||
|
@@ -14,7 +14,6 @@ import net.i2p.data.Destination;
|
||||
*/
|
||||
class I2PSocketFull implements I2PSocket {
|
||||
private Connection _connection;
|
||||
private I2PSocket.SocketErrorListener _listener;
|
||||
private Destination _remotePeer;
|
||||
private Destination _localPeer;
|
||||
|
||||
@@ -118,7 +117,6 @@ class I2PSocketFull implements I2PSocket {
|
||||
}
|
||||
|
||||
public void setSocketErrorListener(I2PSocket.SocketErrorListener lsnr) {
|
||||
_listener = lsnr;
|
||||
}
|
||||
|
||||
public boolean isClosed() {
|
||||
@@ -142,8 +140,7 @@ class I2PSocketFull implements I2PSocket {
|
||||
* @since 0.8.13
|
||||
*/
|
||||
void destroy2() {
|
||||
_connection = null;
|
||||
_listener = null;
|
||||
_connection = null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -19,7 +19,6 @@ import net.i2p.util.Log;
|
||||
*
|
||||
*/
|
||||
class MessageInputStream extends InputStream {
|
||||
private final I2PAppContext _context;
|
||||
private final Log _log;
|
||||
/**
|
||||
* List of ByteArray objects of data ready to be read,
|
||||
@@ -57,7 +56,6 @@ class MessageInputStream extends InputStream {
|
||||
private final Object _dataLock;
|
||||
|
||||
public MessageInputStream(I2PAppContext ctx) {
|
||||
_context = ctx;
|
||||
_log = ctx.logManager().getLog(MessageInputStream.class);
|
||||
_readyDataBlocks = new ArrayList(4);
|
||||
_highestReadyBlockId = -1;
|
||||
|
Reference in New Issue
Block a user