Neat! Even-though they should probably use a custom type rather than the generic "Stream" to communicate that this needs to be closed. Or remove the try-with-resource block if closing is not necessary.
This way it leaves some room for misinterpretation.
Thank you for the suggestion!