Changeset 9d3dec8


Ignore:
Timestamp:
May 23, 2016 1:20:22 PM (4 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
6b7db094
Parents:
797ee21
Message:

Another style tweak

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/kademlia/KBucketSet.java

    r797ee21 r9d3dec8  
    766766    public String toString() {
    767767        StringBuilder buf = new StringBuilder(1024);
    768         buf.append("Bucket set rooted on: ").append(_us.toString())
     768        buf.append("<b>Bucket set rooted on:</b> ").append(_us.toString())
    769769           .append(" K=").append(BUCKET_SIZE)
    770770           .append(" B=").append(B_VALUE)
    771771           .append(" with ").append(size())
    772            .append(" keys in ").append(_buckets.size()).append(" buckets:\n");
     772           .append(" keys in ").append(_buckets.size()).append(" buckets:<br>\n");
    773773        getReadLock();
    774774        try {
     
    776776            for (int i = 0; i < len; i++) {
    777777                KBucket<T> b = _buckets.get(i);
    778                 buf.append("* Bucket ").append(i).append("/").append(len).append(": ");
    779                 buf.append(b.toString()).append("\n");
     778                buf.append("<b>* Bucket ").append(i).append("/").append(len).append(":</b> ");
     779                buf.append(b.toString()).append("<br>\n");
    780780            }
    781781        } finally { releaseReadLock(); }
Note: See TracChangeset for help on using the changeset viewer.