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

Daniel Stieglitz updated NIFI-16162:
------------------------------------
    Description: 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).  (was: 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).)

> Deprecate methods copy and skip in org.apache.nifi.stream.io.StreamUtils 
> which have equivalents in java.io.Inputstream and replace their use with 
> those equivalents
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 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
>
> 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)

Reply via email to