camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1382744 - /camel/trunk/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java
Date Mon, 10 Sep 2012 10:35:55 GMT
Author: bvahdat
Date: Mon Sep 10 10:35:55 2012
New Revision: 1382744

URL: http://svn.apache.org/viewvc?rev=1382744&view=rev
Log:
Reverted the previous commit as in OSGi we should still support Saxon 9.3.x as well where
these Saxon classes are not "generified" yet.

Modified:
    camel/trunk/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java

Modified: camel/trunk/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java?rev=1382744&r1=1382743&r2=1382744&view=diff
==============================================================================
--- camel/trunk/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java
(original)
+++ camel/trunk/components/camel-saxon/src/main/java/org/apache/camel/component/xquery/XQueryBuilder.java
Mon Sep 10 10:35:55 2012
@@ -194,8 +194,8 @@ public abstract class XQueryBuilder impl
         initialize(exchange);
 
         StringWriter buffer = new StringWriter();
-        SequenceIterator<?> iter = getExpression().iterator(createDynamicContext(exchange));
-        for (Item<?> item = iter.next(); item != null; item = iter.next()) {
+        SequenceIterator iter = getExpression().iterator(createDynamicContext(exchange));
+        for (Item item = iter.next(); item != null; item = iter.next()) {
             buffer.append(item.getStringValueCS());
         }
 
@@ -463,7 +463,7 @@ public abstract class XQueryBuilder impl
         DynamicQueryContext dynamicQueryContext = new DynamicQueryContext(config);
 
         Message in = exchange.getIn();
-        Item<?> item = null;
+        Item item = null;
         if (ObjectHelper.isNotEmpty(getHeaderName())) {
             item = in.getHeader(getHeaderName(), Item.class);
         } else {



Mime
View raw message