forked from I2P_Developers/i2p.i2p
made private things that don't need to be public
remove semantic inconsistency wrt getRemoteId(false) - it shouldn't ever timeout, since it always returns immediately javadoc (though i wish i understood the close/close2/sendClose more clearly so i could javadoc that process)
This commit is contained in:
@ -159,11 +159,7 @@ public class I2PSocketManager implements I2PSessionListener {
|
||||
}
|
||||
|
||||
String remoteId = null;
|
||||
try {
|
||||
remoteId = s.getRemoteID(false);
|
||||
} catch (InterruptedIOException iie) {
|
||||
throw new RuntimeException("ERROR! getRemoteId(false) should never throw InterruptedIOException!");
|
||||
}
|
||||
remoteId = s.getRemoteID(false);
|
||||
|
||||
if ( (payload.length == 3) && (remoteId == null) ) {
|
||||
String newID = toString(payload);
|
||||
|
Reference in New Issue
Block a user