summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Ahlborn <jtahlborn@yahoo.com>2008-02-29 20:10:26 +0000
committerJames Ahlborn <jtahlborn@yahoo.com>2008-02-29 20:10:26 +0000
commit4b13aaaaf860fe11fcae05dd952607866d4f08fc (patch)
treeb64bc502a5bdf8de5e4744af265b3f0f68032b6c /src
parenta8ae554a25a838fda4c80c0c222ea5c50462bcf8 (diff)
downloadjackcess-4b13aaaaf860fe11fcae05dd952607866d4f08fc.tar.gz
jackcess-4b13aaaaf860fe11fcae05dd952607866d4f08fc.zip
default to true for new entries
git-svn-id: https://svn.code.sf.net/p/jackcess/code/jackcess/trunk@243 f203690c-595d-4dc9-a70b-905162fa7fd2
Diffstat (limited to 'src')
-rw-r--r--src/java/com/healthmarketscience/jackcess/Index.java3
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;