From 4466e812305f7c8f1398b4d718b3a80c4545ff89 Mon Sep 17 00:00:00 2001 From: johncurrier Date: Sun, 7 Aug 2005 01:06:54 +0000 Subject: [PATCH] HtmlMainIndexFormatter is now a real singleton --- src/net/sourceforge/schemaspy/Main.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net/sourceforge/schemaspy/Main.java b/src/net/sourceforge/schemaspy/Main.java index ab494cb..99ca8cf 100755 --- a/src/net/sourceforge/schemaspy/Main.java +++ b/src/net/sourceforge/schemaspy/Main.java @@ -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(".");