We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4570dd3 commit ac72d46Copy full SHA for ac72d46
src/test/java/org/scm4j/vcs/GitVCSTest.java
@@ -175,7 +175,7 @@ public void testExceptions() throws Exception {
175
GitAPIException eApi = new GitAPIException("test git exception") {};
176
Exception eCommon = new Exception("test common exception");
177
for (Method m : IVCS.class.getDeclaredMethods()) {
178
- Object[] params = new Object[m.getParameterCount()];
+ Object[] params = new Object[m.getParameterTypes().length];
179
Integer i = 0;
180
for (Class clazz : m.getParameterTypes()) {
181
params[i] = clazz.isPrimitive() ? 0: null;
0 commit comments