From a2b75f52db38be223261cd378a4bc330cc2d3ede Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 8 Jul 2014 22:14:45 +0200 Subject: Findbugs: Misc issues (Use private accessors of static fields; Use boolean operator; Avoid NPE --- .../gluegen/runtime/opengl/GLNameResolver.java | 46 +++++++++++----------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'src/jogl') 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) { -- cgit v1.2.3