summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-02-13 14:08:16 +0100
committerSven Gothel <[email protected]>2011-02-13 14:08:16 +0100
commitf92907da4946b29ca3b0132743f1cf0b7d59e080 (patch)
tree99afd2bcc1c1d2001ccebe403ef1101867e5c8ae /src/java/com/jogamp/common/util
parent29eb568b642faac9475665d000a865fe684d42a4 (diff)
Fix: Remove unused argument ClassLoader
Diffstat (limited to 'src/java/com/jogamp/common/util')
-rw-r--r--src/java/com/jogamp/common/util/ReflectionUtil.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/java/com/jogamp/common/util/ReflectionUtil.java b/src/java/com/jogamp/common/util/ReflectionUtil.java
index c6b1b88..24aba2f 100644
--- a/src/java/com/jogamp/common/util/ReflectionUtil.java
+++ b/src/java/com/jogamp/common/util/ReflectionUtil.java
@@ -228,10 +228,9 @@ public final class ReflectionUtil {
/**
* @throws JogampRuntimeException if the Method can not be found.
*/
- public static final Method getMethod(Class clazz, String methodName, Class[] argTypes, ClassLoader cl)
+ public static final Method getMethod(Class clazz, String methodName, Class[] argTypes)
throws JogampRuntimeException, RuntimeException
{
- Method method;
try {
return clazz.getDeclaredMethod(methodName, argTypes);
} catch (NoSuchMethodException ex) {
@@ -246,7 +245,7 @@ public final class ReflectionUtil {
throws JogampRuntimeException, RuntimeException
{
try {
- return getMethod(getClassImpl(clazzName, true, cl), methodName, argTypes, cl);
+ return getMethod(getClassImpl(clazzName, true, cl), methodName, argTypes);
} catch (ClassNotFoundException ex) {
throw new JogampRuntimeException(clazzName + " not available", ex);
}