From: James Ahlborn Date: Fri, 14 Mar 2008 19:17:23 +0000 (+0000) Subject: tweak column display X-Git-Tag: rel_1_1_13~21 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=dfdc177c506820f3660e625e9d5f2863fc5e3ff1;p=jackcess.git tweak column display git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@271 f203690c-595d-4dc9-a70b-905162fa7fd2 --- diff --git a/src/java/com/healthmarketscience/jackcess/Column.java b/src/java/com/healthmarketscience/jackcess/Column.java index 6f2ac35..312c141 100644 --- a/src/java/com/healthmarketscience/jackcess/Column.java +++ b/src/java/com/healthmarketscience/jackcess/Column.java @@ -1118,7 +1118,12 @@ public class Column implements Comparable { rtn.append("\n\tNumber: " + _columnNumber); rtn.append("\n\tLength: " + _columnLength); rtn.append("\n\tVariable length: " + _variableLength); - rtn.append("\n\tCompressed Unicode: " + _compressedUnicode); + if(_variableLength) { + rtn.append("\n\tCompressed Unicode: " + _compressedUnicode); + } + if(_autoNumber) { + rtn.append("\n\tNext AutoNumber: " + (_table.getLastAutoNumber() + 1)); + } rtn.append("\n\n"); return rtn.toString(); }