Browse Source

Remove double instantiation of Manifest

Closes gh-4701
pull/4708/head
mnhock 10 years ago committed by Stephane Nicoll
parent
commit
7348ef5ef1
  1. 1
      spring-boot-tools/spring-boot-loader-tools/src/test/java/org/springframework/boot/loader/tools/RepackagerTests.java

1
spring-boot-tools/spring-boot-loader-tools/src/test/java/org/springframework/boot/loader/tools/RepackagerTests.java

@ -123,7 +123,6 @@ public class RepackagerTests { @@ -123,7 +123,6 @@ public class RepackagerTests {
public void mainClassFromManifest() throws Exception {
this.testJarFile.addClass("a/b/C.class", ClassWithoutMainMethod.class);
Manifest manifest = new Manifest();
manifest = new Manifest();
manifest.getMainAttributes().putValue("Manifest-Version", "1.0");
manifest.getMainAttributes().putValue("Main-Class", "a.b.C");
this.testJarFile.addManifest(manifest);

Loading…
Cancel
Save