From dfdc177c506820f3660e625e9d5f2863fc5e3ff1 Mon Sep 17 00:00:00 2001 From: James Ahlborn Date: Fri, 14 Mar 2008 19:17:23 +0000 Subject: [PATCH] tweak column display git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@271 f203690c-595d-4dc9-a70b-905162fa7fd2 --- src/java/com/healthmarketscience/jackcess/Column.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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(); } -- 2.39.5