Merge branch '1.5.x'
This commit is contained in:
@@ -108,7 +108,7 @@ public class AutoConfigureAnnotationProcessorTests {
|
||||
}
|
||||
|
||||
private Properties compile(Class<?>... types) throws IOException {
|
||||
TestConditionMetdataAnnotationProcessor processor = new TestConditionMetdataAnnotationProcessor(
|
||||
TestConditionMetadataAnnotationProcessor processor = new TestConditionMetadataAnnotationProcessor(
|
||||
this.compiler.getOutputLocation());
|
||||
this.compiler.getTask(types).call(processor);
|
||||
return processor.getWrittenProperties();
|
||||
|
||||
@@ -35,12 +35,12 @@ import javax.annotation.processing.SupportedAnnotationTypes;
|
||||
"org.springframework.boot.autoconfigureprocessor.TestAutoConfigureBefore",
|
||||
"org.springframework.boot.autoconfigureprocessor.TestAutoConfigureAfter",
|
||||
"org.springframework.boot.autoconfigureprocessor.TestAutoConfigureOrder" })
|
||||
public class TestConditionMetdataAnnotationProcessor
|
||||
public class TestConditionMetadataAnnotationProcessor
|
||||
extends AutoConfigureAnnotationProcessor {
|
||||
|
||||
private final File outputLocation;
|
||||
|
||||
public TestConditionMetdataAnnotationProcessor(File outputLocation) {
|
||||
public TestConditionMetadataAnnotationProcessor(File outputLocation) {
|
||||
this.outputLocation = outputLocation;
|
||||
}
|
||||
|
||||
@@ -19,7 +19,7 @@ package org.springframework.boot.autoconfigureprocessor;
|
||||
import java.io.OutputStream;
|
||||
|
||||
/**
|
||||
* Test configuration with an annoated method.
|
||||
* Test configuration with an annotated method.
|
||||
*
|
||||
* @author Madhura Bhave
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user