diff options
author | Sven Gothel <[email protected]> | 2011-02-08 06:20:35 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-08 06:20:35 +0100 |
commit | 4cda4b70dbcd21cf57e1e253ddba32b88bcaec18 (patch) | |
tree | 6f16d211cb80ebf5dcc8cab6424c70079a38ea7f /src/jogl/classes/com/jogamp/opengl/impl/SystemUtil.java.javase | |
parent | eb7986963c87bc6f33e7f18bb90ddf898b7dd63a (diff) |
Move implementation private files from com.jogamp.<module>.impl. to jogamp.<module> (1/2) - rename task
- com.jogamp.opengl.impl -> jogamp.opengl
- com.jogamp.opengl.util.glsl.fixedfunc.impl -> jogamp.opengl.util.glsl.fixedfunc
- com.jogamp.nativewindow.impl -> jogamp.nativewindow
- com.jogamp.newt.impl -> jogamp.newt
This sorts implementation details from the top level, ie skipping the public 'com',
allowing a better seperation of public classes and implementation details
and also reduces strings.
This approach of public/private seperation is also used in the OpenJDK.
Diffstat (limited to 'src/jogl/classes/com/jogamp/opengl/impl/SystemUtil.java.javase')
-rw-r--r-- | src/jogl/classes/com/jogamp/opengl/impl/SystemUtil.java.javase | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/jogl/classes/com/jogamp/opengl/impl/SystemUtil.java.javase b/src/jogl/classes/com/jogamp/opengl/impl/SystemUtil.java.javase deleted file mode 100644 index dbb717a32..000000000 --- a/src/jogl/classes/com/jogamp/opengl/impl/SystemUtil.java.javase +++ /dev/null @@ -1,18 +0,0 @@ -package com.jogamp.opengl.impl; - -public class SystemUtil { - - private static volatile boolean getenvSupported = true; - /** Wrapper for System.getenv(), which doesn't work on platforms - earlier than JDK 5 */ - public static String getenv(String variableName) { - if (getenvSupported) { - try { - return System.getenv(variableName); - } catch (Error e) { - getenvSupported = false; - } - } - return null; - } -} |