Add additional ElementExcludeFilter items
Fixes gh-2088
This commit is contained in:
@@ -283,6 +283,7 @@ public class ConfigurationMetadataAnnotationProcessorTests {
|
||||
assertThat(metadata, not(containsProperty("excluded.data-source")));
|
||||
assertThat(metadata, not(containsProperty("excluded.print-writer")));
|
||||
assertThat(metadata, not(containsProperty("excluded.writer")));
|
||||
assertThat(metadata, not(containsProperty("excluded.writer-array")));
|
||||
}
|
||||
|
||||
private ConfigurationMetadata compile(Class<?>... types) throws IOException {
|
||||
|
||||
@@ -42,6 +42,8 @@ public class ExcludedTypesPojo {
|
||||
|
||||
private Writer writer;
|
||||
|
||||
private Writer[] writerArray;
|
||||
|
||||
public String getName() {
|
||||
return this.name;
|
||||
}
|
||||
@@ -82,4 +84,12 @@ public class ExcludedTypesPojo {
|
||||
this.writer = writer;
|
||||
}
|
||||
|
||||
public Writer[] getWriterArray() {
|
||||
return this.writerArray;
|
||||
}
|
||||
|
||||
public void setWriterArray(Writer[] writerArray) {
|
||||
this.writerArray = writerArray;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user