Leave a space between colon and Console read password to improve

readability.
This commit is contained in:
Michael Osipov 2014-02-01 12:23:10 +01:00
parent 43d67de045
commit d55dca85a1
1 changed files with 2 additions and 2 deletions

View File

@ -504,7 +504,7 @@ public class MavenCli
Console cons; Console cons;
char[] password; char[] password;
if ( ( cons = System.console() ) != null if ( ( cons = System.console() ) != null
&& ( password = cons.readPassword( "Master password:") ) != null ) && ( password = cons.readPassword( "Master password: " ) ) != null )
{ {
// Cipher uses Strings // Cipher uses Strings
passwd = String.copyValueOf( password ); passwd = String.copyValueOf( password );
@ -529,7 +529,7 @@ public class MavenCli
Console cons; Console cons;
char[] password; char[] password;
if ( ( cons = System.console() ) != null if ( ( cons = System.console() ) != null
&& ( password = cons.readPassword( "Password:" ) ) != null ) && ( password = cons.readPassword( "Password: " ) ) != null )
{ {
// Cipher uses Strings // Cipher uses Strings
passwd = String.copyValueOf( password ); passwd = String.copyValueOf( password );