[
https://issues.apache.org/jira/browse/NIFI-16162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-16162:
------------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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: 40m
> Remaining Estimate: 0h
>
> The {{copy}} method in {{org.apache.nifi.stream.io.StreamUtils can be
> replaced with java.io.Inputstream}} method {{transferTo(OutputStream out).
> Hence it should be deprecated. Other methods in
> org.apache.nifi.stream.io.StreamUtils}} such as skip, {{read and fillBuffer}}
> will be addressed in subsequent ticket(s).
--
This message was sent by Atlassian Jira
(v8.20.10#820010)