Polishing
See gh-23224
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user