Add additional ElementExcludeFilter items

Fixes gh-2088
This commit is contained in:
Phillip Webb
2014-12-08 13:35:13 -08:00
parent 2b91471286
commit f0bc3c08e1
4 changed files with 31 additions and 6 deletions

View File

@@ -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 {

View File

@@ -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;
}
}