joewitt commented on code in PR #8350:
URL: https://github.com/apache/nifi/pull/8350#discussion_r1476452074
##########
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/UnpackContent.java:
##########
@@ -353,7 +374,7 @@ public void unpack(final ProcessSession session, final
FlowFile source, final Li
int fragmentCount = 0;
try (final TarArchiveInputStream tarIn = new
TarArchiveInputStream(new BufferedInputStream(inputStream))) {
TarArchiveEntry tarEntry;
- while ((tarEntry = tarIn.getNextTarEntry()) != null) {
+ while ((tarEntry = tarIn.getNextEntry()) != null) {
Review Comment:
Is there some documentation you can point to suggesting changing this method
call is preferable? also changing this tar one here given this is about zip
changes is not ideal. Generally fine but if there is a clear value to doing so
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]