|
|
@ -19,7 +19,8 @@ public class ClientP2P {
|
|
|
|
System.out.println("Do you want to open this directory? (y/N)");
|
|
|
|
System.out.println("Do you want to open this directory? (y/N)");
|
|
|
|
Scanner scanner = new Scanner(System.in);
|
|
|
|
Scanner scanner = new Scanner(System.in);
|
|
|
|
String resp = scanner.nextLine();
|
|
|
|
String resp = scanner.nextLine();
|
|
|
|
if (resp == "y" || resp == "Y") {
|
|
|
|
if (resp.equals("y") || resp.equals("Y")) {
|
|
|
|
|
|
|
|
System.out.println("Openning");
|
|
|
|
d.openDataHomeDirectory();
|
|
|
|
d.openDataHomeDirectory();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|