diff --git a/components/sbm-core/src/main/java/org/springframework/sbm/engine/recipe/RewriteRecipeLoader.java b/components/sbm-core/src/main/java/org/springframework/sbm/engine/recipe/RewriteRecipeLoader.java index 0aa597831..c8b6d1a08 100644 --- a/components/sbm-core/src/main/java/org/springframework/sbm/engine/recipe/RewriteRecipeLoader.java +++ b/components/sbm-core/src/main/java/org/springframework/sbm/engine/recipe/RewriteRecipeLoader.java @@ -16,7 +16,6 @@ package org.springframework.sbm.engine.recipe; import org.jetbrains.annotations.NotNull; -import org.openrewrite.Contributor; import org.openrewrite.config.DeclarativeRecipe; import org.openrewrite.config.Environment; import org.openrewrite.config.YamlResourceLoader; @@ -30,7 +29,6 @@ import java.nio.charset.StandardCharsets; import java.util.*; import java.util.stream.Collectors; -import java.util.stream.Stream; // @Component diff --git a/components/sbm-core/src/main/java/org/springframework/sbm/java/impl/ClasspathRegistry.java b/components/sbm-core/src/main/java/org/springframework/sbm/java/impl/ClasspathRegistry.java index 9d46521f1..2eb20e160 100644 --- a/components/sbm-core/src/main/java/org/springframework/sbm/java/impl/ClasspathRegistry.java +++ b/components/sbm-core/src/main/java/org/springframework/sbm/java/impl/ClasspathRegistry.java @@ -18,10 +18,8 @@ import lombok.extern.slf4j.Slf4j; import org.openrewrite.maven.cache.LocalMavenArtifactCache; import org.openrewrite.maven.tree.ResolvedDependency; -import org.openrewrite.maven.tree.Scope; import org.springframework.rewrite.parser.maven.RewriteMavenArtifactDownloader; import org.springframework.sbm.build.api.BuildFile; -import org.springframework.sbm.build.impl.OpenRewriteMavenBuildFile; import org.springframework.sbm.project.parser.DependencyHelper; import java.nio.file.Path;