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/07/31 20:01:00 UTC
[jira] [Updated] (NIFI-16162) Deprecate methods in org.apache.nifi.stream.io.StreamUtils which have equivalents in java.io.Inputstream and replace their use with those equivalents
[ https://issues.apache.org/jira/browse/NIFI-16162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Stieglitz updated NIFI-16162:
------------------------------------
Summary: Deprecate methods in org.apache.nifi.stream.io.StreamUtils which have equivalents in java.io.Inputstream and replace their use with those equivalents (was: Deprecate methods in org.apache.nifi.stream.io.StreamUtils w1hich have equivalents in java.io.Inputstream and replace their use with those equivalents)
> Deprecate methods 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
>
> There are a number of methods in org.apache.nifi.stream.io.StreamUtils which have equivalents in java.io.Inputstream. Below are the equivalents
>
> ||StreamUtils||Inputstream||
> |copy(final InputStream source, final OutputStream destination)|transferTo(OutputStream out)|
> |read(final InputStream source, final byte[] destination, final int byteCount)|readNBytes(byte[] b, int off, int len)|
> |skip(final InputStream stream, final long bytesToSkip)|skipNBytes(long n)|
>
> The point of this ticket is deprecate the aforementioned methods of StreamUtils and replace them with the Java equivalents.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)