Github user alopresto commented on a diff in the pull request:

    https://github.com/apache/nifi/pull/2987#discussion_r215021556
  
    --- Diff: 
nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/JoltTransformJSON.java
 ---
    @@ -130,6 +130,15 @@
                 .required(true)
                 .build();
     
    +    public static final PropertyDescriptor PRETTY_PRINT = new 
PropertyDescriptor.Builder()
    +            .name(("Pretty Print"))
    --- End diff --
    
    There's an extra set of parentheses here, and the `name` field is usually 
formatted like `pretty_print` because it is used in XML object resolution. The 
`displayName` field below is used for the human-readable and changeable value 
that won't affect object resolution during flow loading. 


---

Reply via email to