From f900a9a6365a4d02c0083dd29e14927d6ffa6576 Mon Sep 17 00:00:00 2001 From: Sam Snyder Date: Wed, 7 Aug 2024 17:55:59 -0700 Subject: [PATCH] Use faster JavaSourceSet.build() overload --- src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java b/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java index e35bd353..df5e7eb7 100644 --- a/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java +++ b/src/main/java/org/openrewrite/maven/MavenMojoProjectParser.java @@ -509,7 +509,7 @@ private Stream processTestSources( } private static JavaSourceSet sourceSet(String name, List dependencies, JavaTypeCache typeCache) { - return JavaSourceSet.build(name, dependencies, typeCache, false); + return JavaSourceSet.build(name, dependencies); } public @Nullable Xml.Document parseMaven(MavenProject mavenProject, List projectProvenance, ExecutionContext ctx) {