exceptionfactory commented on a change in pull request #5312:
URL: https://github.com/apache/nifi/pull/5312#discussion_r804999842
##########
File path:
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AttributesToJSON.java
##########
@@ -212,10 +212,7 @@ protected void init(final ProcessorInitializationContext
context) {
if (ats != null) {
Set<String> result = new HashSet<>(ats.length);
for (String str : ats) {
- String trim = str.trim();
- if (!atrsToExclude.contains(trim)) {
Review comment:
With this change, the `atrsToExclude` parameter no longer appears to be
used, so the method signature should be adjusted and calling code adjusted.
--
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]