From 15565ca09ce066e78f7f397b0cf8b0237570564f Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Fri, 7 Aug 2009 16:17:52 +0000 Subject: [PATCH] more hellips --- .../java/src/org/klomp/snark/web/I2PSnarkServlet.java | 4 ++-- router/java/src/net/i2p/router/PersistentKeyRing.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java index 21d1edc279..f2f71e6baa 100644 --- a/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java +++ b/apps/i2psnark/java/src/org/klomp/snark/web/I2PSnarkServlet.java @@ -401,7 +401,7 @@ public class I2PSnarkServlet extends HttpServlet { if (i > 0) filename = filename.substring(0, i); if (filename.length() > MAX_DISPLAYED_FILENAME_LENGTH) - filename = filename.substring(0, MAX_DISPLAYED_FILENAME_LENGTH) + "..."; + filename = filename.substring(0, MAX_DISPLAYED_FILENAME_LENGTH) + "…"; long total = snark.meta.getTotalLength(); // Early typecast, avoid possibly overflowing a temp integer long remaining = (long) snark.storage.needed() * (long) snark.meta.getPieceLength(0); @@ -453,7 +453,7 @@ public class I2PSnarkServlet extends HttpServlet { statusString = "<a title=\"" + err + "\">TrackerErr (" + curPeers + "/" + knownPeers + " peers)"; else { if (err.length() > MAX_DISPLAYED_ERROR_LENGTH) - err = err.substring(0, MAX_DISPLAYED_ERROR_LENGTH) + "..."; + err = err.substring(0, MAX_DISPLAYED_ERROR_LENGTH) + "…"; statusString = "TrackerErr<br />(" + err + ")"; } } else if (remaining <= 0) { diff --git a/router/java/src/net/i2p/router/PersistentKeyRing.java b/router/java/src/net/i2p/router/PersistentKeyRing.java index 9b7ffe0f38..ec1ae24d58 100644 --- a/router/java/src/net/i2p/router/PersistentKeyRing.java +++ b/router/java/src/net/i2p/router/PersistentKeyRing.java @@ -71,7 +71,7 @@ public class PersistentKeyRing extends KeyRing { for (Entry<Hash, SessionKey> e : entrySet()) { buf.append("\n<tr><td>"); Hash h = e.getKey(); - buf.append(h.toBase64().substring(0, 6)).append("..."); + buf.append(h.toBase64().substring(0, 6)).append("…"); buf.append("<td>"); LeaseSet ls = _ctx.netDb().lookupLeaseSetLocally(h); if (ls != null) { @@ -81,13 +81,13 @@ public class PersistentKeyRing extends KeyRing { if (in != null && in.getDestinationNickname() != null) buf.append(in.getDestinationNickname()); else - buf.append(dest.toBase64().substring(0, 6)).append("..."); + buf.append(dest.toBase64().substring(0, 6)).append("…"); } else { String host = _ctx.namingService().reverseLookup(dest); if (host != null) buf.append(host); else - buf.append(dest.toBase64().substring(0, 6)).append("..."); + buf.append(dest.toBase64().substring(0, 6)).append("…"); } } buf.append("<td>"); -- GitLab