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 2017/02/17 08:59:44 UTC
[5/6] camel git commit: [CAMEL-10840] Fix checkstyle errors
[CAMEL-10840] Fix checkstyle errors
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e0de0d20
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e0de0d20
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e0de0d20
Branch: refs/heads/camel-2.18.x
Commit: e0de0d20872d9c124be138313681934ce49d58a8
Parents: 81632bb
Author: Christian Ribeaud <ch...@ribeaud.ch>
Authored: Fri Feb 17 07:57:32 2017 +0100
Committer: Claus Ibsen <da...@apache.org>
Committed: Fri Feb 17 09:59:00 2017 +0100
----------------------------------------------------------------------
.../csv/CsvDataFormatCustomRecordConverterTest.java | 6 ++----
.../csv/converter/MyCvsRecordConverter.java | 16 ++++++++++++++++
2 files changed, 18 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/e0de0d20/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvDataFormatCustomRecordConverterTest.java
----------------------------------------------------------------------
diff --git a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvDataFormatCustomRecordConverterTest.java b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvDataFormatCustomRecordConverterTest.java
index 67c341f..b08ace4 100644
--- a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvDataFormatCustomRecordConverterTest.java
+++ b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/CsvDataFormatCustomRecordConverterTest.java
@@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.camel.dataformat.csv;
import java.util.Arrays;
@@ -26,12 +25,11 @@ import org.apache.camel.Message;
import org.apache.camel.component.mock.MockEndpoint;
import org.apache.camel.test.spring.CamelSpringTestSupport;
import org.apache.camel.util.CastUtils;
-
-import static org.junit.Assert.*;
-
import org.junit.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;
+import static org.junit.Assert.*;
+
/**
* Test cases for {@link CsvRecordConverter}.
*/
http://git-wip-us.apache.org/repos/asf/camel/blob/e0de0d20/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/converter/MyCvsRecordConverter.java
----------------------------------------------------------------------
diff --git a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/converter/MyCvsRecordConverter.java b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/converter/MyCvsRecordConverter.java
index edd25fd..dfc73b1 100644
--- a/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/converter/MyCvsRecordConverter.java
+++ b/components/camel-csv/src/test/java/org/apache/camel/dataformat/csv/converter/MyCvsRecordConverter.java
@@ -1,3 +1,19 @@
+/**
+ * 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.
+ * 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
+ *
+ * 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.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
package org.apache.camel.dataformat.csv.converter;
import java.util.Arrays;