mirror of https://github.com/apache/maven.git
Leave a space between colon and Console read password to improve
readability.
This commit is contained in:
parent
43d67de045
commit
d55dca85a1
|
@ -504,7 +504,7 @@ public class MavenCli
|
|||
Console cons;
|
||||
char[] password;
|
||||
if ( ( cons = System.console() ) != null
|
||||
&& ( password = cons.readPassword( "Master password:") ) != null )
|
||||
&& ( password = cons.readPassword( "Master password: " ) ) != null )
|
||||
{
|
||||
// Cipher uses Strings
|
||||
passwd = String.copyValueOf( password );
|
||||
|
@ -529,7 +529,7 @@ public class MavenCli
|
|||
Console cons;
|
||||
char[] password;
|
||||
if ( ( cons = System.console() ) != null
|
||||
&& ( password = cons.readPassword( "Password:" ) ) != null )
|
||||
&& ( password = cons.readPassword( "Password: " ) ) != null )
|
||||
{
|
||||
// Cipher uses Strings
|
||||
passwd = String.copyValueOf( password );
|
||||
|
|
Loading…
Reference in New Issue