Skip to content

Commit

Permalink
Remove double instantiation of Manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
mnhock authored and snicoll committed Dec 8, 2015
1 parent 203ceff commit 7348ef5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ public void specificMainClass() throws Exception {
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);
Expand Down

0 comments on commit 7348ef5

Please sign in to comment.