X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Futil%2FPlatform.java;h=2953c9765e5675381399de18c7eabfc60e742d15;hb=cd8456f94025b368b47b5506ec98cb0eba6051ba;hp=6a5f13375c4133e95e5514f4548bbb4b10f501b3;hpb=8068531e926fb3df3f0470150aff34167358f5e2;p=jalview.git diff --git a/src/jalview/util/Platform.java b/src/jalview/util/Platform.java index 6a5f133..2953c97 100644 --- a/src/jalview/util/Platform.java +++ b/src/jalview/util/Platform.java @@ -69,6 +69,37 @@ public class Platform return isWindows.booleanValue(); } +// BH - preferred: +// +// /** +// * @return true if this is a Mac +// */ +// private static boolean isAMac() +// { +// if (isAMac == null) +// { +// isAMac = System.getProperty("os.name").indexOf("Mac") > -1; +// } +// +// return isAMac.booleanValue(); +// +// } +// +// /** +// * Check if we are on a Microsoft plaform... +// * +// * @return true if we have to cope with another platform variation +// */ +// private static boolean isWindows() +// { +// if (isWindows == null) +// { +// isWindows = System.getProperty("os.name").indexOf("Win") > -1; +// } +// return isWindows.booleanValue(); +// } +// + /** * * @return true if we are running in non-interactive no UI mode