Polish
This commit is contained in:
@@ -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)) {
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user