implemented 1416503, automatic closing of braces
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / view / bookmark / ColumnNode.java
index d1f53af..3455de3 100644 (file)
@@ -34,14 +34,14 @@ public class ColumnNode extends TreeNode {
         String label = getName() + " : " + this.column.getTypeName(); //$NON-NLS-1$
         if (this.column.isNumeric()) {
             if (this.column.getSize() > 0 || this.column.getNumberOfFractionalDigits() > 0) {
-                label += "(" + Integer.toString(this.column.getSize()); //$NON-NLS-1$
+                label += "(" + Long.toString(this.column.getSize()); //$NON-NLS-1$
                 if (this.column.getNumberOfFractionalDigits() > 0) {
                     label += "," + Integer.toString(this.column.getNumberOfFractionalDigits()); //$NON-NLS-1$
                 }
                 label += ")"; //$NON-NLS-1$
             }
         } else if (this.column.getSize() > 0) {
-            label += "(" + Integer.toString(this.column.getSize()) + ")"; //$NON-NLS-1$ //$NON-NLS-2$
+            label += "(" + Long.toString(this.column.getSize()) + ")"; //$NON-NLS-1$ //$NON-NLS-2$
         }
         return label;
     }