ConstructorUtilsTest doesn't need to prepare an exception string, so a delegate method is not necessary.

This commit is contained in:
Ruben Dijkstra 2014-04-10 22:34:32 +02:00
parent 7779515f59
commit 3ff199fe61

View File

@ -14,6 +14,7 @@
package com.mysema.query.util;
import static org.junit.Assert.*;
import static com.mysema.query.util.ConstructorUtils.*;
import com.mysema.query.types.ProjectionExample;
import java.lang.reflect.Constructor;
import java.util.Arrays;
@ -58,9 +59,4 @@ public class ConstructorUtilsTest {
return rv;
}
private Class<?>[] getConstructorParameters(Class<?> type, Class<?>[] giventypes) {
Class<?>[] constructorParameters = ConstructorUtils
.getConstructorParameters(type, giventypes);
return constructorParameters;
}
}