camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lburgazz...@apache.org
Subject [3/3] camel git commit: Fix Stringhelper vs ObjectHelper
Date Wed, 16 Nov 2016 14:13:08 GMT
Fix Stringhelper vs ObjectHelper


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/7aecfac3
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/7aecfac3
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/7aecfac3

Branch: refs/heads/camel-2.18.x
Commit: 7aecfac39b1fce87a5568561047b29b4a0671c1d
Parents: 6fa418d
Author: lburgazzoli <lburgazzoli@gmail.com>
Authored: Wed Nov 16 15:12:56 2016 +0100
Committer: lburgazzoli <lburgazzoli@gmail.com>
Committed: Wed Nov 16 15:12:56 2016 +0100

----------------------------------------------------------------------
 .../camel/component/servicenow/AbstractServiceNowProcessor.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/7aecfac3/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
index 351eaec..a310eab 100644
--- a/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
+++ b/components/camel-servicenow/src/main/java/org/apache/camel/component/servicenow/AbstractServiceNowProcessor.java
@@ -90,8 +90,8 @@ public abstract class AbstractServiceNowProcessor implements Processor {
                 }
 
                 // Sanitize parts
-                String uri = StringHelper.between(parts[0], "<", ">");
-                String rel = StringHelper.removeQuotes(StringHelper.after(parts[1], "="));
+                String uri = ObjectHelper.between(parts[0], "<", ">");
+                String rel = StringHelper.removeQuotes(ObjectHelper.after(parts[1], "="));
 
                 Map<String, Object> query = URISupport.parseQuery(uri);
                 Object offset = query.get(ServiceNowParams.SYSPARM_OFFSET.getId());


Mime
View raw message