From 760e6f3741a7a4ea4204c20a05ee0ce980d7581d Mon Sep 17 00:00:00 2001 From: Wenjun Ruan Date: Thu, 17 Feb 2022 14:35:36 +0800 Subject: [PATCH] Add license header in suppressions.xml (#11753) Add license header in suppressions.xml Reviewers: Luke Chen --- checkstyle/.scalafmt.conf | 28 ++++++++++---------- checkstyle/checkstyle.xml | 28 ++++++++++---------- checkstyle/import-control-core.xml | 28 ++++++++++---------- checkstyle/import-control-jmh-benchmarks.xml | 28 ++++++++++---------- checkstyle/import-control.xml | 28 ++++++++++---------- checkstyle/suppressions.xml | 17 +++++++++++- 6 files changed, 86 insertions(+), 71 deletions(-) diff --git a/checkstyle/.scalafmt.conf b/checkstyle/.scalafmt.conf index 4c4fcf31520..1491217312b 100644 --- a/checkstyle/.scalafmt.conf +++ b/checkstyle/.scalafmt.conf @@ -1,17 +1,17 @@ -// 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. +# 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. docstrings = JavaDoc maxColumn = 120 continuationIndent.defnSite = 2 diff --git a/checkstyle/checkstyle.xml b/checkstyle/checkstyle.xml index 7f912dc428a..d0599f3d7a3 100644 --- a/checkstyle/checkstyle.xml +++ b/checkstyle/checkstyle.xml @@ -3,20 +3,20 @@ "-//Puppy Crawl//DTD Check Configuration 1.3//EN" "http://www.puppycrawl.com/dtds/configuration_1_3.dtd"> diff --git a/checkstyle/import-control-core.xml b/checkstyle/import-control-core.xml index e02a3f22afb..36e5cc63551 100644 --- a/checkstyle/import-control-core.xml +++ b/checkstyle/import-control-core.xml @@ -2,20 +2,20 @@ "-//Puppy Crawl//DTD Import Control 1.1//EN" "http://www.puppycrawl.com/dtds/import_control_1_1.dtd"> diff --git a/checkstyle/import-control-jmh-benchmarks.xml b/checkstyle/import-control-jmh-benchmarks.xml index 5b9b4185ff0..983c526eccc 100644 --- a/checkstyle/import-control-jmh-benchmarks.xml +++ b/checkstyle/import-control-jmh-benchmarks.xml @@ -2,20 +2,20 @@ "-//Puppy Crawl//DTD Import Control 1.1//EN" "http://www.puppycrawl.com/dtds/import_control_1_1.dtd"> diff --git a/checkstyle/import-control.xml b/checkstyle/import-control.xml index adeb3ee73eb..2e374eba85b 100644 --- a/checkstyle/import-control.xml +++ b/checkstyle/import-control.xml @@ -2,20 +2,20 @@ "-//Puppy Crawl//DTD Import Control 1.1//EN" "http://www.puppycrawl.com/dtds/import_control_1_1.dtd"> diff --git a/checkstyle/suppressions.xml b/checkstyle/suppressions.xml index a53a50a75fc..97d1a0a9a36 100644 --- a/checkstyle/suppressions.xml +++ b/checkstyle/suppressions.xml @@ -1,9 +1,24 @@ - + +