From 2e534876b02474ed6ca9c4bb745ea15207174233 Mon Sep 17 00:00:00 2001 From: elizabeth Date: Thu, 23 Jun 2005 23:10:07 +0000 Subject: [PATCH] reverted changes made in r1661 git-svn-id: https://samskivert.googlecode.com/svn/trunk@1663 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- .../src/java/com/samskivert/util/RunAnywhere.java | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/projects/samskivert/src/java/com/samskivert/util/RunAnywhere.java b/projects/samskivert/src/java/com/samskivert/util/RunAnywhere.java index fb0e43e2..53323a8f 100644 --- a/projects/samskivert/src/java/com/samskivert/util/RunAnywhere.java +++ b/projects/samskivert/src/java/com/samskivert/util/RunAnywhere.java @@ -40,14 +40,6 @@ public class RunAnywhere { return _isLinux; } - - /** - * Returns the string value of the OS version reported by the JVM - */ - public static final String getOSVersion () - { - return _osversion; - } /** * Returns {@link System#currentTimeMillis}, but works around a bug on @@ -99,9 +91,6 @@ public class RunAnywhere /** Flag indicating that we're on Linux; initialized when this class * is first loaded. */ protected static boolean _isLinux; - - /** The version number that our OS reports */ - protected static String _osversion; /** Used to ensure that the timer is sane. */ protected static long _lastStamp, _lastWarning; @@ -114,8 +103,6 @@ public class RunAnywhere _isMacOS = (osname.indexOf("Mac OS") != -1 || osname.indexOf("MacOS") != -1); _isLinux = (osname.indexOf("Linux") != -1); - - _osversion = System.getProperty("os.version"); } catch (Exception e) { // dang, can't grab system properties; we'll just pretend // we're not on any of these OSes