camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [08/12] git commit: CAMEL-7220 Fixed other CS errors
Date Fri, 12 Sep 2014 15:36:19 GMT
CAMEL-7220 Fixed other CS errors


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

Branch: refs/heads/master
Commit: 5f13c2d42959573f0e5bdad7209ba8cd85a7d12c
Parents: 2f60969
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Fri Sep 12 23:17:41 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Fri Sep 12 23:17:41 2014 +0800

----------------------------------------------------------------------
 .../schematron/processor/SchematronProcessor.java |  6 ++++--
 .../processor/SchematronProcessorFactory.java     |  7 +++----
 .../schematron/processor/TemplatesFactory.java    | 18 +++++++++++-------
 3 files changed, 18 insertions(+), 13 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5f13c2d4/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessor.java
----------------------------------------------------------------------
diff --git a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessor.java
b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessor.java
index 8ba23ea..574e26c 100644
--- a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessor.java
+++ b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessor.java
@@ -17,18 +17,20 @@
 package org.apache.camel.component.schematron.processor;
 
 import java.io.StringWriter;
+
 import javax.xml.transform.Source;
 import javax.xml.transform.Templates;
 import javax.xml.transform.TransformerException;
 import javax.xml.transform.sax.SAXSource;
 import javax.xml.transform.stream.StreamResult;
 
+import org.xml.sax.InputSource;
+import org.xml.sax.XMLReader;
+
 import org.apache.camel.component.schematron.exception.SchematronValidationException;
 import org.apache.commons.io.IOUtils;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-import org.xml.sax.InputSource;
-import org.xml.sax.XMLReader;
 
 
 

http://git-wip-us.apache.org/repos/asf/camel/blob/5f13c2d4/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessorFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessorFactory.java
b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessorFactory.java
index 9e69b1b..c093b23 100644
--- a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessorFactory.java
+++ b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/SchematronProcessorFactory.java
@@ -16,16 +16,15 @@
  */
 package org.apache.camel.component.schematron.processor;
 
-
-
+import javax.xml.parsers.ParserConfigurationException;
+import javax.xml.parsers.SAXParser;
 import javax.xml.parsers.SAXParserFactory;
 import javax.xml.transform.Templates;
 
 import org.xml.sax.SAXException;
 import org.xml.sax.XMLReader;
+
 import org.apache.camel.component.schematron.exception.SchematronConfigException;
-import javax.xml.parsers.ParserConfigurationException;
-import javax.xml.parsers.SAXParser;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 

http://git-wip-us.apache.org/repos/asf/camel/blob/5f13c2d4/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
----------------------------------------------------------------------
diff --git a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
index b461c3b..15ed864 100644
--- a/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
+++ b/components/camel-schematron/src/main/java/org/apache/camel/component/schematron/processor/TemplatesFactory.java
@@ -16,11 +16,8 @@
  */
 package org.apache.camel.component.schematron.processor;
 
-import org.apache.camel.component.schematron.constant.Constants;
-import org.apache.camel.component.schematron.exception.SchematronConfigException;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-import org.w3c.dom.Node;
+import java.io.File;
+import java.io.InputStream;
 
 import javax.xml.transform.Source;
 import javax.xml.transform.Templates;
@@ -29,8 +26,15 @@ import javax.xml.transform.TransformerFactory;
 import javax.xml.transform.dom.DOMResult;
 import javax.xml.transform.dom.DOMSource;
 import javax.xml.transform.stream.StreamSource;
-import java.io.File;
-import java.io.InputStream;
+
+import org.w3c.dom.Node;
+
+import org.apache.camel.component.schematron.constant.Constants;
+import org.apache.camel.component.schematron.exception.SchematronConfigException;
+import org.slf4j.Logger;
+import org.slf4j.LoggerFactory;
+
+
 
 /**
  * Class generating Templates for a given schematron rules


Mime
View raw message