Author: davsclaus
Date: Mon Oct 22 08:56:29 2012
New Revision: 1400807
URL: http://svn.apache.org/viewvc?rev=1400807&view=rev
Log:
Fixed CS
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingComponent.java
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingConsumerProcessor.java
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingEndpoint.java
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingNameComponent.java
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingProducer.java
camel/trunk/camel-core/src/main/java/org/apache/camel/processor/binding/DataFormatBinding.java
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/Binding.java
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HasBinding.java
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingComponent.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingComponent.java?rev=1400807&r1=1400806&r2=1400807&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingComponent.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingComponent.java
Mon Oct 22 08:56:29 2012
@@ -1,5 +1,4 @@
/**
- *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * 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,
@@ -29,7 +28,7 @@ import org.apache.camel.util.ObjectHelpe
import static org.apache.camel.util.CamelContextHelper.getMandatoryEndpoint;
/**
- * A composite {@link Component} which creates a {@link BindingEndpoint} from a
+ * A composite {@link org.apache.camel.Component} which creates a {@link
BindingEndpoint} from a
* configured {@link Binding} instance and using the optional {@link
#setUriPrefix(String)}
* and {@link #setUriPostfix(String)} to create the underlying endpoint from
the remaining URI
*/
@@ -80,8 +79,7 @@ public class BindingComponent extends De
}
@Override
- protected Endpoint createEndpoint(String uri, String remaining,
Map<String, Object> parameters)
- throws Exception {
+ protected Endpoint createEndpoint(String uri, String remaining,
Map<String, Object> parameters) throws Exception {
Binding bindingValue = getBinding();
ObjectHelper.notNull(bindingValue, "binding");
CamelContext camelContext = getCamelContext();
@@ -90,7 +88,7 @@ public class BindingComponent extends De
return new BindingEndpoint(uri, this, bindingValue, delegate);
}
- protected String createDelegateURI(String remaining, Map<String,Object>
parameters) {
+ protected String createDelegateURI(String remaining, Map<String, Object>
parameters) {
return getOrEmpty(uriPrefix) + remaining + getOrEmpty(uriPostfix);
}
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingConsumerProcessor.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingConsumerProcessor.java?rev=1400807&r1=1400806&r2=1400807&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingConsumerProcessor.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingConsumerProcessor.java
Mon Oct 22 08:56:29 2012
@@ -1,5 +1,4 @@
/**
- *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * 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,
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingEndpoint.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingEndpoint.java?rev=1400807&r1=1400806&r2=1400807&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingEndpoint.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingEndpoint.java
Mon Oct 22 08:56:29 2012
@@ -1,5 +1,4 @@
/**
- *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * 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,
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingNameComponent.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingNameComponent.java?rev=1400807&r1=1400806&r2=1400807&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingNameComponent.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingNameComponent.java
Mon Oct 22 08:56:29 2012
@@ -1,5 +1,4 @@
/**
- *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * 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,
@@ -33,12 +32,10 @@ import static org.apache.camel.util.Came
* {@link BindingEndpoint} from the underlying {@link Endpoint}
*/
public class BindingNameComponent extends DefaultComponent {
- protected static final String BAD_FORMAT_MESSAGE
- = "URI should be of the format binding:nameOfBinding:endpointURI";
+ protected static final String BAD_FORMAT_MESSAGE = "URI should be of the
format binding:nameOfBinding:endpointURI";
@Override
- protected Endpoint createEndpoint(String uri, String remaining,
Map<String, Object> parameters)
- throws Exception {
+ protected Endpoint createEndpoint(String uri, String remaining,
Map<String, Object> parameters) throws Exception {
CamelContext camelContext = getCamelContext();
int idx = remaining.indexOf(":");
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingProducer.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingProducer.java?rev=1400807&r1=1400806&r2=1400807&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingProducer.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/component/binding/BindingProducer.java
Mon Oct 22 08:56:29 2012
@@ -1,5 +1,4 @@
/**
- *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * 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,
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/processor/binding/DataFormatBinding.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/binding/DataFormatBinding.java?rev=1400807&r1=1400806&r2=1400807&view=diff
==============================================================================
---
camel/trunk/camel-core/src/main/java/org/apache/camel/processor/binding/DataFormatBinding.java
(original)
+++
camel/trunk/camel-core/src/main/java/org/apache/camel/processor/binding/DataFormatBinding.java
Mon Oct 22 08:56:29 2012
@@ -1,5 +1,4 @@
/**
- *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * 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,
Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/spi/Binding.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/Binding.java?rev=1400807&r1=1400806&r2=1400807&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/spi/Binding.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/spi/Binding.java Mon
Oct 22 08:56:29 2012
@@ -1,5 +1,4 @@
/**
- *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * 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,
Modified:
camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HasBinding.java
URL:
http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HasBinding.java?rev=1400807&r1=1400806&r2=1400807&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HasBinding.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/spi/HasBinding.java
Mon Oct 22 08:56:29 2012
@@ -1,5 +1,4 @@
/**
- *
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
@@ -7,7 +6,7 @@
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
- * http://www.apache.org/licenses/LICENSE-2.0
+ * 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,