diff --git a/cif/org.eclipse.escet.cif.tests/tests/pprint_elim_cdef/import_sym_warn.cif b/cif/org.eclipse.escet.cif.tests/tests/pprint_elim_cdef/import_sym_warn.cif index e411c329eedee4c99f559ebbfaf7ff12a594dd29..fbc82ad3ad8efccbdd49e3d675dd09b7557c2da7 100644 --- a/cif/org.eclipse.escet.cif.tests/tests/pprint_elim_cdef/import_sym_warn.cif +++ b/cif/org.eclipse.escet.cif.tests/tests/pprint_elim_cdef/import_sym_warn.cif @@ -1 +1,14 @@ +////////////////////////////////////////////////////////////////////////////// +// Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation +// +// See the NOTICE file(s) distributed with this work for additional +// information regarding copyright ownership. +// +// This program and the accompanying materials are made available +// under the terms of the MIT License which is available at +// https://opensource.org/licenses/MIT +// +// SPDX-License-Identifier: MIT +////////////////////////////////////////////////////////////////////////////// + import "enums1.cif"; diff --git a/misc/license-header/license-header-check.bash b/misc/license-header/license-header-check.bash index 01c3ed780bd775ce758858abf4c5177ab3db3329..5178a1067082aa63bc0edbf2927d8ed681e2ad98 100755 --- a/misc/license-header/license-header-check.bash +++ b/misc/license-header/license-header-check.bash @@ -203,7 +203,7 @@ POST_EXCLUDE_PATTERN="$POST_EXCLUDE_PATTERN|^./.Xauthority-.*:0$" # Get license header count per file, using copyright statement from license header. # Exclude ones with exactly one match, as that is the expected/desired situation. -grep -r -c $EXCLUDE_ARGS "Copyright (c) 2010, 2021 Contributors to the Eclipse Foundation" . | \ +grep -r -c $EXCLUDE_ARGS -E "Copyright \(c\) ([0-9]{4}, )?2021 Contributors to the Eclipse Foundation" . | \ grep -v "^.*:1$" | grep -v -E $POST_EXCLUDE_PATTERN > misc/license-header/license-header-list.txt # Print/check results. diff --git a/releng/org.eclipse.escet.configuration/checkstyle.xml b/releng/org.eclipse.escet.configuration/checkstyle.xml index fcd1858e4f0071928df861397129bf4ba6cb1933..f230e503bdb6cdc5167fe2c18a0cdaba507ddc4f 100644 --- a/releng/org.eclipse.escet.configuration/checkstyle.xml +++ b/releng/org.eclipse.escet.configuration/checkstyle.xml @@ -275,7 +275,7 @@ SPDX-License-Identifier: MIT - +