Polish contribution

Closes gh-12202
This commit is contained in:
Stephane Nicoll 2018-02-24 16:10:44 +01:00
parent e2fb093ccf
commit 2641559231
1 changed files with 2 additions and 2 deletions

View File

@ -166,8 +166,8 @@ final class JavaPluginAction implements PluginApplicationAction {
Set<File> files = compile.getOptions().getAnnotationProcessorPath() != null
? compile.getOptions().getAnnotationProcessorPath().getFiles()
: compile.getClasspath().getFiles();
return files.stream().map(File::getName)
.anyMatch((name) -> name.startsWith("spring-boot-configuration-processor"));
return files.stream().map(File::getName).anyMatch(
(name) -> name.startsWith("spring-boot-configuration-processor"));
}
private void configureAdditionalMetadataLocations(JavaCompile compile,