Repository: camel Updated Branches: refs/heads/master aeb71af0c -> f80e47736
Fixed CS Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/f80e4773 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/f80e4773 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/f80e4773 Branch: refs/heads/master Commit: f80e4773640190cbb2acfc7f7a88383dbc205c73 Parents: aeb71af Author: Claus Ibsen <davscl...@apache.org> Authored: Sat Jun 24 19:48:14 2017 +0200 Committer: Claus Ibsen <davscl...@apache.org> Committed: Sat Jun 24 19:48:14 2017 +0200 ---------------------------------------------------------------------- .../org/apache/camel/converter/IOConverterOptimised.java | 10 ++++++---- .../org/apache/camel/converter/NIOConverterOptimised.java | 8 ++++---- .../apache/camel/converter/ObjectConverterOptimised.java | 6 +++--- .../camel/impl/converter/OptimisedTypeConverter.java | 6 +++--- 4 files changed, 16 insertions(+), 14 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/f80e4773/camel-core/src/main/java/org/apache/camel/converter/IOConverterOptimised.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/converter/IOConverterOptimised.java b/camel-core/src/main/java/org/apache/camel/converter/IOConverterOptimised.java index 590b398..6ae8779 100644 --- a/camel-core/src/main/java/org/apache/camel/converter/IOConverterOptimised.java +++ b/camel-core/src/main/java/org/apache/camel/converter/IOConverterOptimised.java @@ -5,9 +5,9 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * <p> - * http://www.apache.org/licenses/LICENSE-2.0 - * <p> + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -34,11 +34,12 @@ import org.apache.camel.Exchange; /** * Optimised {@link IOConverter} */ -public class IOConverterOptimised { +public final class IOConverterOptimised { private IOConverterOptimised() { } + // CHECKSTYLE:OFF public static Object convertTo(final Class<?> type, final Exchange exchange, final Object value) throws Exception { Class fromType = value.getClass(); @@ -159,5 +160,6 @@ public class IOConverterOptimised { // no optimised type converter found return null; } + // CHECKSTYLE:ON } http://git-wip-us.apache.org/repos/asf/camel/blob/f80e4773/camel-core/src/main/java/org/apache/camel/converter/NIOConverterOptimised.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/converter/NIOConverterOptimised.java b/camel-core/src/main/java/org/apache/camel/converter/NIOConverterOptimised.java index cd30f47..cbef7a9 100644 --- a/camel-core/src/main/java/org/apache/camel/converter/NIOConverterOptimised.java +++ b/camel-core/src/main/java/org/apache/camel/converter/NIOConverterOptimised.java @@ -5,9 +5,9 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * <p> - * http://www.apache.org/licenses/LICENSE-2.0 - * <p> + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. @@ -25,7 +25,7 @@ import org.apache.camel.Exchange; /** * Optimised {@link NIOConverter} */ -public class NIOConverterOptimised { +public final class NIOConverterOptimised { private NIOConverterOptimised() { } http://git-wip-us.apache.org/repos/asf/camel/blob/f80e4773/camel-core/src/main/java/org/apache/camel/converter/ObjectConverterOptimised.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/converter/ObjectConverterOptimised.java b/camel-core/src/main/java/org/apache/camel/converter/ObjectConverterOptimised.java index d7378bd..149ca7a 100644 --- a/camel-core/src/main/java/org/apache/camel/converter/ObjectConverterOptimised.java +++ b/camel-core/src/main/java/org/apache/camel/converter/ObjectConverterOptimised.java @@ -5,9 +5,9 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * <p> - * http://www.apache.org/licenses/LICENSE-2.0 - * <p> + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. http://git-wip-us.apache.org/repos/asf/camel/blob/f80e4773/camel-core/src/main/java/org/apache/camel/impl/converter/OptimisedTypeConverter.java ---------------------------------------------------------------------- diff --git a/camel-core/src/main/java/org/apache/camel/impl/converter/OptimisedTypeConverter.java b/camel-core/src/main/java/org/apache/camel/impl/converter/OptimisedTypeConverter.java index a05fcd9..9280793 100644 --- a/camel-core/src/main/java/org/apache/camel/impl/converter/OptimisedTypeConverter.java +++ b/camel-core/src/main/java/org/apache/camel/impl/converter/OptimisedTypeConverter.java @@ -5,9 +5,9 @@ * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at - * <p> - * http://www.apache.org/licenses/LICENSE-2.0 - * <p> + * + * http://www.apache.org/licenses/LICENSE-2.0 + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.