You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by vl...@apache.org on 2019/11/18 22:30:54 UTC

[calcite-avatica] 02/03: License header is managed with Spotless, there's no need to double-check it with Checkstyle

This is an automated email from the ASF dual-hosted git repository.

vladimirsitnikov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/calcite-avatica.git

commit f515bdfb79b36b61d49aef93b9f4de8b13305571
Author: Vladimir Sitnikov <si...@gmail.com>
AuthorDate: Tue Nov 19 01:26:32 2019 +0300

    License header is managed with Spotless, there's no need to double-check it with Checkstyle
---
 src/main/config/checkstyle/checker.xml |  7 -------
 src/main/config/checkstyle/header.txt  | 16 ----------------
 2 files changed, 23 deletions(-)

diff --git a/src/main/config/checkstyle/checker.xml b/src/main/config/checkstyle/checker.xml
index 7916684..edf0de7 100644
--- a/src/main/config/checkstyle/checker.xml
+++ b/src/main/config/checkstyle/checker.xml
@@ -32,13 +32,6 @@ limitations under the License.
 <module name="Checker">
   <property name="localeLanguage" value="en"/>
 
-  <!-- Checks for headers -->
-  <!-- See http://checkstyle.sf.net/config_header.html -->
-    <!-- Verify that EVERY source file has the appropriate license -->
-  <module name="Header">
-    <property name="headerFile" value="${checkstyle.header.file}"/>
-  </module>
-
   <!-- Checks for Javadoc comments (checker).           -->
   <!-- See http://checkstyle.sf.net/config_javadoc.html -->
     <!-- Require package javadoc -->
diff --git a/src/main/config/checkstyle/header.txt b/src/main/config/checkstyle/header.txt
deleted file mode 100644
index 2a42971..0000000
--- a/src/main/config/checkstyle/header.txt
+++ /dev/null
@@ -1,16 +0,0 @@
-/*
- * 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.
- */