* NTCP: Remove getIsInbound(), duplicate of isInbound()

This commit is contained in:
zzz
2008-06-24 14:38:09 +00:00
parent 0e018c5b4d
commit a11b74b2d8
2 changed files with 1 additions and 3 deletions

View File

@ -431,8 +431,6 @@ public class NTCPConnection implements FIFOBandwidthLimiter.CompleteListener {
_transport.getWriter().wantsWrite(this, "outbound established");
}
public boolean getIsInbound() { return _isInbound; }
// Time vs space tradeoff:
// on slow GCing jvms, the mallocs in the following preparation can cause the
// write to get congested, taking up a substantial portion of the Writer's

View File

@ -577,7 +577,7 @@ public class NTCPTransport extends TransportImpl {
String name = con.getRemotePeer().calculateHash().toBase64().substring(0,6);
buf.append("<tr><td><code><a href=\"netdb.jsp#").append(name).append("\">").append(name);
buf.append("</code></td><td align=\"center\"><code>");
if (con.getIsInbound())
if (con.isInbound())
buf.append("in");
else
buf.append("out");