Skip to content

Commit

Permalink
HtmlAnomaliesFormatter 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 e3ce5d5 commit fc90909
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 @@ -195,8 +195,7 @@ public static void main(String[] argv) {

System.out.print(".");
out = new LineWriter(new FileWriter(new File(outputDir, "anomalies.html")), 16 * 1024);
HtmlAnomaliesFormatter anomaliesFormatter = new HtmlAnomaliesFormatter();
anomaliesFormatter.write(db, tables, impliedConstraints, hasRelationships, hasOrphans, out);
HtmlAnomaliesFormatter.getInstance().write(db, tables, impliedConstraints, hasRelationships, hasOrphans, out);
out.close();


Expand Down

0 comments on commit fc90909

Please sign in to comment.