diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/java/com/healthmarketscience/jackcess/Index.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/com/healthmarketscience/jackcess/Index.java b/src/java/com/healthmarketscience/jackcess/Index.java index 8e8e088..4d4d89a 100644 --- a/src/java/com/healthmarketscience/jackcess/Index.java +++ b/src/java/com/healthmarketscience/jackcess/Index.java @@ -1328,7 +1328,7 @@ public class Index implements Comparable<Index> { /** extra column bytes */ private byte[] _extraBytes; /** whether or not the trailing bytes were found */ - private boolean _hasTrailingBytes; + private boolean _hasTrailingBytes = true; private TextEntryColumn(Column col) throws IOException { super(col); @@ -1370,7 +1370,6 @@ public class Index implements Comparable<Index> { if ((flag != (byte) 0) && (flag != (byte)0xFF)) { int endPos = buffer.position(); - _hasTrailingBytes = true; while(buffer.get(endPos) != (byte) 1) { if(endPos == maxPos) { _hasTrailingBytes = false; |