You could use `byte[0]` for no padding and get rid of `null`/flag checks as 
well as the `padNullValue` flag via a method `isPadding { return padding.length 
> 0;}`. Then also annotating the field as `@Nonnull` and just always call the 
method that writes padding to remove a couple branches.

[ Full content available at: https://github.com/apache/flink/pull/6707 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to