This is an automated email from the ASF dual-hosted git repository.
gzurowski pushed a commit to branch camel-2.21.x
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/camel-2.21.x by this push:
new 2929615 Fix Checkstyle issues
2929615 is described below
commit 29296156d3dd859131b0916f63d9869c37c91cb8
Author: Gregor Zurowski <[email protected]>
AuthorDate: Sun Jan 27 20:09:24 2019 +0100
Fix Checkstyle issues
Signed-off-by: Gregor Zurowski <[email protected]>
---
.../java/org/apache/camel/commands/AbstractLocalCamelController.java | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git
a/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/AbstractLocalCamelController.java
b/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/AbstractLocalCamelController.java
index 6adb5a1..2428b966 100644
---
a/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/AbstractLocalCamelController.java
+++
b/platforms/commands/commands-core/src/main/java/org/apache/camel/commands/AbstractLocalCamelController.java
@@ -392,9 +392,8 @@ public abstract class AbstractLocalCamelController extends
AbstractCamelControll
MBeanServer mBeanServer = agent.getMBeanServer();
Set<ObjectName> set = mBeanServer.queryNames(new
ObjectName(agent.getMBeanObjectDomainName() + ":type=routes,name=\"" + routeId
+ "\",*"), null);
for (ObjectName routeMBean : set) {
-
- // the route must be part of the camel context
- String camelId = (String) mBeanServer.getAttribute(routeMBean,
"CamelId");
+ // the route must be part of the camel context
+ String camelId = (String) mBeanServer.getAttribute(routeMBean,
"CamelId");
if (camelId != null && camelId.equals(camelContextName)) {
String xml = (String) mBeanServer.invoke(routeMBean,
"dumpRouteStatsAsXml", new Object[]{fullStats, includeProcessors}, new
String[]{"boolean", "boolean"});
return xml;