MCPcopy Create free account
hub / github.com/GateNLP/gate-core / runningOnMac

Method runningOnMac

src/main/java/gate/Gate.java:994–996  ·  view source on GitHub ↗

This method tries to guess if we are on a Mac OS X system. It does this by checking the value of System.getProperty("os.name") . Note that if this method returns true, #runningOnUnix() will also return true (i.e. Mac is considered a Unix platform) but the reverse is not necessarily

()

Source from the content-addressed store, hash-verified

992 * not necessarily the case.
993 */
994 public static boolean runningOnMac() {
995 return System.getProperty("os.name").toLowerCase().startsWith("mac os x");
996 }
997
998 /**
999 * Returns the list of CREOLE directories the system knows about (either

Callers 3

initGuiComponentsMethod · 0.95
initListenersMethod · 0.95
setIndeterminateMethod · 0.95

Calls 1

getPropertyMethod · 0.65

Tested by

no test coverage detected