maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From micha...@apache.org
Subject git commit: Leave a space between colon and Console read password to improve readability.
Date Sat, 01 Feb 2014 11:25:47 GMT
Updated Branches:
  refs/heads/master 43d67de04 -> d55dca85a


Leave a space between colon and Console read password to improve
readability.


Project: http://git-wip-us.apache.org/repos/asf/maven/repo
Commit: http://git-wip-us.apache.org/repos/asf/maven/commit/d55dca85
Tree: http://git-wip-us.apache.org/repos/asf/maven/tree/d55dca85
Diff: http://git-wip-us.apache.org/repos/asf/maven/diff/d55dca85

Branch: refs/heads/master
Commit: d55dca85a16df1a6f9ba10137f08ecdcb70f3004
Parents: 43d67de
Author: Michael Osipov <michaelo@apache.org>
Authored: Sat Feb 1 12:23:10 2014 +0100
Committer: Michael Osipov <michaelo@apache.org>
Committed: Sat Feb 1 12:23:10 2014 +0100

----------------------------------------------------------------------
 maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/maven/blob/d55dca85/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
----------------------------------------------------------------------
diff --git a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
index 4dcb0b7..1615d58 100644
--- a/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
+++ b/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
@@ -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 );


Mime
View raw message