Skip to content

Commit

Permalink
Re-use already retrieved length
Browse files Browse the repository at this point in the history
  • Loading branch information
johncurrier committed Aug 27, 2006
1 parent bd9d471 commit 35bb4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/net/sourceforge/schemaspy/model/TableColumn.java
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class TableColumn {
length = rs.getInt("COLUMN_SIZE");

StringBuffer buf = new StringBuffer();
buf.append(rs.getInt("COLUMN_SIZE"));
buf.append(length);
if (decimalDigits > 0) {
buf.append(',');
buf.append(decimalDigits);
Expand Down

0 comments on commit 35bb4de

Please sign in to comment.