Skip to content

Commit

Permalink
Dumping the index - output the version
Browse files Browse the repository at this point in the history
- resolves #56
  • Loading branch information
mkouba committed Apr 3, 2019
1 parent 61d1115 commit 76553a3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/org/jboss/jandex/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ private void dumpIndex(File source) throws IOException {
long start = System.currentTimeMillis();
Index index = reader.read();
long end = System.currentTimeMillis() - start;
System.out.println("Dump index v" + reader.getIndexVersion() + " (current: v" + IndexWriterV2.MAX_VERSION + ") file: " + source);
index.printAnnotations();
index.printSubclasses();

Expand Down

0 comments on commit 76553a3

Please sign in to comment.