You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2017/07/16 19:41:53 UTC

camel git commit: Fixed CS. This closes #1828.

Repository: camel
Updated Branches:
  refs/heads/master 1ea6abadc -> 41c6c0ed4


Fixed CS. This closes #1828.


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

Branch: refs/heads/master
Commit: 41c6c0ed45cf585a3e5c3571dc4ab7fa4e95c120
Parents: 1ea6aba
Author: Claus Ibsen <da...@apache.org>
Authored: Sun Jul 16 21:41:45 2017 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Sun Jul 16 21:41:45 2017 +0200

----------------------------------------------------------------------
 .../test/java/org/apache/camel/component/jmx/XmlFixture.java  | 7 +++----
 .../org/apache/camel/dataformat/xmlsecurity/TestHelper.java   | 6 +++---
 2 files changed, 6 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/41c6c0ed/components/camel-jmx/src/test/java/org/apache/camel/component/jmx/XmlFixture.java
----------------------------------------------------------------------
diff --git a/components/camel-jmx/src/test/java/org/apache/camel/component/jmx/XmlFixture.java b/components/camel-jmx/src/test/java/org/apache/camel/component/jmx/XmlFixture.java
index 2a943eb..041af95 100644
--- a/components/camel-jmx/src/test/java/org/apache/camel/component/jmx/XmlFixture.java
+++ b/components/camel-jmx/src/test/java/org/apache/camel/component/jmx/XmlFixture.java
@@ -16,10 +16,7 @@
  */
 package org.apache.camel.component.jmx;
 
-import static org.junit.Assert.assertFalse;
-
 import java.io.File;
-
 import javax.xml.transform.OutputKeys;
 import javax.xml.transform.Source;
 import javax.xml.transform.Transformer;
@@ -33,6 +30,8 @@ import org.xmlunit.builder.DiffBuilder;
 import org.xmlunit.builder.Input;
 import org.xmlunit.diff.Diff;
 
+import static org.junit.Assert.assertFalse;
+
 public final class XmlFixture {
 
     private XmlFixture() {
@@ -51,7 +50,7 @@ public final class XmlFixture {
                 .ignoreComments().ignoreWhitespace()
                 .checkForSimilar().build();
         try {
-             assertFalse(aMessage + ":\n" + diff.toString(), diff.hasDifferences());
+            assertFalse(aMessage + ":\n" + diff.toString(), diff.hasDifferences());
         } catch (Throwable t) {
             dump(aActual);
             throw t;

http://git-wip-us.apache.org/repos/asf/camel/blob/41c6c0ed/components/camel-xmlsecurity/src/test/java/org/apache/camel/dataformat/xmlsecurity/TestHelper.java
----------------------------------------------------------------------
diff --git a/components/camel-xmlsecurity/src/test/java/org/apache/camel/dataformat/xmlsecurity/TestHelper.java b/components/camel-xmlsecurity/src/test/java/org/apache/camel/dataformat/xmlsecurity/TestHelper.java
index 587deb1..e23e16c 100644
--- a/components/camel-xmlsecurity/src/test/java/org/apache/camel/dataformat/xmlsecurity/TestHelper.java
+++ b/components/camel-xmlsecurity/src/test/java/org/apache/camel/dataformat/xmlsecurity/TestHelper.java
@@ -18,11 +18,13 @@ package org.apache.camel.dataformat.xmlsecurity;
 
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;
-
 import javax.crypto.Cipher;
 import javax.crypto.SecretKey;
 import javax.crypto.spec.SecretKeySpec;
 
+import org.w3c.dom.Document;
+import org.w3c.dom.NodeList;
+
 import org.apache.camel.CamelContext;
 import org.apache.camel.Exchange;
 import org.apache.camel.Message;
@@ -35,8 +37,6 @@ import org.apache.xml.security.encryption.XMLEncryptionException;
 import org.junit.Assert;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
-import org.w3c.dom.Document;
-import org.w3c.dom.NodeList;
 import org.xmlunit.builder.DiffBuilder;
 import org.xmlunit.diff.Diff;