Skip to content
Snippets Groups Projects
Commit 9cd63b86 authored by Sudeep Kanav's avatar Sudeep Kanav
Browse files

corrected the check for Mac OS


Issue-Ref: 2443

Signed-off-by: default avatarSudeep Kanav <kanav@fortiss.org>
parent e37afe48
No related branches found
No related tags found
1 merge request!32443 os architecture case distinctions
...@@ -13,6 +13,6 @@ PointUtils.java b21c92cc8e80ece9d87ede8a750f4de314379743 GREEN ...@@ -13,6 +13,6 @@ PointUtils.java b21c92cc8e80ece9d87ede8a750f4de314379743 GREEN
PointsUtils.java bad69811c59004948929f6a57edd5a79c0bf8643 GREEN PointsUtils.java bad69811c59004948929f6a57edd5a79c0bf8643 GREEN
RectangleLayoutUtils.java cdd61d162761da7f3e1d3512264135b9b0d564ff GREEN RectangleLayoutUtils.java cdd61d162761da7f3e1d3512264135b9b0d564ff GREEN
SnapToGridUtils.java 413785d7a8655db31a129b6f821e1d5f859aa726 GREEN SnapToGridUtils.java 413785d7a8655db31a129b6f821e1d5f859aa726 GREEN
SystemUtils.java 622dd176fa0febc1e92845cb0f988e503cc30efb YELLOW SystemUtils.java f7893a7db34a994534608bcbd7f214a701c5cf55 YELLOW
VisualizationModelElementFactory.java 18e67450ee4cf4a03dc88a10becb0fb6ce4c1bad GREEN VisualizationModelElementFactory.java 18e67450ee4cf4a03dc88a10becb0fb6ce4c1bad GREEN
ZoomUtils.java a339613fde18281bed3b55b529a053d348545bc7 GREEN ZoomUtils.java a339613fde18281bed3b55b529a053d348545bc7 GREEN
...@@ -68,7 +68,7 @@ public class SystemUtils { ...@@ -68,7 +68,7 @@ public class SystemUtils {
return isMacOSXPlatform; return isMacOSXPlatform;
} }
String osName = System.getProperty("os.name"); String osName = System.getProperty("os.name");
isMacOSXPlatform = osName != null && osName.contains("Mac OS X."); isMacOSXPlatform = osName != null && osName.contains("Mac OS X");
return isMacOSXPlatform; return isMacOSXPlatform;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment