You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by fo...@apache.org on 2015/07/18 09:11:32 UTC
camel git commit: CAMEL-8905: encoding problems in jsonpath solved
Repository: camel
Updated Branches:
refs/heads/master 805efdf57 -> 6d8b3a916
CAMEL-8905: encoding problems in jsonpath solved
This is just a dummy change. The actual change for CAMEL-8905 is
contained in the change 604d2d8c2f5b6176608f7dad827237f465980ac4.
This dummy change was created in order to relate the Camel JIRA ID to
the correction change ID.
Change-Id: Icc03d83bafc653bcdd477557a8d1ec245d3dd1a1
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/6d8b3a91
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6d8b3a91
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6d8b3a91
Branch: refs/heads/master
Commit: 6d8b3a916d6da5b3d498964af495ca7a82532d59
Parents: 805efdf
Author: Franz Forsthofer <fr...@sap.com>
Authored: Sat Jul 18 09:02:31 2015 +0200
Committer: Franz Forsthofer <fr...@sap.com>
Committed: Sat Jul 18 09:10:33 2015 +0200
----------------------------------------------------------------------
.../src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/6d8b3a91/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java
----------------------------------------------------------------------
diff --git a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java
index 7d6b7db..e619a97 100644
--- a/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java
+++ b/components/camel-jsonpath/src/main/java/org/apache/camel/jsonpath/JsonPathEngine.java
@@ -80,8 +80,8 @@ public class JsonPathEngine {
// json encoding specified in header
return path.read(is, jsonEncoding, configuration);
} else {
- // no json encoding specified --> assume json encoding is unicode and determine the specific unicode encoding according to RFC-4627
- // this is a temporary solution, it can be removed as soon as jsonpath offers the encoding detection
+ // No json encoding specified --> assume json encoding is unicode and determine the specific unicode encoding according to RFC-4627.
+ // This is a temporary solution, it can be removed as soon as jsonpath offers the encoding detection
JsonStream jsonStream = new JsonStream(is);
return path.read(jsonStream, jsonStream.getEncoding().name(), configuration);
}