Polish
This commit is contained in:
@@ -72,7 +72,7 @@ public class DependencyFilterMojoTests {
|
||||
return a;
|
||||
}
|
||||
|
||||
private static class TestableDependencyFilterMojo extends
|
||||
private static final class TestableDependencyFilterMojo extends
|
||||
AbstractDependencyFilterMojo {
|
||||
|
||||
private TestableDependencyFilterMojo(List<Exclude> excludes,
|
||||
|
||||
@@ -40,10 +40,13 @@ import static org.junit.Assert.assertTrue;
|
||||
* @author Phillip Webb
|
||||
* @author Andy Wilkinson
|
||||
*/
|
||||
public class Verify {
|
||||
public final class Verify {
|
||||
|
||||
public static final String SAMPLE_APP = "org.test.SampleApplication";
|
||||
|
||||
private Verify() {
|
||||
}
|
||||
|
||||
public static void verifyJar(File file) throws Exception {
|
||||
new JarArchiveVerification(file, SAMPLE_APP).verify();
|
||||
}
|
||||
|
||||
@@ -23,7 +23,12 @@ package org.springframework.boot.maven.sample;
|
||||
*/
|
||||
public class ClassWithMainMethod {
|
||||
|
||||
public void run() {
|
||||
System.out.println("Hello World");
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
new ClassWithMainMethod().run();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user