exceptionfactory commented on code in PR #9122:
URL: https://github.com/apache/nifi/pull/9122#discussion_r1715584839


##########
nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/UnpackContent.java:
##########
@@ -437,6 +463,11 @@ public void unpack(final ProcessSession session, final 
FlowFile source, final Li
             }
         }
 
+        private record ZipInputStreamMetadata(boolean directory, String 
zipEntryName, EncryptionMethod encryptionMethod,
+                                               Instant creationTime, Instant 
lastModifiedDate, Instant lastAccessDate, int mode,
+                                               long uncompressedSize) {
+        }

Review Comment:
   Recommend renaming this `record` to `ZipEntryMetadata` as it only applies to 
a single entry. Also recommend listing each property on its own line for 
clarity.
   



-- 
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]

Reply via email to