aboutsummaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com/jogamp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2014-07-08 22:14:45 +0200
committerSven Gothel <[email protected]>2014-07-08 22:14:45 +0200
commita2b75f52db38be223261cd378a4bc330cc2d3ede (patch)
tree08d6dc1f5315c00a34ad17229deff66e82b3b6f0 /src/jogl/classes/com/jogamp
parenta00ee5f8126aeb7deadb3fbd4a7210b8ea0feda1 (diff)
Findbugs: Misc issues (Use private accessors of static fields; Use boolean operator; Avoid NPE
Diffstat (limited to 'src/jogl/classes/com/jogamp')
-rw-r--r--src/jogl/classes/com/jogamp/gluegen/runtime/opengl/GLNameResolver.java46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/jogl/classes/com/jogamp/gluegen/runtime/opengl/GLNameResolver.java b/src/jogl/classes/com/jogamp/gluegen/runtime/opengl/GLNameResolver.java
index 34ab3df9e..d400381c8 100644
--- a/src/jogl/classes/com/jogamp/gluegen/runtime/opengl/GLNameResolver.java
+++ b/src/jogl/classes/com/jogamp/gluegen/runtime/opengl/GLNameResolver.java
@@ -47,29 +47,29 @@ public class GLNameResolver {
// if exist as an ARB extension with the same value.
// Pass-3 Emit
- public static final String[] extensionsARB = { "ARB", "GL2", "OES", "KHR", "OML" };
- public static final String[] extensionsVEN = { "3DFX",
- "AMD",
- "ANGLE",
- "ARM",
- "APPLE",
- "ATI",
- "EXT",
- "HI",
- "HP",
- "IBM",
- "IMG",
- "MESA",
- "MESAX",
- "NV",
- "QCOM",
- "SGI",
- "SGIS",
- "SGIX",
- "SUN",
- "VIV",
- "WIN"
- };
+ private static final String[] extensionsARB = { "ARB", "GL2", "OES", "KHR", "OML" };
+ private static final String[] extensionsVEN = { "3DFX",
+ "AMD",
+ "ANGLE",
+ "ARM",
+ "APPLE",
+ "ATI",
+ "EXT",
+ "HI",
+ "HP",
+ "IBM",
+ "IMG",
+ "MESA",
+ "MESAX",
+ "NV",
+ "QCOM",
+ "SGI",
+ "SGIS",
+ "SGIX",
+ "SUN",
+ "VIV",
+ "WIN"
+ };
public static final boolean isGLFunction(final String str) {