This commit is contained in:
Phillip Webb
2014-01-10 12:55:25 -08:00
parent 26d900f3ad
commit 47da8a817a
26 changed files with 112 additions and 66 deletions

View File

@@ -75,8 +75,8 @@ public class InitCommand extends OptionParsingCommand {
ClassLoader loader = Thread.currentThread().getContextClassLoader();
boolean enhanced = false;
SourceOptions sourceOptions = new SourceOptions(options, loader, "init.groovy",
"spring.groovy");
SourceOptions sourceOptions = new SourceOptions(options, loader,
"init.groovy", "spring.groovy");
String[] sources = sourceOptions.getSourcesArray();
if (!(loader instanceof GroovyClassLoader)) {

View File

@@ -43,7 +43,8 @@ public class TestRunner {
* @param sources
* @param args
*/
public TestRunner(TestRunnerConfiguration configuration, String[] sources, String[] args) {
public TestRunner(TestRunnerConfiguration configuration, String[] sources,
String[] args) {
this.sources = sources.clone();
this.compiler = new GroovyCompiler(configuration);
}