readability

This commit is contained in:
Florian Reimair 2018-11-08 10:13:29 +01:00
parent 3d53c2584a
commit 5ab801cad2

View file

@ -254,7 +254,7 @@ public class TorNetworkNode extends NetworkNode {
// check if the user wants to provide his own torrc file
String torrcFile = System.getProperty(CONFIG_TORRCFILE);
if(null != torrcFile) {
if(torrcFile != null) {
try {
override = new Torrc(new FileInputStream(new File(torrcFile)));
} catch(IOException e) {