Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public Yaml visitDocuments(Yaml.Documents documents, ExecutionContext ctx) {
}
};
return sourceFileMask != null ?
Preconditions.check(new HasSourcePath(sourceFileMask), visitor)
Preconditions.check(new FindSourceFiles(sourceFileMask), visitor)
: visitor;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public String getDescription() {

@Override
public TreeVisitor<?, ExecutionContext> getVisitor() {
return Preconditions.check(new HasSourcePath("**/application*.{yml,yaml}"), new YamlIsoVisitor<ExecutionContext>() {
return Preconditions.check(new FindSourceFiles("**/application*.{yml,yaml}"), new YamlIsoVisitor<ExecutionContext>() {
@Override
public Yaml.Mapping.Entry visitMappingEntry(Yaml.Mapping.Entry entry, ExecutionContext ctx) {
Yaml.Mapping.Entry e = super.visitMappingEntry(entry, ctx);
Expand Down Expand Up @@ -93,7 +93,7 @@ public String getDescription() {

@Override
public TreeVisitor<?, ExecutionContext> getVisitor() {
return Preconditions.check(new HasSourcePath("**/application*.properties"), new PropertiesIsoVisitor<ExecutionContext>() {
return Preconditions.check(new FindSourceFiles("**/application*.properties"), new PropertiesIsoVisitor<ExecutionContext>() {
@Override
public Properties.Entry visitEntry(Properties.Entry entry, ExecutionContext ctx) {
Properties.Entry e = super.visitEntry(entry, ctx);
Expand Down

0 comments on commit d1ebfb4

Please sign in to comment.