camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acosent...@apache.org
Subject [camel] 07/10: CAMEL-10324 - Fixed CS in core
Date Wed, 29 May 2019 09:36:55 GMT
This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 973a1153252ed321eac4e362497c6c1a2f853e4c
Author: Andrea Cosentino <ancosen@gmail.com>
AuthorDate: Wed May 29 10:21:08 2019 +0200

    CAMEL-10324 - Fixed CS in core
---
 .../src/main/java/org/apache/camel/builder/DataFormatClause.java      | 4 ++--
 .../main/java/org/apache/camel/model/dataformat/CBORDataFormat.java   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/core/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
b/core/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
index aa403b8..91a0766 100644
--- a/core/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
+++ b/core/camel-core/src/main/java/org/apache/camel/builder/DataFormatClause.java
@@ -220,8 +220,8 @@ public class DataFormatClause<T extends ProcessorDefinition<?>>
{
      *            unmarshal type for cbor type
      */
     public T cbor(Class<?> unmarshalType) {
-    	CBORDataFormat cborDataFormat = new CBORDataFormat();
-    	cborDataFormat.setUnmarshalType(unmarshalType);
+        CBORDataFormat cborDataFormat = new CBORDataFormat();
+        cborDataFormat.setUnmarshalType(unmarshalType);
         return dataFormat(cborDataFormat);
     }
 
diff --git a/core/camel-core/src/main/java/org/apache/camel/model/dataformat/CBORDataFormat.java
b/core/camel-core/src/main/java/org/apache/camel/model/dataformat/CBORDataFormat.java
index b7b6216..9119295 100644
--- a/core/camel-core/src/main/java/org/apache/camel/model/dataformat/CBORDataFormat.java
+++ b/core/camel-core/src/main/java/org/apache/camel/model/dataformat/CBORDataFormat.java
@@ -29,7 +29,7 @@ import org.apache.camel.spi.Metadata;
  * CBOR data format is used for unmarshal a CBOR payload to POJO or to marshal
  * POJO back to CBOR payload.
  */
-@Metadata(firstVersion = "3.0.0",label = "dataformat,transformation,json", title = "CBOR")
+@Metadata(firstVersion = "3.0.0", label = "dataformat,transformation,json", title = "CBOR")
 @XmlRootElement(name = "cbor")
 @XmlAccessorType(XmlAccessType.FIELD)
 public class CBORDataFormat extends DataFormatDefinition {


Mime
View raw message