From 18a6a9e96575e901ad1de674e271b7cd638c35af Mon Sep 17 00:00:00 2001
From: jrandom <jrandom>
Date: Wed, 25 Aug 2004 06:47:23 +0000
Subject: [PATCH] arrggggh, 1.4-ism that kaffe supports (but sun-1.3 users
 havent complained about). (thanks frontier)

---
 .../java/src/net/i2p/client/streaming/I2PSocketImpl.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketImpl.java b/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketImpl.java
index 14d1dac3fc..e064ccefe7 100644
--- a/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketImpl.java
+++ b/apps/ministreaming/java/src/net/i2p/client/streaming/I2PSocketImpl.java
@@ -76,7 +76,7 @@ class I2PSocketImpl implements I2PSocket {
         _socketId = ++__socketId;
         local = mgr.getSession().getMyDestination();
         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");
         I2PInputStream pin = new I2PInputStream(name + " out");
         out = new I2POutputStream(pin);
-- 
GitLab