Remove double instantiation of Manifest

Closes gh-4701
This commit is contained in:
mnhock 2015-12-07 19:30:12 +01:00 committed by Stephane Nicoll
parent 203ceffe94
commit 7348ef5ef1
1 changed files with 0 additions and 1 deletions

View File

@ -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);