Polish
This commit is contained in:
@@ -155,11 +155,9 @@ public class JarCommand extends OptionParsingCommand {
|
||||
options.valuesOf(this.excludeOption));
|
||||
List<File> roots = new ArrayList<File>();
|
||||
for (URL classpathEntry : classpath) {
|
||||
File file = new File(URI.create(classpathEntry.toString()));
|
||||
roots.add(file);
|
||||
roots.add(new File(URI.create(classpathEntry.toString())));
|
||||
}
|
||||
List<MatchedResource> found = matcher.find(roots);
|
||||
return found;
|
||||
return matcher.find(roots);
|
||||
}
|
||||
|
||||
private void writeJar(File file, Class<?>[] compiledClasses,
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2013 the original author or authors.
|
||||
* Copyright 2012-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2012-2013 the original author or authors.
|
||||
* Copyright 2012-2014 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -22,9 +22,14 @@ import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
||||
import org.springframework.boot.cli.compiler.autoconfigure.RabbitCompilerAutoConfiguration;
|
||||
|
||||
/**
|
||||
* Pseudo annotation used to trigger {@link RabbitCompilerAutoConfiguration}.
|
||||
*/
|
||||
@Target(ElementType.TYPE)
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
public @interface EnableRabbitMessaging {
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user