From 8c0b3430595c6d6b00b79ed2c3b620cf7b052a26 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Sat, 23 Jun 2012 22:51:56 -0700 Subject: j3dcore: remove isWindows boolean state Signed-off-by: Harvey Harrison --- src/classes/share/javax/media/j3d/MasterControl.java | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) (limited to 'src/classes/share') diff --git a/src/classes/share/javax/media/j3d/MasterControl.java b/src/classes/share/javax/media/j3d/MasterControl.java index 4c987b8..6a774fd 100644 --- a/src/classes/share/javax/media/j3d/MasterControl.java +++ b/src/classes/share/javax/media/j3d/MasterControl.java @@ -311,9 +311,6 @@ class MasterControl { */ static long systemStartTime = 0L; - // Flag indicating that we are on a Windows OS - private static boolean isWindowsOs = false; - // This is a counter for texture id's, valid id starts from 1 private int textureIdCount = 0; @@ -869,7 +866,7 @@ class MasterControl { String sunArchDataModel = getProperty("sun.arch.data.model"); // Set global flags based on platform architecture - isWindowsOs = osName != null && osName.startsWith("windows"); + boolean isWindowsOs = osName != null && osName.startsWith("windows"); boolean isWindowsVista = isWindowsOs && osName.indexOf("vista") != -1; boolean is64Bit = (sunArchDataModel != null) && sunArchDataModel.equals("64"); @@ -1213,14 +1210,6 @@ class MasterControl { return false; } - /** - * Returns whether we are running on Windows - * TODO: most code that cares about this should move into the pipeline - */ - static final boolean isWindows() { - return isWindowsOs; - } - /** * This method increments and returns the next time value * timeLock must get before this procedure is invoked -- cgit v1.2.3