camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cmuel...@apache.org
Subject git commit: fixed CS error
Date Sun, 15 Sep 2013 17:56:20 GMT
Updated Branches:
  refs/heads/master f6ece1220 -> b544ac298


fixed CS error


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

Branch: refs/heads/master
Commit: b544ac2984efac01e39b138103dc406eb8bc4aab
Parents: f6ece12
Author: cmueller <cmueller@apache.org>
Authored: Sun Sep 15 19:24:35 2013 +0200
Committer: cmueller <cmueller@apache.org>
Committed: Sun Sep 15 19:55:51 2013 +0200

----------------------------------------------------------------------
 .../component/xmlsecurity/api/XmlSignatureHelper.java    | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/b544ac29/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureHelper.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureHelper.java
b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureHelper.java
index 851aeb5..8650ce8 100644
--- a/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureHelper.java
+++ b/components/camel-xmlsecurity/src/main/java/org/apache/camel/component/xmlsecurity/api/XmlSignatureHelper.java
@@ -52,12 +52,13 @@ import javax.xml.xpath.XPathExpression;
 import javax.xml.xpath.XPathExpressionException;
 import javax.xml.xpath.XPathFactory;
 
-import org.apache.camel.util.IOHelper;
 import org.w3c.dom.Document;
 import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 import org.xml.sax.SAXException;
 
+import org.apache.camel.util.IOHelper;
+
 /**
  * Helps to construct the transformations and the canonicalization methods for
  * the XML Signature generator.
@@ -331,10 +332,10 @@ public final class XmlSignatureHelper {
         if (is == null) {
             throw new IllegalStateException(String.format("XSL file %s not found", path));
         }
-        try{
-        	return getXslTranform(is);
-        }finally{
-        	IOHelper.close(is);
+        try {
+            return getXslTranform(is);
+        } finally {
+            IOHelper.close(is);
         }
     }
 


Mime
View raw message