Changeset 14bacc2 for core


Ignore:
Timestamp:
Jan 8, 2017 1:37:15 AM (4 years ago)
Author:
str4d <str4d@…>
Branches:
master
Children:
0a0757a
Parents:
5dd6f2d (diff), 2bc5630 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

propagate from branch 'i2p.i2p' (head 439bb8be3133559026640ebd22fdf93d10ba2cb9)

to branch 'i2p.i2p.str4d.ui' (head 83c1a136effdf092093e9af799a138e86da7ec43)

File:
1 edited

Legend:

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

    r5dd6f2d r14bacc2  
    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.