From de53d193c86a02a3cdc46c5c8758192d957d1c67 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 8 Jul 2014 22:10:03 +0200 Subject: Findbugs: Misc minor issues (see below) - remove duplicate code in branch - Use Type.valueOf(primitive) - Don't use array.toString() directly - remove dead code --- src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jogl/classes/com') diff --git a/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java b/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java index 5ff64d81b..06f7d9268 100644 --- a/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java +++ b/src/jogl/classes/com/jogamp/opengl/util/glsl/ShaderUtil.java @@ -207,7 +207,7 @@ public class ShaderUtil { gle.printStackTrace(); } if(!queryOK) { - info.shaderCompilerAvailable = new Boolean(true); + info.shaderCompilerAvailable = Boolean.valueOf(true); } } else if( gl.isGL2ES2() ) { info.shaderCompilerAvailable = new Boolean(true); -- cgit v1.2.3