From 3abd5906c1d5f372562c5172a31bb8ec3d647127 Mon Sep 17 00:00:00 2001 From: Keith Armstrong Date: Fri, 10 Jan 2025 00:22:54 +0000 Subject: [PATCH] Renamed the class, and therefore orphaned --- src/com/belkast/soap/userCreds.java | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 src/com/belkast/soap/userCreds.java diff --git a/src/com/belkast/soap/userCreds.java b/src/com/belkast/soap/userCreds.java deleted file mode 100644 index 3e00553..0000000 --- a/src/com/belkast/soap/userCreds.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.belkast.soap; - -import java.io.Console; -import java.util.*; - -public class userCreds { - public static String getUsername(String thisPrompt) { - Scanner myObj = new Scanner(System.in); - System.out.print(thisPrompt); - String varEntry; - varEntry = myObj.nextLine(); - return varEntry; - } - - public static char[] getPassword(String thisPrompt) { - Console console = System.console(); - char[] password = console.readPassword(thisPrompt); - return password; - } -} \ No newline at end of file