Browse Source

wrong type in carargs array

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1345827 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 13 years ago
parent
commit
4c1732b369
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java

+ 1
- 1
src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTestRunner.java View File

@@ -396,7 +396,7 @@ public class JUnitTestRunner implements TestListener, JUnitTaskMirror.JUnitTestR
// if there is a suite method available, then try
// to extract the suite from it. If there is an error
// here it will be caught below and reported.
suite = (Test) suiteMethod.invoke(null, new Class[0]);
suite = (Test) suiteMethod.invoke(null, new Object[0]);

} else {
Class junit4TestAdapterClass = null;


Loading…
Cancel
Save