activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [1/5] activemq-artemis git commit: small CLI CREATE fix
Date Wed, 06 May 2015 15:21:04 GMT
Repository: activemq-artemis
Updated Branches:
  refs/heads/master 179903fe7 -> ebccde954


small CLI CREATE fix


Project: http://git-wip-us.apache.org/repos/asf/activemq-artemis/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-artemis/commit/6fea6ca6
Tree: http://git-wip-us.apache.org/repos/asf/activemq-artemis/tree/6fea6ca6
Diff: http://git-wip-us.apache.org/repos/asf/activemq-artemis/diff/6fea6ca6

Branch: refs/heads/master
Commit: 6fea6ca66e617546dc1743295f1efb35dba45175
Parents: 8446bce
Author: Andy Taylor <andy.tayls67@gmail.com>
Authored: Wed May 6 11:04:02 2015 +0100
Committer: Andy Taylor <andy.tayls67@gmail.com>
Committed: Wed May 6 15:12:32 2015 +0100

----------------------------------------------------------------------
 .../main/java/org/apache/activemq/artemis/cli/commands/Create.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/6fea6ca6/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
----------------------------------------------------------------------
diff --git a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
index 9eaf4da..074ced0 100644
--- a/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
+++ b/artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Create.java
@@ -121,7 +121,7 @@ public class Create implements Action
       this.context = context;
       scanner = new Scanner(System.in);
       IS_WINDOWS = System.getProperty("os.name").toLowerCase().trim().startsWith("win");
-      IS_CYGWIN = IS_WINDOWS && System.getenv("OSTYPE") == "cygwin";
+      IS_CYGWIN = IS_WINDOWS && "cygwin".equals(System.getenv("OSTYPE"));
 
       context.out.println(String.format("Creating ActiveMQ Artemis instance at: %s", directory.getCanonicalPath()));
       if (host == null)


Mime
View raw message