mirror of
https://github.com/apache/nifi.git
synced 2025-02-23 11:15:09 +00:00
- Renamed classes from DataUpload to ResourceTransfer and updated references - Disabled testNonReadableFile() on Windows due to Posix permissions - Replaced utility methods with functional handling of FileResource - Corrected FlowFile InputStream access using Optional.orElseGet() Backported - Updated 2.0.0-SNAPSHOT references to 1.23.0-SNAPSHOT - Replaced InputStream.readAllBytes() with IOUtils.toByteArray(inputStream) to address Java8 incompatibility - Replaced Optional.isEmpty() with Optional.isPresent() to address Java8 incompatibility This closes: #7458 Co-authored-by: David Handermann <exceptionfactory@apache.org> Signed-off-by: Nandor Soma Abonyi <nsabonyi@apache.org> (cherry picked from commit 437995b75a4237b7bf9d304f7693cf3b53371a9f)