parent
e71f702bb9
commit
b6c463676a
|
@ -63,8 +63,7 @@ public class TestCompiler {
|
||||||
|
|
||||||
|
|
||||||
public TestCompilationTask getTask(Class<?>... types) {
|
public TestCompilationTask getTask(Class<?>... types) {
|
||||||
List<String> names = Arrays.stream(types).map(Class::getName).collect(Collectors.toList());
|
return getTask(Arrays.stream(types).map(Class::getName).toArray(String[]::new));
|
||||||
return getTask(names.toArray(new String[names.size()]));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public TestCompilationTask getTask(String... types) {
|
public TestCompilationTask getTask(String... types) {
|
||||||
|
|
Loading…
Reference in New Issue