Merge pull request #4701 from mnhock/Remove_double_instantiation

* pr/4701:
  Remove double instantiation of Manifest
This commit is contained in:
Stephane Nicoll 2015-12-08 11:06:04 +01:00
commit 3ff194866f
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);