Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
Fixed small unnecessary lines of code
luccioman9630f813066f
diff --git a/source/net/yacy/gui/framework/Switchboard.java b/source/net/yacy/gui/framework/Switchboard.javaindex 44599a03e..a5720454d 100644--- a/source/net/yacy/gui/framework/Switchboard.java+++ b/source/net/yacy/gui/framework/Switchboard.java@@ -124,7 +124,7 @@ public class Switchboard {// waiting for the main thread to finish executionlog.info("Waiting for GUI thread to finish.");this.mainThread.interrupt();- if (this.mainThread != null && this.mainThread.isAlive()) {+ if (this.mainThread.isAlive()) {this.mainThread.join();}// wait until everything is written@@ -227,8 +227,7 @@ public class Switchboard {public static File getFile(String key) {String s = properties.getProperty(key);if (s == null) return null;- s.replace("/", File.separator);- return new File(s);+ return new File(s.replace("/", File.separator));}/**