mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2024-11-14 11:42:04 +01:00
Remove unnecessary cast
This commit is contained in:
parent
221b81a627
commit
c7454ce968
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue