Revision: 5352
http://sourceforge.net/p/jump-pilot/code/5352
Author: edso
Date: 2017-03-05 15:04:30 +0000 (Sun, 05 Mar 2017)
Log Message:
-----------
reformat, remove tabs
Modified Paths:
--------------
core/trunk/src/org/openjump/core/CheckOS.java
Modified: core/trunk/src/org/openjump/core/CheckOS.java
===================================================================
--- core/trunk/src/org/openjump/core/CheckOS.java 2017-03-04 13:33:12 UTC
(rev 5351)
+++ core/trunk/src/org/openjump/core/CheckOS.java 2017-03-05 15:04:30 UTC
(rev 5352)
@@ -2,27 +2,27 @@
/**
*
- * @author sstein
- * contains methods to check the operating system
+ * @author sstein contains methods to check the operating system
*
*/
public class CheckOS {
-
- /**
- * taken from http://developer.apple.com/technotes/tn2002/tn2110.html
- * @return returns true if the Operating System of the computer is a
Mac-OS X
- */
- public static boolean isMacOsx(){
- String lcOSName = System.getProperty("os.name").toLowerCase();
- boolean MAC_OS_X = lcOSName.startsWith("mac os x");
- return MAC_OS_X;
- }
-
- public static boolean isWindows() {
- return System.getProperty("os.name").toLowerCase().contains("windows");
- }
-
- public static boolean isLinux() {
- return System.getProperty("os.name").toLowerCase().contains("linux");
- }
+
+ /**
+ * taken from http://developer.apple.com/technotes/tn2002/tn2110.html
+ *
+ * @return returns true if the Operating System of the computer is a Mac-OS X
+ */
+ public static boolean isMacOsx() {
+ String lcOSName = System.getProperty("os.name").toLowerCase();
+ boolean MAC_OS_X = lcOSName.startsWith("mac os x");
+ return MAC_OS_X;
+ }
+
+ public static boolean isWindows() {
+ return System.getProperty("os.name").toLowerCase().contains("windows");
+ }
+
+ public static boolean isLinux() {
+ return System.getProperty("os.name").toLowerCase().contains("linux");
+ }
}
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel