Polishing

See gh-23224
This commit is contained in:
Sam Brannen 2019-07-12 13:08:33 +02:00
parent 699d3f15e8
commit 09c10232a4
1 changed files with 1 additions and 2 deletions

View File

@ -91,8 +91,7 @@ public abstract class TestConstructorUtils {
return true;
}
// Default to Autowire.ANNOTATED semantics.
AutowireMode autowireMode = AutowireMode.ANNOTATED;
AutowireMode autowireMode = null;
// Is the test class annotated with @TestConstructor?
TestConstructor testConstructor = AnnotatedElementUtils.findMergedAnnotation(testClass, TestConstructor.class);