geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [8/8] geode git commit: Remove special cases for each OS to fix Mac options
Date Tue, 14 Feb 2017 05:01:54 GMT
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/f2eb3e19
Tree: http://git-wip-us.apache.org/repos/asf/geode/tree/f2eb3e19
Diff: http://git-wip-us.apache.org/repos/asf/geode/diff/f2eb3e19

Branch: refs/heads/feature/GEODE-2474
Commit: f2eb3e1914ba820b0fad51adb285e3108faed819
Parents: 9c16902
Author: Kirk Lund <klund@apache.org>
Authored: Mon Feb 13 20:59:17 2017 -0800
Committer: Kirk Lund <klund@apache.org>
Committed: Mon Feb 13 21:01:33 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/f2eb3e19/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