fix warning
This commit is contained in:
parent
13ccc39f14
commit
27c4fcc563
@ -57,14 +57,6 @@ public class ClientP2Pgui {
|
|||||||
*/
|
*/
|
||||||
public ClientP2Pgui(String hostnameServer, int portServer, String hostnameTracker, int portTracker, String protocolP2P) {
|
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.hostnameServer = hostnameServer;
|
||||||
this.hostnameTracker = hostnameTracker;
|
this.hostnameTracker = hostnameTracker;
|
||||||
this.portServer = portServer;
|
this.portServer = portServer;
|
||||||
|
Loading…
Reference in New Issue
Block a user