Today the chunk header class has two fields, isFinished and finished, to indicate that the parser has reached a finished chunk.
Only one is needed.
If the chunk is finished and doesn't contain metadata, an IOException is thrown afterJDK-8289688. The field isFinished can safely be removed.
Only one is needed.
If the chunk is finished and doesn't contain metadata, an IOException is thrown after