aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2012-06-23 22:51:56 -0700
committerHarvey Harrison <[email protected]>2012-06-23 22:51:56 -0700
commit8c0b3430595c6d6b00b79ed2c3b620cf7b052a26 (patch)
tree464121818248503f03ec1df56d3afabadaacbbae
parent2cf582f96c5a7de34cd3de8439fe253092592703 (diff)
j3dcore: remove isWindows boolean state
Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r--src/classes/share/javax/media/j3d/MasterControl.java13
1 files changed, 1 insertions, 12 deletions
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");
@@ -1214,14 +1211,6 @@ class MasterControl {
}
/**
- * 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
*/