From 3c97401a8644a0d7603678e4a92b2c1919dcc7b4 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Thu, 5 Oct 2017 17:58:18 -0700 Subject: [PATCH] Polish --- .../springframework/boot/cli/command/grab/GrabCommand.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/grab/GrabCommand.java b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/grab/GrabCommand.java index c5544eb0102..9b35aca4f77 100644 --- a/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/grab/GrabCommand.java +++ b/spring-boot-project/spring-boot-cli/src/main/java/org/springframework/boot/cli/command/grab/GrabCommand.java @@ -48,17 +48,13 @@ public class GrabCommand extends OptionParsingCommand { @Override protected ExitStatus run(OptionSet options) throws Exception { SourceOptions sourceOptions = new SourceOptions(options); - List repositoryConfiguration = RepositoryConfigurationFactory .createDefaultRepositoryConfiguration(); - GroovyCompilerConfiguration configuration = new OptionSetGroovyCompilerConfiguration( options, this, repositoryConfiguration); - if (System.getProperty("grape.root") == null) { System.setProperty("grape.root", "."); } - GroovyCompiler groovyCompiler = new GroovyCompiler(configuration); groovyCompiler.compile(sourceOptions.getSourcesArray()); return ExitStatus.OK;