* NTCP: Remove getIsInbound(), duplicate of isInbound()
This commit is contained in:
@ -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
|
||||
|
@ -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");
|
||||
|
Reference in New Issue
Block a user