1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-09-26 17:59:34 +02: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 {
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<Class<? extends AbstractSmackIntegrationTest>> inttestClasses = reflections.getSubTypesOf(AbstractSmackIntegrationTest.class);
Set<Class<? extends AbstractSmackLowLevelIntegrationTest>> lowLevelInttestClasses = reflections.getSubTypesOf(AbstractSmackLowLevelIntegrationTest.class);