arrggggh, 1.4-ism that kaffe supports (but sun-1.3 users havent complained about). (thanks frontier)

This commit is contained in:
jrandom
2004-08-25 06:47:23 +00:00
committed by zzz
parent eed8d9c61b
commit 18a6a9e965

View File

@ -76,7 +76,7 @@ class I2PSocketImpl implements I2PSocket {
_socketId = ++__socketId; _socketId = ++__socketId;
local = mgr.getSession().getMyDestination(); local = mgr.getSession().getMyDestination();
String us = mgr.getSession().getMyDestination().calculateHash().toBase64().substring(0,4); String us = mgr.getSession().getMyDestination().calculateHash().toBase64().substring(0,4);
String name = us + (outgoing ? "->" : "<-") + peer.calculateHash().toBase64().subSequence(0,4); String name = us + (outgoing ? "->" : "<-") + peer.calculateHash().toBase64().substring(0,4);
in = new I2PInputStream(name + " in"); in = new I2PInputStream(name + " in");
I2PInputStream pin = new I2PInputStream(name + " out"); I2PInputStream pin = new I2PInputStream(name + " out");
out = new I2POutputStream(pin); out = new I2POutputStream(pin);