nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From joew...@apache.org
Subject [26/50] [abbrv] incubator-nifi git commit: Adjusting scope of methods as they are specific to the JsonPath related processors
Date Mon, 02 Mar 2015 04:04:05 GMT
Adjusting scope of methods as they are specific to the JsonPath related processors


Project: http://git-wip-us.apache.org/repos/asf/incubator-nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-nifi/commit/d6948601
Tree: http://git-wip-us.apache.org/repos/asf/incubator-nifi/tree/d6948601
Diff: http://git-wip-us.apache.org/repos/asf/incubator-nifi/diff/d6948601

Branch: refs/heads/develop
Commit: d6948601cd26d5a7c6cfccaaef297cebe91a9d2e
Parents: 46bf048
Author: Aldrin Piri <aldrinpiri@gmail.com>
Authored: Mon Feb 23 22:51:37 2015 -0500
Committer: Aldrin Piri <aldrinpiri@gmail.com>
Committed: Mon Feb 23 22:51:37 2015 -0500

----------------------------------------------------------------------
 .../nifi/processors/standard/AbstractJsonPathProcessor.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-nifi/blob/d6948601/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
index cb4dcf6..54edc70 100644
--- a/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
+++ b/nifi/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/AbstractJsonPathProcessor.java
@@ -61,7 +61,7 @@ public abstract class AbstractJsonPathProcessor extends AbstractProcessor
{
         }
     };
 
-    public static DocumentContext validateAndEstablishJsonContext(ProcessSession processSession,
FlowFile flowFile) {
+    static DocumentContext validateAndEstablishJsonContext(ProcessSession processSession,
FlowFile flowFile) {
 
         final BooleanHolder validJsonHolder = new BooleanHolder(false);
         processSession.read(flowFile, new InputStreamCallback() {
@@ -101,7 +101,7 @@ public abstract class AbstractJsonPathProcessor extends AbstractProcessor
{
         return !(obj instanceof Map || obj instanceof List);
     }
 
-    public static String getResultRepresentation(Object jsonPathResult) {
+    static String getResultRepresentation(Object jsonPathResult) {
         if (isJsonScalar(jsonPathResult)) {
             return jsonPathResult.toString();
         }


Mime
View raw message