Turns out the FilterBlock's getOrdinal value is from the "get", and does not share the same reference as setOrdinal, whose value is from the "set", would modify.

Because of this, even if #getOrdinal returns 0, we still must update the set with 0 by #setOrdinal.
Dieser Commit ist enthalten in:
IronApollo 2020-04-01 00:26:11 -04:00
Ursprung 16df4abd18
Commit 755ea09797

Datei anzeigen

@ -108,7 +108,7 @@ public class MaskingExtent extends AbstractDelegateExtent implements IBatchProce
@Override @Override
public void applyBlock(FilterBlock block) { public void applyBlock(FilterBlock block) {
int ordinal = block.getOrdinal(); int ordinal = block.getOrdinal();
if (ordinal != 0 && !mask.test(getExtent(), block)) { if (!mask.test(getExtent(), block)) {
block.setOrdinal(0); block.setOrdinal(0);
} }
} }