camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject git commit: Fixed CS
Date Wed, 27 Aug 2014 12:39:44 GMT
Repository: camel
Updated Branches:
  refs/heads/master adeefbc24 -> 39d286b80


Fixed CS


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

Branch: refs/heads/master
Commit: 39d286b80501f4f0eecbefc8abcc4fe71d7f0045
Parents: adeefbc
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Wed Aug 27 14:39:35 2014 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Wed Aug 27 14:39:35 2014 +0200

----------------------------------------------------------------------
 .../apache/camel/builder/xml/DefaultTransformErrorHandler.java  | 5 +++--
 .../src/main/java/org/apache/camel/builder/xml/XsltBuilder.java | 3 ++-
 2 files changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/39d286b8/camel-core/src/main/java/org/apache/camel/builder/xml/DefaultTransformErrorHandler.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/builder/xml/DefaultTransformErrorHandler.java
b/camel-core/src/main/java/org/apache/camel/builder/xml/DefaultTransformErrorHandler.java
index 006545f..f2f253d 100644
--- a/camel-core/src/main/java/org/apache/camel/builder/xml/DefaultTransformErrorHandler.java
+++ b/camel-core/src/main/java/org/apache/camel/builder/xml/DefaultTransformErrorHandler.java
@@ -19,17 +19,18 @@ package org.apache.camel.builder.xml;
 import javax.xml.transform.ErrorListener;
 import javax.xml.transform.TransformerException;
 
-import org.apache.camel.Exchange;
 import org.xml.sax.ErrorHandler;
 import org.xml.sax.SAXException;
 import org.xml.sax.SAXParseException;
 
+import org.apache.camel.Exchange;
+
 /**
  * {@link ErrorHandler} and {@link ErrorListener} which will ignore warnings,
  * and throws error and fatal as exception, which ensures those can be caught by Camel and
dealt-with.
  * <p/>
  * Also any warning, error or fatal error is stored on the {@link Exchange} as a property
with the keys
- * {@link Exchange#XSLT_WARNING}, {@link Exchange#XSLT_ERROR}, and {@link Exchange#XSLT_FATAL_ERROR}
which
+ * <tt>CamelXsltWarning</tt>, <tt>CamelXsltError</tt>, and <tt>CamelXsltFatalError</tt>
which
  * allows end users to access those information form the exchange.
  */
 public class DefaultTransformErrorHandler implements ErrorHandler, ErrorListener {

http://git-wip-us.apache.org/repos/asf/camel/blob/39d286b8/camel-core/src/main/java/org/apache/camel/builder/xml/XsltBuilder.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/builder/xml/XsltBuilder.java b/camel-core/src/main/java/org/apache/camel/builder/xml/XsltBuilder.java
index 7fdd1cf..4a57537 100644
--- a/camel-core/src/main/java/org/apache/camel/builder/xml/XsltBuilder.java
+++ b/camel-core/src/main/java/org/apache/camel/builder/xml/XsltBuilder.java
@@ -41,6 +41,8 @@ import javax.xml.transform.sax.SAXSource;
 import javax.xml.transform.stax.StAXSource;
 import javax.xml.transform.stream.StreamSource;
 
+import org.w3c.dom.Node;
+
 import org.apache.camel.CamelContext;
 import org.apache.camel.CamelContextAware;
 import org.apache.camel.Exchange;
@@ -59,7 +61,6 @@ import org.apache.camel.util.IOHelper;
 import org.apache.camel.util.ObjectHelper;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-import org.w3c.dom.Node;
 
 import static org.apache.camel.util.ObjectHelper.notNull;
 


Mime
View raw message