Changeset c151352


Ignore:
Timestamp:
Mar 15, 2010 4:15:23 PM (10 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
16a14d4
Parents:
b80f70f
Message:

cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/NavHelper.java

    rb80f70f rc151352  
    88
    99public class NavHelper {
    10     private static Map<String, String> _apps = new ConcurrentHashMap();
     10    private static Map<String, String> _apps = new ConcurrentHashMap(4);
    1111   
    1212    /**
     
    2929     */
    3030    public static String getClientAppLinks(I2PAppContext ctx) {
    31         StringBuilder buf = new StringBuilder(1024);
     31        if (_apps.isEmpty())
     32            return "";
     33        StringBuilder buf = new StringBuilder(256);
    3234        for (Iterator<String> iter = _apps.keySet().iterator(); iter.hasNext(); ) {
    3335            String name = iter.next();
Note: See TracChangeset for help on using the changeset viewer.