You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CoderInputStream wraps an InputStream but does not manage the lifetime of that InputStream [1]. this is generally common practice (e.g. BufferedInputStream, GZIPInputStream, etc...), and may lead to resource leaks if the underlying stream is not managed externally to the CoderInputStream. Is there a reason why the lifetime of the wrapped stream is not managed?
CoderInputStream
wraps anInputStream
but does not manage the lifetime of thatInputStream
[1]. this is generally common practice (e.g.BufferedInputStream
,GZIPInputStream
, etc...), and may lead to resource leaks if the underlying stream is not managed externally to theCoderInputStream
. Is there a reason why the lifetime of the wrapped stream is not managed?[1] https://github.com/cstamas/streams/blob/master/src/main/java/org/cservenak/streams/CoderInputStream.java#L80
The text was updated successfully, but these errors were encountered: