You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2014/07/29 13:13:55 UTC
[3/4] git commit: Fixed CS
Fixed CS
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/11ef082b
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/11ef082b
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/11ef082b
Branch: refs/heads/master
Commit: 11ef082b7233475b1aea8a7413b687688a7fcb45
Parents: eb77b63
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Jul 29 13:13:29 2014 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Jul 29 13:13:29 2014 +0200
----------------------------------------------------------------------
.../camel/blueprint/handler/CamelNamespaceHandler.java | 11 ++++++-----
1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/11ef082b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
----------------------------------------------------------------------
diff --git a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
index 10ff2c7..ab0005a 100644
--- a/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
+++ b/components/camel-blueprint/src/main/java/org/apache/camel/blueprint/handler/CamelNamespaceHandler.java
@@ -32,6 +32,11 @@ import javax.xml.bind.Binder;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
+import org.w3c.dom.Document;
+import org.w3c.dom.Element;
+import org.w3c.dom.Node;
+import org.w3c.dom.NodeList;
+
import org.apache.aries.blueprint.BeanProcessor;
import org.apache.aries.blueprint.ComponentDefinitionRegistry;
import org.apache.aries.blueprint.ComponentDefinitionRegistryProcessor;
@@ -93,10 +98,6 @@ import org.osgi.service.blueprint.reflect.Metadata;
import org.osgi.service.blueprint.reflect.RefMetadata;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import org.w3c.dom.Document;
-import org.w3c.dom.Element;
-import org.w3c.dom.Node;
-import org.w3c.dom.NodeList;
import static org.osgi.service.blueprint.reflect.ComponentMetadata.ACTIVATION_LAZY;
import static org.osgi.service.blueprint.reflect.ServiceReferenceMetadata.AVAILABILITY_MANDATORY;
@@ -994,7 +995,7 @@ public class CamelNamespaceHandler implements NamespaceHandler {
if (value != null) {
// the scheduler can be quartz2 or spring based, so add reference to camel component
// from these components os blueprint knows about the requirement
- String name = value.toString();
+ String name = value.toString();
if ("quartz2".equals(name)) {
components.add("quartz2");
} else if ("spring".equals(name)) {