From 34d6de43c7ae431c75e84faa5cf6f00321f53259 Mon Sep 17 00:00:00 2001 From: fdai6352 Date: Wed, 16 Feb 2022 20:29:31 +0100 Subject: [PATCH] typo refactor --- src/main/java/Vault.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/Vault.java b/src/main/java/Vault.java index 2ed61c7..025e215 100644 --- a/src/main/java/Vault.java +++ b/src/main/java/Vault.java @@ -30,8 +30,8 @@ public class Vault implements VaultInterface { sbcm.append("Configure:\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("- exit: e\n"); @@ -64,10 +64,10 @@ public class Vault implements VaultInterface { try { PWLength = Integer.parseInt(pwLength); } 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"); Scanner scan = new Scanner(inputS); - String input = scan.nextLine(); + scan.nextLine(); - userName = input; + userName = scan.nextLine(); }