From 5b145e10e8508bec5293aab7318978fc3c9e2b57 Mon Sep 17 00:00:00 2001 From: Aldrin Piri Date: Mon, 16 Feb 2015 18:34:23 -0500 Subject: [PATCH] Adjusting error where the return type of string was omitted from the possible selections --- .../org/apache/nifi/processors/standard/EvaluateJsonPath.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java index 13eb50b758..d6bcdc184c 100644 --- a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java +++ b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/EvaluateJsonPath.java @@ -72,7 +72,7 @@ public class EvaluateJsonPath extends AbstractProcessor { .name("Return Type") .description("Indicates the desired return type of the JSON Path expressions. Selecting 'auto-detect' will set the return type to 'json' for a Destination of 'flowfile-content', and 'string' for a Destination of 'flowfile-attribute'.") .required(true) - .allowableValues(RETURN_TYPE_AUTO, RETURN_TYPE_AUTO, RETURN_TYPE_STRING) + .allowableValues(RETURN_TYPE_AUTO, RETURN_TYPE_JSON, RETURN_TYPE_STRING) .defaultValue(RETURN_TYPE_AUTO) .build();