Changeset 233cce8


Ignore:
Timestamp:
Jun 16, 2015 1:59:27 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
5878fae
Parents:
b5455cee
Message:

remove _args field

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/sam/java/src/net/i2p/sam/SAMBridge.java

    rb5455cee r233cce8  
    6666
    6767    private final ClientAppManager _mgr;
    68     private final String[] _args;
    6968    private volatile ClientAppState _state = UNINITIALIZED;
    7069
     
    9695        _log = context.logManager().getLog(SAMBridge.class);
    9796        _mgr = mgr;
    98         _args = args;
    9997        Options options = getOptions(args);
    10098        _listenHost = options.host;
     
    127125        _log = I2PAppContext.getGlobalContext().logManager().getLog(SAMBridge.class);
    128126        _mgr = null;
    129         _args = new String[] {listenHost, Integer.toString(listenPort) };  // placeholder
    130127        _listenHost = listenHost;
    131128        _listenPort = listenPort;
     
    382379     */
    383380    public String getDisplayName() {
    384         return "SAM " + Arrays.toString(_args);
     381        return "SAM " + _listenHost + ':' + _listenPort;
    385382    }
    386383
Note: See TracChangeset for help on using the changeset viewer.