camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/4] camel git commit: Fixed CS. This closes #956
Date Fri, 22 Apr 2016 19:07:29 GMT
Fixed CS. This closes #956


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

Branch: refs/heads/camel-2.17.x
Commit: 1099e619eb583556ba3115ff5f666239d2a6c535
Parents: 6009e81
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Apr 22 21:05:02 2016 +0200
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Apr 22 21:07:16 2016 +0200

----------------------------------------------------------------------
 ...dRouteDumpStatsAsXmlAndResetWithCustomDomainTest.java | 11 ++++++-----
 .../ManagedRouteDumpStatsAsXmlCustomDomainTest.java      | 11 ++++++-----
 2 files changed, 12 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/1099e619/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlAndResetWithCustomDomainTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlAndResetWithCustomDomainTest.java
b/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlAndResetWithCustomDomainTest.java
index f5fa254..e4b3b3b 100644
--- a/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlAndResetWithCustomDomainTest.java
+++ b/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlAndResetWithCustomDomainTest.java
@@ -16,18 +16,19 @@
  */
 package org.apache.camel.management;
 
-import org.apache.camel.builder.RouteBuilder;
-import org.w3c.dom.Document;
-
 import javax.management.MBeanServer;
 import javax.management.ObjectName;
 
+import org.w3c.dom.Document;
+
+import org.apache.camel.builder.RouteBuilder;
+
 /**
  * @version
  */
 public class ManagedRouteDumpStatsAsXmlAndResetWithCustomDomainTest extends ManagementTestSupport
{
 
-    private final String CUSTOM_DOMAIN_NAME="custom";
+    private static final String CUSTOM_DOMAIN_NAME = "custom";
 
     public void testPerformanceCounterStats() throws Exception {
         // JMX tests dont work well on AIX CI servers (hangs them)
@@ -37,7 +38,7 @@ public class ManagedRouteDumpStatsAsXmlAndResetWithCustomDomainTest extends
Mana
 
         // get the stats for the route
         MBeanServer mbeanServer = getMBeanServer();
-        ObjectName on = ObjectName.getInstance(CUSTOM_DOMAIN_NAME+":context=camel-1,type=routes,name=\"foo\"");
+        ObjectName on = ObjectName.getInstance(CUSTOM_DOMAIN_NAME + ":context=camel-1,type=routes,name=\"foo\"");
 
         getMockEndpoint("mock:result").expectedMessageCount(1);
 

http://git-wip-us.apache.org/repos/asf/camel/blob/1099e619/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlCustomDomainTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlCustomDomainTest.java
b/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlCustomDomainTest.java
index 6d624ba..a94c766 100644
--- a/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlCustomDomainTest.java
+++ b/camel-core/src/test/java/org/apache/camel/management/ManagedRouteDumpStatsAsXmlCustomDomainTest.java
@@ -16,18 +16,19 @@
  */
 package org.apache.camel.management;
 
-import org.apache.camel.builder.RouteBuilder;
-import org.w3c.dom.Document;
-
 import javax.management.MBeanServer;
 import javax.management.ObjectName;
 
+import org.w3c.dom.Document;
+
+import org.apache.camel.builder.RouteBuilder;
+
 /**
  * @version
  */
 public class ManagedRouteDumpStatsAsXmlCustomDomainTest extends ManagementTestSupport {
 
-    private final String CUSTOM_DOMAIN_NAME="custom";
+    private static final String CUSTOM_DOMAIN_NAME = "custom";
 
     public void testPerformanceCounterStats() throws Exception {
         // JMX tests dont work well on AIX CI servers (hangs them)
@@ -37,7 +38,7 @@ public class ManagedRouteDumpStatsAsXmlCustomDomainTest extends ManagementTestSu
 
         // get the stats for the route
         MBeanServer mbeanServer = getMBeanServer();
-        ObjectName on = ObjectName.getInstance(CUSTOM_DOMAIN_NAME+":context=camel-1,type=routes,name=\"foo\"");
+        ObjectName on = ObjectName.getInstance(CUSTOM_DOMAIN_NAME + ":context=camel-1,type=routes,name=\"foo\"");
 
         getMockEndpoint("mock:result").expectedMessageCount(1);
 


Mime
View raw message