* Connect Client: Minor NPE fix cleanup
This commit is contained in:
@ -170,7 +170,7 @@ public class I2PTunnelConnectClient extends I2PTunnelHTTPClientBase implements R
|
|||||||
// since we are passing the stream on to I2PTunnelRunner
|
// since we are passing the stream on to I2PTunnelRunner
|
||||||
line = DataHelper.readLine(in);
|
line = DataHelper.readLine(in);
|
||||||
if(line == null) {
|
if(line == null) {
|
||||||
line = ""; // prevent NPE, Is this what we need to do?
|
break;
|
||||||
}
|
}
|
||||||
line = line.trim();
|
line = line.trim();
|
||||||
if (_log.shouldLog(Log.DEBUG))
|
if (_log.shouldLog(Log.DEBUG))
|
||||||
|
Reference in New Issue
Block a user