Renamed the class, and therefore orphaned
This commit is contained in:
parent
19554a6acf
commit
3abd5906c1
@ -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;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user