Fix last commit
This commit is contained in:
parent
de96d7b661
commit
a4bb32bf44
@ -19,7 +19,8 @@ public class ClientP2P {
|
||||
System.out.println("Do you want to open this directory? (y/N)");
|
||||
Scanner scanner = new Scanner(System.in);
|
||||
String resp = scanner.nextLine();
|
||||
if (resp == "y" || resp == "Y") {
|
||||
if (resp.equals("y") || resp.equals("Y")) {
|
||||
System.out.println("Openning");
|
||||
d.openDataHomeDirectory();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user