From c7454ce9688b53985430b160b275f16a2ea27e58 Mon Sep 17 00:00:00 2001 From: Florian Schmaus Date: Fri, 24 Apr 2015 21:29:50 +0200 Subject: [PATCH] Remove unnecessary cast --- .../smack/inttest/SmackIntegrationTestFramework.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java b/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java index 4883f0dc8..be9eef6b7 100644 --- a/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java +++ b/smack-integration-test/src/main/java/org/igniterealtime/smack/inttest/SmackIntegrationTestFramework.java @@ -140,7 +140,7 @@ public class SmackIntegrationTestFramework { else { testPackages = config.testPackages.toArray(new String[config.testPackages.size()]); } - Reflections reflections = new Reflections((Object[]) testPackages, new SubTypesScanner(), + Reflections reflections = new Reflections(testPackages, new SubTypesScanner(), new TypeAnnotationsScanner(), new MethodAnnotationsScanner(), new MethodParameterScanner()); Set> inttestClasses = reflections.getSubTypesOf(AbstractSmackIntegrationTest.class); Set> lowLevelInttestClasses = reflections.getSubTypesOf(AbstractSmackLowLevelIntegrationTest.class);