Repository: camel Updated Branches: refs/heads/master 179399aa8 -> 985be58d1
Fix CS Project: http://git-wip-us.apache.org/repos/asf/camel/repo Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/985be58d Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/985be58d Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/985be58d Branch: refs/heads/master Commit: 985be58d177f3da6c4f0a947c1dd3ed16b79bd7f Parents: 179399a Author: Jonathan Anstey <jans...@gmail.com> Authored: Fri Apr 7 15:32:15 2017 -0230 Committer: Jonathan Anstey <jans...@gmail.com> Committed: Fri Apr 7 15:32:15 2017 -0230 ---------------------------------------------------------------------- .../src/main/java/org/apache/camel/cdi/CdiCamelRegistry.java | 2 +- .../java/org/apache/camel/test/karaf/AbstractFeatureTest.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/camel/blob/985be58d/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelRegistry.java ---------------------------------------------------------------------- diff --git a/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelRegistry.java b/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelRegistry.java index 7a3c2c5..bf809d0 100755 --- a/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelRegistry.java +++ b/components/camel-cdi/src/main/java/org/apache/camel/cdi/CdiCamelRegistry.java @@ -33,8 +33,8 @@ import static org.apache.camel.cdi.AnyLiteral.ANY; import static org.apache.camel.cdi.BeanManagerHelper.getReference; import static org.apache.camel.cdi.BeanManagerHelper.getReferenceByName; import static org.apache.camel.cdi.BeanManagerHelper.getReferencesByType; -import static org.apache.camel.util.StringHelper.notEmpty; import static org.apache.camel.util.ObjectHelper.notNull; +import static org.apache.camel.util.StringHelper.notEmpty; /** * The {@link Registry} used by Camel to perform lookup into the CDI {@link BeanManager}. http://git-wip-us.apache.org/repos/asf/camel/blob/985be58d/components/camel-test-karaf/src/main/java/org/apache/camel/test/karaf/AbstractFeatureTest.java ---------------------------------------------------------------------- diff --git a/components/camel-test-karaf/src/main/java/org/apache/camel/test/karaf/AbstractFeatureTest.java b/components/camel-test-karaf/src/main/java/org/apache/camel/test/karaf/AbstractFeatureTest.java index e4edf4c..2639091 100644 --- a/components/camel-test-karaf/src/main/java/org/apache/camel/test/karaf/AbstractFeatureTest.java +++ b/components/camel-test-karaf/src/main/java/org/apache/camel/test/karaf/AbstractFeatureTest.java @@ -107,7 +107,7 @@ public abstract class AbstractFeatureTest { } protected Bundle installBlueprintAsBundle(String name, URL url, boolean start) throws BundleException { - return installBlueprintAsBundle(name, url, start, bundle -> {}); + return installBlueprintAsBundle(name, url, start, bundle -> { }); } protected Bundle installBlueprintAsBundle(String name, URL url, boolean start, Consumer<Object> consumer) throws BundleException { @@ -128,7 +128,7 @@ public abstract class AbstractFeatureTest { } protected Bundle installSpringAsBundle(String name, URL url, boolean start) throws BundleException { - return installSpringAsBundle(name, url, start, bundle -> {}); + return installSpringAsBundle(name, url, start, bundle -> { }); } protected Bundle installSpringAsBundle(String name, URL url, boolean start, Consumer<Object> consumer) throws BundleException { @@ -172,7 +172,7 @@ public abstract class AbstractFeatureTest { if (currentProperties == null) { currentProperties = newProps; } - for (Enumeration<String> ek = currentProperties.keys(); ek.hasMoreElements(); ) { + for (Enumeration<String> ek = currentProperties.keys(); ek.hasMoreElements();) { String k = ek.nextElement(); newProps.put(k, currentProperties.get(k)); }