Fix 103 (GUI) #108

Merged
louis_royer merged 18 commits from fix103 into master 2020-04-12 19:13:37 +02:00
Showing only changes of commit 27c4fcc563 - Show all commits

View File

@ -57,14 +57,6 @@ public class ClientP2Pgui {
*/
public ClientP2Pgui(String hostnameServer, int portServer, String hostnameTracker, int portTracker, String protocolP2P) {
if (directories == null && loggerServer == null && loggerClient == null) {
directories = new Directories("P2P_JAVA_PROJECT_" + server.getPort());
directories.createSubdir(logDir);
loggerServer = new Logger(directories.getDataHomeDirectory() + logDir + "server.log", DEBUG);
loggerClient = new Logger(directories.getDataHomeDirectory() + logDir + "client.log", DEBUG);
directories.createSubdir(partsDir);
}
this.hostnameServer = hostnameServer;
this.hostnameTracker = hostnameTracker;
this.portServer = portServer;