exceptionfactory commented on code in PR #10445:
URL: https://github.com/apache/nifi/pull/10445#discussion_r2446633445
##########
nifi-extension-bundles/nifi-media-bundle/nifi-media-processors/src/main/java/org/apache/nifi/processors/image/ResizeImage.java:
##########
@@ -85,8 +86,7 @@ public class ResizeImage extends AbstractProcessor {
.defaultValue(RESIZE_DEFAULT.getValue())
.build();
static final PropertyDescriptor KEEP_RATIO = new
PropertyDescriptor.Builder()
- .displayName("Maintain aspect ratio")
- .name("keep-ratio")
+ .name("Maintain aspect ratio")
Review Comment:
```suggestion
.name("Maintain Aspect Ratio")
```
##########
nifi-extension-bundles/nifi-network-bundle/nifi-network-processors/src/main/java/org/apache/nifi/processors/network/ParseNetflowv5.java:
##########
@@ -75,7 +76,8 @@ public class ParseNetflowv5 extends AbstractProcessor {
"Parsed data routes as flowfile JSON content");
public static final AllowableValue DESTINATION_ATTRIBUTES = new
AllowableValue(FLOWFILE_ATTRIBUTE, FLOWFILE_ATTRIBUTE,
"Parsed data routes as flowfile attributes");
- public static final PropertyDescriptor FIELDS_DESTINATION = new
PropertyDescriptor.Builder().name("FIELDS_DESTINATION").displayName("Parsed
fields destination")
+ public static final PropertyDescriptor FIELDS_DESTINATION = new
PropertyDescriptor.Builder()
+ .name("Parsed fields destination")
Review Comment:
```suggestion
.name("Parsed Fields Destination")
```
##########
nifi-extension-bundles/nifi-mqtt-bundle/nifi-mqtt-processors/src/main/java/org/apache/nifi/processors/mqtt/ConsumeMQTT.java:
##########
@@ -180,8 +180,7 @@ public class ConsumeMQTT extends AbstractMQTTProcessor {
.build();
public static final PropertyDescriptor ADD_ATTRIBUTES_AS_FIELDS = new
PropertyDescriptor.Builder()
- .name("add-attributes-as-fields")
- .displayName("Add attributes as fields")
+ .name("Add attributes as fields")
Review Comment:
```suggestion
.name("Add Attributes as Fields")
```
--
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]