You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2026/08/07 21:18:00 UTC

[jira] [Updated] (NIFI-16162) Deprecate copy method in org.apache.nifi.stream.io.StreamUtils and replace it with method transferTo from java.io.Inputstream

     [ https://issues.apache.org/jira/browse/NIFI-16162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Stieglitz updated NIFI-16162:
------------------------------------
    Summary: Deprecate copy method in org.apache.nifi.stream.io.StreamUtils and replace it with method transferTo from java.io.Inputstream   (was: Deprecate copy method in org.apache.nifi.stream.io.StreamUtils and replace it with java.io.Inputstream and replace their use with those equivalents)

> Deprecate copy method in org.apache.nifi.stream.io.StreamUtils and replace it with method transferTo from java.io.Inputstream 
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-16162
>                 URL: https://issues.apache.org/jira/browse/NIFI-16162
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The {{copy}} and {{skip}} in {{org.apache.nifi.stream.io.StreamUtils can be replaced with java.io.Inputstream}} methods {{transferTo(OutputStream out) and skipNBytes(long n). Hence they should be deprecated and their use should be replaced with these equivalents. Other methods in org.apache.nifi.stream.io.StreamUtils}} such as {{read}} and {{fillBuffer}} will be addressed in subsequent ticket(s).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)