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


The following commit(s) were added to refs/heads/master by this push:
     new e52a109  Camel-tooling-util: Fixed CS
e52a109 is described below

commit e52a10992aa7eec6bf2725ca0536640366978aab
Author: Andrea Cosentino <anco...@gmail.com>
AuthorDate: Thu Jan 16 08:31:06 2020 +0100

    Camel-tooling-util: Fixed CS
---
 .../org/apache/camel/tooling/util/FileUtil.java     | 21 ++++++++++++++++++++-
 .../camel/tooling/util/JSonSchemaHelperTest.java    |  1 -
 .../camel/tooling/util/PackageHelperTest.java       |  1 -
 .../org/apache/camel/tooling/util/StringsTest.java  | 16 ++++++++++++++++
 4 files changed, 36 insertions(+), 3 deletions(-)

diff --git 
a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/FileUtil.java
 
b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/FileUtil.java
index b39b552..eaf3c15 100644
--- 
a/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/FileUtil.java
+++ 
b/tooling/camel-tooling-util/src/main/java/org/apache/camel/tooling/util/FileUtil.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.tooling.util;
 
 import java.io.IOException;
@@ -7,7 +23,10 @@ import java.nio.file.Path;
 import java.nio.file.StandardOpenOption;
 import java.util.Arrays;
 
-public class FileUtil {
+public final class FileUtil {
+
+    private FileUtil() {
+    }
 
     /**
      * Update a file with the given string content if neeed.
diff --git 
a/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/JSonSchemaHelperTest.java
 
b/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/JSonSchemaHelperTest.java
index 9839431..ea30d9b 100644
--- 
a/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/JSonSchemaHelperTest.java
+++ 
b/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/JSonSchemaHelperTest.java
@@ -16,7 +16,6 @@
  */
 package org.apache.camel.tooling.util;
 
-import org.apache.camel.tooling.util.JSonSchemaHelper;
 import org.junit.Assert;
 import org.junit.Test;
 
diff --git 
a/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/PackageHelperTest.java
 
b/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/PackageHelperTest.java
index 5342097..068bac8 100644
--- 
a/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/PackageHelperTest.java
+++ 
b/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/PackageHelperTest.java
@@ -19,7 +19,6 @@ package org.apache.camel.tooling.util;
 import java.io.File;
 import java.util.Map;
 
-import org.apache.camel.tooling.util.PackageHelper;
 import org.junit.Test;
 
 import static org.junit.Assert.assertEquals;
diff --git 
a/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/StringsTest.java
 
b/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/StringsTest.java
index 14f8e9f..9836494 100644
--- 
a/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/StringsTest.java
+++ 
b/tooling/camel-tooling-util/src/test/java/org/apache/camel/tooling/util/StringsTest.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.tooling.util;
 
 import org.junit.Test;

Reply via email to