Polishing

See gh-23224
This commit is contained in:
Sam Brannen
2019-07-12 13:08:33 +02:00
parent 699d3f15e8
commit 09c10232a4

View File

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