greyp9 commented on code in PR #7384:
URL: https://github.com/apache/nifi/pull/7384#discussion_r1231459842


##########
nifi-commons/nifi-repository-encryption/src/main/java/org/apache/nifi/repository/encryption/AesGcmByteArrayRepositoryEncryptor.java:
##########
@@ -74,9 +73,17 @@ protected byte[] encrypt(final byte[] record, final String 
recordId, final Strin
         try {
             final byte[] encryptedRecord = cipher.doFinal(record);
             final byte[] serializedMetadata = getMetadata(keyId, 
cipher.getIV(), encryptedRecord.length);
-            return Arrays.concatenate(serializedMetadata, encryptedRecord);
+            return concatenate(serializedMetadata, encryptedRecord);

Review Comment:
   Thanks, I missed that commons is an implicit dependency.



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