Minor exception message fix for ArrayBlockBuilder
When attempting to begin an entry on an already opened block writer,
the error message does not accurately reflect the current state.
@@ -190,7 +190,7 @@ public class ArrayBlockBuilder
public SingleArrayBlockWriter beginBlockEntry()
{
if (currentEntryOpened) {
- throw new IllegalStateException("Expected current entry to be closed but was closed");
+ throw new IllegalStateException("Expected current entry to be closed but was opened");
}
currentEntryOpened = true;
return new SingleArrayBlockWriter(values, values.getPositionCount());
