camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject [4/5] camel git commit: Fixed CS
Date Fri, 07 Nov 2014 17:26:48 GMT
Fixed CS


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

Branch: refs/heads/master
Commit: 6c488d3136b84348290e7f7417d41850b3ae4378
Parents: ccec24f
Author: Claus Ibsen <davsclaus@apache.org>
Authored: Fri Nov 7 17:33:07 2014 +0100
Committer: Claus Ibsen <davsclaus@apache.org>
Committed: Fri Nov 7 17:35:56 2014 +0100

----------------------------------------------------------------------
 .../java/org/apache/camel/management/mbean/ManagedEndpoint.java  | 4 ++--
 .../apache/camel/management/mbean/ManagedEndpointRegistry.java   | 4 +---
 camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java | 2 ++
 3 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/6c488d31/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpoint.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpoint.java
b/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpoint.java
index 59cddf9..3e2b881 100644
--- a/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpoint.java
+++ b/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpoint.java
@@ -99,8 +99,8 @@ public class ManagedEndpoint implements ManagedInstance, ManagedEndpointMBean
{
                 String description = row.get("description") != null ? row.get("description")
: "";
 
                 CompositeType ct = CamelOpenMBeanTypes.explainEndpointsCompositeType();
-                CompositeData data = new CompositeDataSupport(ct, new String[]
-                        {"option", "type", "java type", "value", "description"},
+                CompositeData data = new CompositeDataSupport(ct,
+                        new String[]{"option", "type", "java type", "value", "description"},
                         new Object[]{option, type, javaType, value, description});
                 answer.put(data);
             }

http://git-wip-us.apache.org/repos/asf/camel/blob/6c488d31/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpointRegistry.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpointRegistry.java
b/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpointRegistry.java
index 7468b09..9f0c3c0 100644
--- a/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpointRegistry.java
+++ b/camel-core/src/main/java/org/apache/camel/management/mbean/ManagedEndpointRegistry.java
@@ -72,9 +72,7 @@ public class ManagedEndpointRegistry extends ManagedService implements ManagedEn
                 CompositeType ct = CamelOpenMBeanTypes.listEndpointsCompositeType();
                 String url = endpoint.getEndpointUri();
 
-                CompositeData data = new CompositeDataSupport(ct, new String[]
-                        {"url"},
-                        new Object[]{url});
+                CompositeData data = new CompositeDataSupport(ct, new String[]{"url"}, new
Object[]{url});
                 answer.put(data);
             }
             return answer;

http://git-wip-us.apache.org/repos/asf/camel/blob/6c488d31/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java b/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java
index baeba4f..3162d38 100644
--- a/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java
+++ b/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java
@@ -819,6 +819,7 @@ public final class ObjectHelper {
      * @param name the name of the class to load
      * @return the class or <tt>null</tt> if it could not be loaded
      */
+    //CHECKSTYLE:OFF
     public static Class<?> loadSimpleType(String name) {
         // special for byte[] or Object[] as its common to use
         if ("java.lang.byte[]".equals(name) || "byte[]".equals(name)) {
@@ -867,6 +868,7 @@ public final class ObjectHelper {
         }
         return null;
     }
+    //CHECKSTYLE:ON
 
     /**
      * Loads the given class with the provided classloader (may be null).


Mime
View raw message