Skip to content

Commit

Permalink
Style improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-o committed May 22, 2022
1 parent 92a0912 commit 8249f5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Expand Up @@ -91,7 +91,7 @@ public static void main( String[] args )
}
catch ( Exception ex )
{
System.err.println( "Error while starting Maven Scm." );
System.err.println( "Error while starting Maven SCM." );

ex.printStackTrace( System.err );

Expand Down
Expand Up @@ -41,7 +41,7 @@ public class HgConfig
private static final String HG_REQ = "0.9.2";

// The string which indicates the beginning of the Mercurial line
private static final String HG_VERSION_TAG = "ercurial Distributed SCM (version ";
private static final String HG_VERSION_TAG = "Mercurial Distributed SCM (version ";

// URL to download mercurial from
private static final String HG_INSTALL_URL = "'http://www.selenic.com/mercurial/wiki/index.cgi/Download'";
Expand Down Expand Up @@ -83,7 +83,7 @@ private boolean isComplete()
public static HgVersionConsumer getHgVersion( File workingDir )
throws ScmException
{
String[] versionCmd = new String[]{HgCommandConstants.VERSION};
String[] versionCmd = new String[]{ HgCommandConstants.VERSION };
HgVersionConsumer consumer = new HgVersionConsumer( HG_VERSION_TAG );
Commandline cmd = HgUtils.buildCmd( workingDir, versionCmd );

Expand Down Expand Up @@ -188,4 +188,4 @@ public String toString( File workingDir )
return "\n Your Hg installation seems to be " + getInstalledStr() + "\n Hg version: "
+ hgVersion.getVersion() + ( hgOk ? " (OK)" : " (May be INVALID)" ) + "\n";
}
}
}

0 comments on commit 8249f5f

Please sign in to comment.