Skip to content

Commit

Permalink
HtmlMainIndexFormatter is now a real singleton
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Aug 7, 2005
1 parent 2e211d0 commit 4466e81
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/net/sourceforge/schemaspy/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ public static void main(String[] argv) {

System.out.print(".");
out = new LineWriter(new FileWriter(new File(outputDir, "index.html")), 64 * 1024);
HtmlMainIndexFormatter indexFormatter = new HtmlMainIndexFormatter();
indexFormatter.write(db, tables, hasRelationships, hasOrphans, out);
HtmlMainIndexFormatter.getInstance().write(db, tables, hasRelationships, hasOrphans, out);
out.close();

System.out.print(".");
Expand Down

0 comments on commit 4466e81

Please sign in to comment.