Changeset 51fd4d7


Ignore:
Timestamp:
Aug 24, 2009 12:08:19 AM (11 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
47c8389, df4143f
Parents:
35c9e99
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/transport/ntcp/NTCPTransport.java

    r35c9e99 r51fd4d7  
    646646        buf.append(". Limit: ").append(getMaxConnections());
    647647        buf.append(". Timeout: ").append(DataHelper.formatDuration(_pumper.getIdleTimeout()));
    648         buf.append(".</b></h3>\n");
    649         buf.append("<div class=\"wideload\"><table>\n");
    650         buf.append("<tr><th><a href=\"#def.peer\">Peer</a></th>");
    651         buf.append("<th>Dir</th>");
    652         buf.append("<th align=\"right\"><a href=\"#def.idle\">Idle</a></th>");
    653         buf.append("<th align=\"right\"><a href=\"#def.rate\">In/Out</a></th>");
    654         buf.append("<th align=\"right\"><a href=\"#def.up\">Up</a></th>");
    655         buf.append("<th align=\"right\"><a href=\"#def.skew\">Skew</a></th>");
    656         buf.append("<th align=\"right\"><a href=\"#def.send\">TX</a></th>");
    657         buf.append("<th align=\"right\"><a href=\"#def.recv\">RX</a></th>");
    658         buf.append("<th>Out queue</th>");
    659         buf.append("<th>Backlogged?</th>");
    660         buf.append("<th>Reading?</th>");
    661         buf.append(" </tr>\n");
     648        buf.append(".</b></h3>\n" +
     649                   "<div class=\"wideload\"><table>\n" +
     650                   "<tr><th><a href=\"#def.peer\">Peer</a></th>" +
     651                   "<th>Dir</th>" +
     652                   "<th align=\"right\"><a href=\"#def.idle\">Idle</a></th>" +
     653                   "<th align=\"right\"><a href=\"#def.rate\">In/Out</a></th>" +
     654                   "<th align=\"right\"><a href=\"#def.up\">Up</a></th>" +
     655                   "<th align=\"right\"><a href=\"#def.skew\">Skew</a></th>" +
     656                   "<th align=\"right\"><a href=\"#def.send\">TX</a></th>" +
     657                   "<th align=\"right\"><a href=\"#def.recv\">RX</a></th>" +
     658                   "<th>Out queue</th>" +
     659                   "<th>Backlogged?</th>" +
     660                   "<th>Reading?</th>" +
     661                   " </tr>\n");
    662662        out.write(buf.toString());
    663663        buf.setLength(0);
     
    727727            buf.append("</b></td> <td align=\"center\"><b>").append(peers.size() > 0 ? DataHelper.formatDuration(offsetTotal*1000/peers.size()) : "0ms");
    728728            buf.append("</b></td> <td align=\"center\"><b>").append(totalSend).append("</b></td> <td align=\"center\"><b>").append(totalRecv);
    729             buf.append("</b></td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;");
    730             buf.append("</td></tr>\n");
     729            buf.append("</b></td> <td>&nbsp;</td> <td>&nbsp;</td> <td>&nbsp;" +
     730                       "</td></tr>\n");
    731731        }
    732732
Note: See TracChangeset for help on using the changeset viewer.