[
https://issues.apache.org/jira/browse/NIFI-16162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18103498#comment-18103498
]
ASF subversion and git services commented on NIFI-16162:
--------------------------------------------------------
Commit d44d9b7b560f59be22f888bbd93ea835796b658a in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=d44d9b7b560 ]
NIFI-16162 Deprecated StreamUtils.copy() and replaced with
InputStream.transferTo() (#11521)
Signed-off-by: David Handermann <[email protected]>
> 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}} 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)