No need for implicit method type use check

This commit is contained in:
aboyko
2023-04-01 10:36:50 -04:00
parent 4f44583227
commit 216b4731de

View File

@@ -35,7 +35,7 @@ public class ConvertAutowiredFieldIntoConstructorParameter extends Recipe {
@Override
protected TreeVisitor<?, ExecutionContext> getSingleSourceApplicableTest() {
return new UsesType<ExecutionContext>(AUTOWIRED, Boolean.TRUE);
return new UsesType<ExecutionContext>(AUTOWIRED, false);
}
@Override