aboutsummaryrefslogtreecommitdiffstats
path: root/tests/junit-runner/CommandLine.java
diff options
context:
space:
mode:
authorJiri Vanek <[email protected]>2013-12-13 09:54:16 +0100
committerJiri Vanek <[email protected]>2013-12-13 09:54:16 +0100
commit6256aac59275df0edd0feb4950272aa33573be9f (patch)
treeadba1e61360cf9e18597a8736b8c50b5022605a0 /tests/junit-runner/CommandLine.java
parent26e9ef073e4ba4e625c8596113e9138ec85162e4 (diff)
unittests warning cleanup: fixed typechecks, rawtypes, redundant casts...
ScreenFinder fixed to work partially also in headless mode. After this clean up only "internal proprietary API and may be removed in a future release" warnings remain fro make check. Please keep itw in this way :)
Diffstat (limited to 'tests/junit-runner/CommandLine.java')
-rw-r--r--tests/junit-runner/CommandLine.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/junit-runner/CommandLine.java b/tests/junit-runner/CommandLine.java
index 07c6e19..52843e5 100644
--- a/tests/junit-runner/CommandLine.java
+++ b/tests/junit-runner/CommandLine.java
@@ -45,7 +45,7 @@ public class CommandLine extends JUnitCore {
addListener(jXmlOutput);
RunListener listener = new LessVerboseTextListener(system);
addListener(listener);
- Result result = run(classes.toArray(new Class[0]));
+ Result result = run(classes.toArray(new Class<?>[0]));
for (Failure each : missingClasses) {
result.getFailures().add(each);
}