geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [1/2] geode git commit: Remove special cases for each OS to fix Mac options [Forced Update!]
Date Wed, 15 Feb 2017 23:24:44 GMT
Repository: geode
Updated Branches:
  refs/heads/feature/GEODE-2474 f2eb3e191 -> 703fb143d (forced update)


Remove special cases for each OS to fix Mac options


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

Branch: refs/heads/feature/GEODE-2474
Commit: a08379c728ae1a5299451f3c19dc40e19a33284d
Parents: a6a882c
Author: Kirk Lund <klund@apache.org>
Authored: Wed Feb 15 15:19:18 2017 -0800
Committer: Kirk Lund <klund@apache.org>
Committed: Wed Feb 15 15:19:18 2017 -0800

----------------------------------------------------------------------
 .../management/internal/cli/functions/NetstatFunction.java  | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/a08379c7/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/NetstatFunction.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/NetstatFunction.java
b/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/NetstatFunction.java
index 029723f..5c1cb29 100644
--- a/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/NetstatFunction.java
+++ b/geode-core/src/main/java/org/apache/geode/management/internal/cli/functions/NetstatFunction.java
@@ -110,14 +110,7 @@ public class NetstatFunction implements Function, InternalEntity {
       cmdOptionsList.add("-v");
       cmdOptionsList.add("-a");
       cmdOptionsList.add("-e");
-    } else if (isMacOSX()) {
-      cmdOptionsList.add("-v");
-      cmdOptionsList.add("-a");
-      cmdOptionsList.add("-e");
-    } else if (isSolaris()) {
-      cmdOptionsList.add("-v");
-      cmdOptionsList.add("-a");
-    } else { // default to Windows
+    } else {
       cmdOptionsList.add("-v");
       cmdOptionsList.add("-a");
     }


Mime
View raw message