Fixup for PathMap generics

Remove dup returns
This commit is contained in:
zzz
2017-03-01 16:41:19 +00:00
parent 8bfb3649dd
commit 3631efa567
2 changed files with 2 additions and 4 deletions

View File

@@ -80,7 +80,7 @@ public class I2PRequestLog extends AbstractLifeCycle implements RequestLog
private transient OutputStream _out;
private transient OutputStream _fileOut;
private transient DateCache _logDateCache;
private transient PathMap _ignorePathMap;
private transient PathMap<String> _ignorePathMap;
private transient Writer _writer;
private transient ArrayList<Utf8StringBuilder> _buffers;
private transient char[] _copy;
@@ -472,7 +472,7 @@ public class I2PRequestLog extends AbstractLifeCycle implements RequestLog
if (_ignorePaths != null && _ignorePaths.length > 0)
{
_ignorePathMap = new PathMap();
_ignorePathMap = new PathMap<String>();
for (int i = 0; i < _ignorePaths.length; i++)
_ignorePathMap.put(_ignorePaths[i], _ignorePaths[i]);
}

View File

@@ -327,7 +327,6 @@ public class WorkingDir {
} catch (IOException ioe) {
if (in != null) {
System.err.println("FAILED copy " + oldFile + ": " + ioe);
return false;
}
return false;
} finally {
@@ -365,7 +364,6 @@ public class WorkingDir {
} catch (IOException ioe) {
if (in != null) {
System.err.println("FAILED copy " + oldFile + ": " + ioe);
return false;
}
return false;
} finally {