Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass anonymousClassDiffs within lambdas to parentMapper
lucene/test-framework/src/java/org/apache/lucene/codecs/uniformsplit/UniformSplitRot13PostingsFormat.java apache/lucene-solr@f43fe76 protected BlockEncoder getBlockEncoder() { return (blockBytes, length) -> { byte[] encodedBytes = Rot13CypherTestUtil.encode(blockBytes, Math.toIntExact(length)); return new BlockEncoder.WritableBytes() { @OverRide public long size() { return encodedBytes.length; } @OverRide public void writeTo(DataOutput dataOutput) throws IOException { encoderCalled = true; dataOutput.writeBytes(encodedBytes, 0, encodedBytes.length); } }; }; }
- Loading branch information