Changeset 3631efa


Ignore:
Timestamp:
Mar 1, 2017 4:41:19 PM (3 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
d3abbe8
Parents:
8bfb3649
Message:

Fixup for PathMap? generics
Remove dup returns

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • apps/jetty/java/src/net/i2p/jetty/I2PRequestLog.java

    r8bfb3649 r3631efa  
    8181    private transient OutputStream _fileOut;
    8282    private transient DateCache _logDateCache;
    83     private transient PathMap _ignorePathMap;
     83    private transient PathMap<String> _ignorePathMap;
    8484    private transient Writer _writer;
    8585    private transient ArrayList<Utf8StringBuilder> _buffers;
     
    473473        if (_ignorePaths != null && _ignorePaths.length > 0)
    474474        {
    475             _ignorePathMap = new PathMap();
     475            _ignorePathMap = new PathMap<String>();
    476476            for (int i = 0; i < _ignorePaths.length; i++)
    477477                _ignorePathMap.put(_ignorePaths[i], _ignorePaths[i]);
  • router/java/src/net/i2p/router/startup/WorkingDir.java

    r8bfb3649 r3631efa  
    328328            if (in != null) {
    329329                System.err.println("FAILED copy " + oldFile + ": " + ioe);
    330                 return false;
    331330            }
    332331            return false;
     
    366365            if (in != null) {
    367366                System.err.println("FAILED copy " + oldFile + ": " + ioe);
    368                 return false;
    369367            }
    370368            return false;
Note: See TracChangeset for help on using the changeset viewer.