From f92907da4946b29ca3b0132743f1cf0b7d59e080 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sun, 13 Feb 2011 14:08:16 +0100 Subject: Fix: Remove unused argument ClassLoader --- src/java/com/jogamp/common/util/ReflectionUtil.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/java/com/jogamp/common/util/ReflectionUtil.java') 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); } -- cgit v1.2.3