Mark ProxyOutputStream as deprecated

This commit is contained in:
Paul Schaub 2024-03-27 21:57:04 +01:00
parent 86b4f99898
commit e9f015cd4c
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311

View file

@ -15,6 +15,7 @@ import java.io.OutputStream
* class is useful if we need to provide an [OutputStream] at one point in time when the final * class is useful if we need to provide an [OutputStream] at one point in time when the final
* target output stream is not yet known. * target output stream is not yet known.
*/ */
@Deprecated("Marked for removal.")
class ProxyOutputStream : OutputStream() { class ProxyOutputStream : OutputStream() {
private val buffer = ByteArrayOutputStream() private val buffer = ByteArrayOutputStream()
private var swapped: OutputStream? = null private var swapped: OutputStream? = null