1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-14 03:32:06 +01:00

Remove unnecessary cast

This commit is contained in:
Florian Schmaus 2015-04-24 21:29:50 +02:00
parent 221b81a627
commit c7454ce968

View file

@ -140,7 +140,7 @@ public class SmackIntegrationTestFramework {
else { else {
testPackages = config.testPackages.toArray(new String[config.testPackages.size()]); 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()); new TypeAnnotationsScanner(), new MethodAnnotationsScanner(), new MethodParameterScanner());
Set<Class<? extends AbstractSmackIntegrationTest>> inttestClasses = reflections.getSubTypesOf(AbstractSmackIntegrationTest.class); Set<Class<? extends AbstractSmackIntegrationTest>> inttestClasses = reflections.getSubTypesOf(AbstractSmackIntegrationTest.class);
Set<Class<? extends AbstractSmackLowLevelIntegrationTest>> lowLevelInttestClasses = reflections.getSubTypesOf(AbstractSmackLowLevelIntegrationTest.class); Set<Class<? extends AbstractSmackLowLevelIntegrationTest>> lowLevelInttestClasses = reflections.getSubTypesOf(AbstractSmackLowLevelIntegrationTest.class);