Changeset 9c52d45 for core


Ignore:
Timestamp:
May 3, 2018 1:08:56 PM (2 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
9a7b582
Parents:
a548c30
Message:

Debug: Case-insensitive sort of PortMapper? and AppManager? tables

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/src/net/i2p/util/PortMapper.java

    ra548c30 r9c52d45  
    44import java.io.Writer;
    55import java.net.InetSocketAddress;
     6import java.text.Collator;
    67import java.util.ArrayList;
    78import java.util.Collections;
     
    306307        List<String> services = new ArrayList<String>(_dir.keySet());
    307308        out.write("<h2 id=\"debug_portmapper\">Port Mapper</h2><table id=\"portmapper\"><tr><th>Service<th>Host<th>Port\n");
    308         Collections.sort(services);
     309        Collections.sort(services, Collator.getInstance());
    309310        for (String s : services) {
    310311            InetSocketAddress ia = _dir.get(s);
Note: See TracChangeset for help on using the changeset viewer.