Fixed CS
Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/33dcf40f Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/33dcf40f Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/33dcf40f Branch: refs/heads/master Commit: 33dcf40ffe30c262614e6ae216e4d4ad6c047bbc Parents: 0beba6c Author: Claus Ibsen <davscl...@apache.org> Authored: Sat Feb 14 15:22:25 2015 +0100 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sat Feb 14 15:22:25 2015 +0100 ---------------------------------------------------------------------- .../camel/api/management/mbean/CamelOpenMBeanTypes.java | 12 ++++++++---- .../camel/component/validator/ValidatorEndpoint.java | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/33dcf40f/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java b/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java index 2f87a3a..90de994 100644 --- a/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java +++ b/camel-core/src/main/java/org/apache/camel/api/management/mbean/CamelOpenMBeanTypes.java @@ -74,7 +74,8 @@ public final class CamelOpenMBeanTypes { public static CompositeType explainComponentCompositeType() throws OpenDataException { return new CompositeType("components", "Components", new String[]{"option", "kind", "label", "type", "java type", "deprecated", "value", "default value", "description"}, new String[]{"Option", "Kind", "Label", "Type", "Java Type", "Deprecated", "Value", "Default Value", "Description"}, - new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); + new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, + SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); } public static TabularType explainEndpointTabularType() throws OpenDataException { @@ -85,7 +86,8 @@ public final class CamelOpenMBeanTypes { public static CompositeType explainEndpointsCompositeType() throws OpenDataException { return new CompositeType("endpoints", "Endpoints", new String[]{"option", "kind", "label", "type", "java type", "deprecated", "value", "default value", "description"}, new String[]{"Option", "Kind", "Label", "Type", "Java Type", "Deprecated", "Value", "Default Value", "Description"}, - new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); + new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, + SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); } public static TabularType explainEipTabularType() throws OpenDataException { @@ -96,7 +98,8 @@ public final class CamelOpenMBeanTypes { public static CompositeType explainEipsCompositeType() throws OpenDataException { return new CompositeType("eips", "EIPs", new String[]{"option", "kind", "label", "type", "java type", "deprecated", "value", "default value", "description"}, new String[]{"Option", "Kind", "Label", "Type", "Java Type", "Deprecated", "Value", "Default Value", "Description"}, - new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); + new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, + SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); } public static TabularType listComponentsTabularType() throws OpenDataException { @@ -107,7 +110,8 @@ public final class CamelOpenMBeanTypes { public static CompositeType listComponentsCompositeType() throws OpenDataException { return new CompositeType("components", "Components", new String[]{"name", "description", "label", "status", "type", "groupId", "artifactId", "version"}, new String[]{"Name", "Description", "Label", "Status", "Type", "GroupId", "ArtifactId", "Version"}, - new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); + new OpenType[]{SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, + SimpleType.STRING, SimpleType.STRING, SimpleType.STRING, SimpleType.STRING}); } public static TabularType listAwaitThreadsTabularType() throws OpenDataException { http://git-wip-us.apache.org/repos/asf/camel/blob/33dcf40f/camel-core/src/main/java/org/apache/camel/component/validator/ValidatorEndpoint.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/component/validator/ValidatorEndpoint.java b/camel-core/src/main/java/org/apache/camel/component/validator/ValidatorEndpoint.java index 7420a99..9100125 100644 --- a/camel-core/src/main/java/org/apache/camel/component/validator/ValidatorEndpoint.java +++ b/camel-core/src/main/java/org/apache/camel/component/validator/ValidatorEndpoint.java @@ -20,7 +20,6 @@ import java.io.InputStream; import javax.xml.XMLConstants; import javax.xml.validation.SchemaFactory; -import org.apache.camel.spi.Metadata; import org.w3c.dom.ls.LSResourceResolver; import org.apache.camel.Component; @@ -32,6 +31,7 @@ import org.apache.camel.impl.DefaultEndpoint; import org.apache.camel.processor.validation.DefaultValidationErrorHandler; import org.apache.camel.processor.validation.ValidatingProcessor; import org.apache.camel.processor.validation.ValidatorErrorHandler; +import org.apache.camel.spi.Metadata; import org.apache.camel.spi.UriEndpoint; import org.apache.camel.spi.UriParam; import org.apache.camel.spi.UriPath;