TeaVMTool: `resolveTransformers()` doesn't need to take as an argument variable that it can access itself
@@ -427,7 +427,7 @@ public class TeaVMTool {
}
vm.installPlugins();
- for (ClassHolderTransformer transformer : resolveTransformers(classLoader)) {
+ for (ClassHolderTransformer transformer : resolveTransformers()) {
vm.add(transformer);
}
if (mainClass != null) {
@@ -556,7 +556,7 @@ public class TeaVMTool {
copier.copy(new File(targetDirectory, "src"));
}
- private List<ClassHolderTransformer> resolveTransformers(ClassLoader classLoader) {
+ private List<ClassHolderTransformer> resolveTransformers() {
List<ClassHolderTransformer> transformerInstances = new ArrayList<>();
if (transformers == null) {
return transformerInstances;
