aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/classes/com/sun/opengl/impl/GLReflection.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/classes/com/sun/opengl/impl/GLReflection.java b/src/classes/com/sun/opengl/impl/GLReflection.java
index bbcb7c8..256a9b9 100644
--- a/src/classes/com/sun/opengl/impl/GLReflection.java
+++ b/src/classes/com/sun/opengl/impl/GLReflection.java
@@ -44,9 +44,7 @@ public final class GLReflection {
public static final boolean isClassAvailable(String clazzName) {
try {
Class clazz = Class.forName(clazzName);
- if (null!=clazz) {
- return true;
- }
+ return null!=clazz;
} catch (Exception e) { }
return false;
}