Changeset b9a7a76


Ignore:
Timestamp:
Mar 20, 2017 10:27:55 PM (4 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
13ad5d7
Parents:
a8ae2ce9
Message:

dont replace app if a dup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • router/java/src/net/i2p/router/startup/RouterAppManager.java

    ra8ae2ce9 rb9a7a76  
    4949        if (_log.shouldLog(Log.INFO))
    5050            _log.info("Client " + app.getDisplayName() + " ADDED");
    51         String[] old = _clients.put(app, args);
     51        String[] old = _clients.putIfAbsent(app, args);
    5252        if (old != null)
    5353            throw new IllegalArgumentException("already added");
Note: See TracChangeset for help on using the changeset viewer.