fix for csv
This commit is contained in:
parent
0573773287
commit
deb3b0eb02
1 changed files with 3 additions and 4 deletions
|
@ -282,9 +282,6 @@ public final class BExpressionContext
|
|||
|
||||
public String getKeyValueDescription( boolean inverseDirection, byte[] ab )
|
||||
{
|
||||
int inverseBitByteIndex = meta.readVarLength ? 0 : 7;
|
||||
// int abLen = ab.length;
|
||||
|
||||
StringBuilder sb = new StringBuilder( 200 );
|
||||
decode( lookupData, inverseDirection, ab );
|
||||
for( int inum = 0; inum < lookupValues.size(); inum++ ) // loop over lookup names
|
||||
|
@ -293,7 +290,8 @@ public final class BExpressionContext
|
|||
String value = va[lookupData[inum]].toString();
|
||||
if ( value != null && value.length() > 0 )
|
||||
{
|
||||
sb.append( " " + lookupNames.get( inum ) + "=" + value );
|
||||
if ( sb.length() > 0 ) sb.append( ' ' );
|
||||
sb.append(lookupNames.get( inum ) + "=" + value );
|
||||
}
|
||||
}
|
||||
return sb.toString();
|
||||
|
@ -617,6 +615,7 @@ public final class BExpressionContext
|
|||
lookupData[inum] = valueIndex;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* special hack for yes/proposed relations:
|
||||
* add a lookup value if not yet a smaller, >1 value was added
|
||||
|
|
Loading…
Reference in a new issue