if (!isMac()) return false; Matcher m = MACOSVERSION.matcher(System.getProperty("os.version")); if (!m.matches()) return false; int actualMajor = Integer.parseInt(m.group(1)), actualMinor = Integer.parseInt(m.group(2)), actualSub = Integer.parseInt(m.group(3)); return actualMajor > major ...
if (!isMac()) return false; return !isMacOSVersion(major, minor, sub);