Skip to content

Commit

Permalink
fix to modify jar file on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ctomc committed Jul 13, 2011
1 parent e1d8d5d commit 3ec10f3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/jboss/jandex/JarIndexer.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ public static Result createJarIndex(File jarFile, Indexer indexer, boolean modif
Index index = indexer.complete();
int bytes = writer.write(index);

out.close();
zo.close();
jar.close();

if (modify) {
jarFile.delete();
Expand Down

0 comments on commit 3ec10f3

Please sign in to comment.