Browse Source

typo refactor

feature-vault
fdai6352 3 years ago
parent
commit
34d6de43c7
  1. 12
      src/main/java/Vault.java

12
src/main/java/Vault.java

@ -30,8 +30,8 @@ public class Vault implements VaultInterface {
sbcm.append("Configure:\n"); sbcm.append("Configure:\n");
sbcm.append("- Password length: l\n"); sbcm.append("- Password length: l\n");
sbcm.append("- Have Capitals: h\n");
sbcm.append("- Have Special Characters: s\n");
sbcm.append("- Have capitals: h\n");
sbcm.append("- Have special characters: s\n");
sbcm.append("- Have Numbers: n\n"); sbcm.append("- Have Numbers: n\n");
sbcm.append("- exit: e\n"); sbcm.append("- exit: e\n");
@ -64,10 +64,10 @@ public class Vault implements VaultInterface {
try { try {
PWLength = Integer.parseInt(pwLength); PWLength = Integer.parseInt(pwLength);
} catch (NumberFormatException e) { } catch (NumberFormatException e) {
println("Please Enter Valid Number.");
println("Please enter valid number.");
} }
println("\nNew PWlength is now: ");
println("\nNew password length is now: ");
} }
@ -75,9 +75,9 @@ public class Vault implements VaultInterface {
println("Add user name"); println("Add user name");
Scanner scan = new Scanner(inputS); Scanner scan = new Scanner(inputS);
String input = scan.nextLine();
scan.nextLine();
userName = input;
userName = scan.nextLine();
} }

Loading…
Cancel
Save