exceptionfactory commented on a change in pull request #5083: URL: https://github.com/apache/nifi/pull/5083#discussion_r635391629
########## File path: nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/FlattenJson.java ########## @@ -157,25 +203,36 @@ public void onTrigger(final ProcessContext context, final ProcessSession session final String mode = context.getProperty(FLATTEN_MODE).getValue(); final FlattenMode flattenMode = getFlattenMode(mode); - String separator = context.getProperty(SEPARATOR).evaluateAttributeExpressions(flowFile).getValue(); - + final Character separator = context.getProperty(SEPARATOR).evaluateAttributeExpressions(flowFile).getValue().charAt(0; Review comment: Thanks for making the updates @naddym, looks like the automated builds failed due to missing a trailing `)` on this line. ```suggestion final Character separator = context.getProperty(SEPARATOR).evaluateAttributeExpressions(flowFile).getValue().charAt(0); ``` -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org