diff --git a/dev/checkstyle/checkstyle.xml b/dev/checkstyle/checkstyle.xml index 9f19037..2317e0d 100644 --- a/dev/checkstyle/checkstyle.xml +++ b/dev/checkstyle/checkstyle.xml @@ -33,7 +33,6 @@ - diff --git a/dev/checkstyle/header.txt b/dev/checkstyle/header.txt index c448c3c..11bd74f 100644 --- a/dev/checkstyle/header.txt +++ b/dev/checkstyle/header.txt @@ -1,14 +1,3 @@ ^/\*$ ^ \* Copyright [\d]{4}((,[\s]*[\d]{4})*|(-[\d]{4})?) C Thing Software$ -^ \*$ -^ \* Licensed 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\.$ +^ \* SPDX-License-Identifier: Apache-2.0$ diff --git a/examples/src/main/java/org/cthing/versionparser/examples/CalVerExample.java b/examples/src/main/java/org/cthing/versionparser/examples/CalVerExample.java index 6e10f56..d426d7a 100644 --- a/examples/src/main/java/org/cthing/versionparser/examples/CalVerExample.java +++ b/examples/src/main/java/org/cthing/versionparser/examples/CalVerExample.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.examples; diff --git a/examples/src/main/java/org/cthing/versionparser/examples/GradleExample.java b/examples/src/main/java/org/cthing/versionparser/examples/GradleExample.java index c45de82..7890b83 100644 --- a/examples/src/main/java/org/cthing/versionparser/examples/GradleExample.java +++ b/examples/src/main/java/org/cthing/versionparser/examples/GradleExample.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.examples; diff --git a/examples/src/main/java/org/cthing/versionparser/examples/MavenExample.java b/examples/src/main/java/org/cthing/versionparser/examples/MavenExample.java index 663ea06..e5a18ff 100644 --- a/examples/src/main/java/org/cthing/versionparser/examples/MavenExample.java +++ b/examples/src/main/java/org/cthing/versionparser/examples/MavenExample.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.examples; diff --git a/examples/src/main/java/org/cthing/versionparser/examples/NpmExample.java b/examples/src/main/java/org/cthing/versionparser/examples/NpmExample.java index 15cee45..500c674 100644 --- a/examples/src/main/java/org/cthing/versionparser/examples/NpmExample.java +++ b/examples/src/main/java/org/cthing/versionparser/examples/NpmExample.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.examples; diff --git a/examples/src/main/java/org/cthing/versionparser/examples/RubyGemsExample.java b/examples/src/main/java/org/cthing/versionparser/examples/RubyGemsExample.java index 62f6d3c..45f187a 100644 --- a/examples/src/main/java/org/cthing/versionparser/examples/RubyGemsExample.java +++ b/examples/src/main/java/org/cthing/versionparser/examples/RubyGemsExample.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.examples; diff --git a/examples/src/main/java/org/cthing/versionparser/examples/package-info.java b/examples/src/main/java/org/cthing/versionparser/examples/package-info.java index dd185ae..9b5ec96 100644 --- a/examples/src/main/java/org/cthing/versionparser/examples/package-info.java +++ b/examples/src/main/java/org/cthing/versionparser/examples/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/src/main/java/org/cthing/versionparser/AbstractVersion.java b/src/main/java/org/cthing/versionparser/AbstractVersion.java index 5a973b9..78337a2 100644 --- a/src/main/java/org/cthing/versionparser/AbstractVersion.java +++ b/src/main/java/org/cthing/versionparser/AbstractVersion.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser; diff --git a/src/main/java/org/cthing/versionparser/Version.java b/src/main/java/org/cthing/versionparser/Version.java index 3c4bb22..c3bd100 100644 --- a/src/main/java/org/cthing/versionparser/Version.java +++ b/src/main/java/org/cthing/versionparser/Version.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser; diff --git a/src/main/java/org/cthing/versionparser/VersionConstraint.java b/src/main/java/org/cthing/versionparser/VersionConstraint.java index 1e52f01..1ea1d89 100644 --- a/src/main/java/org/cthing/versionparser/VersionConstraint.java +++ b/src/main/java/org/cthing/versionparser/VersionConstraint.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser; diff --git a/src/main/java/org/cthing/versionparser/VersionParsingException.java b/src/main/java/org/cthing/versionparser/VersionParsingException.java index 9028f30..03fed56 100644 --- a/src/main/java/org/cthing/versionparser/VersionParsingException.java +++ b/src/main/java/org/cthing/versionparser/VersionParsingException.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser; diff --git a/src/main/java/org/cthing/versionparser/VersionRange.java b/src/main/java/org/cthing/versionparser/VersionRange.java index 83a56c6..b664a7b 100644 --- a/src/main/java/org/cthing/versionparser/VersionRange.java +++ b/src/main/java/org/cthing/versionparser/VersionRange.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser; diff --git a/src/main/java/org/cthing/versionparser/calver/CalendarVersion.java b/src/main/java/org/cthing/versionparser/calver/CalendarVersion.java index eb5c53d..61d7e5e 100644 --- a/src/main/java/org/cthing/versionparser/calver/CalendarVersion.java +++ b/src/main/java/org/cthing/versionparser/calver/CalendarVersion.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/main/java/org/cthing/versionparser/calver/CalendarVersionScheme.java b/src/main/java/org/cthing/versionparser/calver/CalendarVersionScheme.java index 173a62a..d38c2c9 100644 --- a/src/main/java/org/cthing/versionparser/calver/CalendarVersionScheme.java +++ b/src/main/java/org/cthing/versionparser/calver/CalendarVersionScheme.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/main/java/org/cthing/versionparser/calver/Component.java b/src/main/java/org/cthing/versionparser/calver/Component.java index c386dde..69395f4 100644 --- a/src/main/java/org/cthing/versionparser/calver/Component.java +++ b/src/main/java/org/cthing/versionparser/calver/Component.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/main/java/org/cthing/versionparser/calver/ComponentCategory.java b/src/main/java/org/cthing/versionparser/calver/ComponentCategory.java index 0fa0050..63b2f40 100644 --- a/src/main/java/org/cthing/versionparser/calver/ComponentCategory.java +++ b/src/main/java/org/cthing/versionparser/calver/ComponentCategory.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/main/java/org/cthing/versionparser/calver/ComponentFormat.java b/src/main/java/org/cthing/versionparser/calver/ComponentFormat.java index 491dd43..a64fe72 100644 --- a/src/main/java/org/cthing/versionparser/calver/ComponentFormat.java +++ b/src/main/java/org/cthing/versionparser/calver/ComponentFormat.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/main/java/org/cthing/versionparser/calver/Separator.java b/src/main/java/org/cthing/versionparser/calver/Separator.java index 88bac74..f30c58f 100644 --- a/src/main/java/org/cthing/versionparser/calver/Separator.java +++ b/src/main/java/org/cthing/versionparser/calver/Separator.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/main/java/org/cthing/versionparser/calver/package-info.java b/src/main/java/org/cthing/versionparser/calver/package-info.java index 9426454..b628e7d 100644 --- a/src/main/java/org/cthing/versionparser/calver/package-info.java +++ b/src/main/java/org/cthing/versionparser/calver/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/src/main/java/org/cthing/versionparser/gem/GemVersion.java b/src/main/java/org/cthing/versionparser/gem/GemVersion.java index 2e3f777..19a1102 100644 --- a/src/main/java/org/cthing/versionparser/gem/GemVersion.java +++ b/src/main/java/org/cthing/versionparser/gem/GemVersion.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * This file is derived from https://github.com/rubygems/rubygems/blob/master/lib/rubygems/version.rb * which is covered by the following copyright and permission notices: diff --git a/src/main/java/org/cthing/versionparser/gem/GemVersionScheme.java b/src/main/java/org/cthing/versionparser/gem/GemVersionScheme.java index 235c7e4..c846211 100644 --- a/src/main/java/org/cthing/versionparser/gem/GemVersionScheme.java +++ b/src/main/java/org/cthing/versionparser/gem/GemVersionScheme.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.gem; diff --git a/src/main/java/org/cthing/versionparser/gem/package-info.java b/src/main/java/org/cthing/versionparser/gem/package-info.java index 0d0ce5b..6821bf2 100644 --- a/src/main/java/org/cthing/versionparser/gem/package-info.java +++ b/src/main/java/org/cthing/versionparser/gem/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/src/main/java/org/cthing/versionparser/gradle/GradleVersion.java b/src/main/java/org/cthing/versionparser/gradle/GradleVersion.java index b225037..3f1c5b2 100644 --- a/src/main/java/org/cthing/versionparser/gradle/GradleVersion.java +++ b/src/main/java/org/cthing/versionparser/gradle/GradleVersion.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * This file is derived from * org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.VersionParser.java and diff --git a/src/main/java/org/cthing/versionparser/gradle/GradleVersionScheme.java b/src/main/java/org/cthing/versionparser/gradle/GradleVersionScheme.java index e5bd895..1fef6a9 100644 --- a/src/main/java/org/cthing/versionparser/gradle/GradleVersionScheme.java +++ b/src/main/java/org/cthing/versionparser/gradle/GradleVersionScheme.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * This file is derived from * org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.VersionRangeSelector diff --git a/src/main/java/org/cthing/versionparser/gradle/package-info.java b/src/main/java/org/cthing/versionparser/gradle/package-info.java index ce5b8ff..dbc3cbb 100644 --- a/src/main/java/org/cthing/versionparser/gradle/package-info.java +++ b/src/main/java/org/cthing/versionparser/gradle/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/src/main/java/org/cthing/versionparser/maven/MvnVersion.java b/src/main/java/org/cthing/versionparser/maven/MvnVersion.java index cb75313..defbf08 100644 --- a/src/main/java/org/cthing/versionparser/maven/MvnVersion.java +++ b/src/main/java/org/cthing/versionparser/maven/MvnVersion.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * This file is derived from org.eclipse.aether.util.version.GenericVersion.java * which is covered by the following copyright and permission notices: diff --git a/src/main/java/org/cthing/versionparser/maven/MvnVersionScheme.java b/src/main/java/org/cthing/versionparser/maven/MvnVersionScheme.java index bad8998..17df0d7 100644 --- a/src/main/java/org/cthing/versionparser/maven/MvnVersionScheme.java +++ b/src/main/java/org/cthing/versionparser/maven/MvnVersionScheme.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * This file is derived from org.eclipse.aether.util.version.GenericVersionScheme.java * which is covered by the following copyright and permission notices: diff --git a/src/main/java/org/cthing/versionparser/maven/package-info.java b/src/main/java/org/cthing/versionparser/maven/package-info.java index 86e79de..a878a62 100644 --- a/src/main/java/org/cthing/versionparser/maven/package-info.java +++ b/src/main/java/org/cthing/versionparser/maven/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/src/main/java/org/cthing/versionparser/npm/ConstraintComponent.java b/src/main/java/org/cthing/versionparser/npm/ConstraintComponent.java index 87633ae..d28c1bd 100644 --- a/src/main/java/org/cthing/versionparser/npm/ConstraintComponent.java +++ b/src/main/java/org/cthing/versionparser/npm/ConstraintComponent.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * Portions of this file are derived from the semver4j (https://github.com/semver4j/semver4j) * project, which is covered by the following copyright and permission notices: diff --git a/src/main/java/org/cthing/versionparser/npm/ConstraintTranslator.java b/src/main/java/org/cthing/versionparser/npm/ConstraintTranslator.java index f012c47..2dcd0e1 100644 --- a/src/main/java/org/cthing/versionparser/npm/ConstraintTranslator.java +++ b/src/main/java/org/cthing/versionparser/npm/ConstraintTranslator.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * Portions of this file are derived from the semver4j (https://github.com/semver4j/semver4j) * project, which is covered by the following copyright and permission notices: diff --git a/src/main/java/org/cthing/versionparser/npm/NpmVersionScheme.java b/src/main/java/org/cthing/versionparser/npm/NpmVersionScheme.java index e78c39e..b176ccc 100644 --- a/src/main/java/org/cthing/versionparser/npm/NpmVersionScheme.java +++ b/src/main/java/org/cthing/versionparser/npm/NpmVersionScheme.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * Portions of this file are derived from the semver4j (https://github.com/semver4j/semver4j) * project, which is covered by the following copyright and permission notices: diff --git a/src/main/java/org/cthing/versionparser/npm/package-info.java b/src/main/java/org/cthing/versionparser/npm/package-info.java index a8a3de4..1a3ef72 100644 --- a/src/main/java/org/cthing/versionparser/npm/package-info.java +++ b/src/main/java/org/cthing/versionparser/npm/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/src/main/java/org/cthing/versionparser/package-info.java b/src/main/java/org/cthing/versionparser/package-info.java index c90c498..e4a05ee 100644 --- a/src/main/java/org/cthing/versionparser/package-info.java +++ b/src/main/java/org/cthing/versionparser/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/src/main/java/org/cthing/versionparser/semver/SemanticVersion.java b/src/main/java/org/cthing/versionparser/semver/SemanticVersion.java index e329139..83cf2cc 100644 --- a/src/main/java/org/cthing/versionparser/semver/SemanticVersion.java +++ b/src/main/java/org/cthing/versionparser/semver/SemanticVersion.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * Portions of this file are derived from the semver4j (https://github.com/semver4j/semver4j) * project, which is covered by the following copyright and permission notices: diff --git a/src/main/java/org/cthing/versionparser/semver/package-info.java b/src/main/java/org/cthing/versionparser/semver/package-info.java index 89db0a2..18c7177 100644 --- a/src/main/java/org/cthing/versionparser/semver/package-info.java +++ b/src/main/java/org/cthing/versionparser/semver/package-info.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ /** diff --git a/src/test/java/org/cthing/versionparser/VersionConstraintTest.java b/src/test/java/org/cthing/versionparser/VersionConstraintTest.java index 9df0e14..89fef65 100644 --- a/src/test/java/org/cthing/versionparser/VersionConstraintTest.java +++ b/src/test/java/org/cthing/versionparser/VersionConstraintTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser; diff --git a/src/test/java/org/cthing/versionparser/VersionRangeTest.java b/src/test/java/org/cthing/versionparser/VersionRangeTest.java index 10f45ac..38ae36f 100644 --- a/src/test/java/org/cthing/versionparser/VersionRangeTest.java +++ b/src/test/java/org/cthing/versionparser/VersionRangeTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser; diff --git a/src/test/java/org/cthing/versionparser/calver/CalendarVersionSchemeTest.java b/src/test/java/org/cthing/versionparser/calver/CalendarVersionSchemeTest.java index d17b323..5b1c746 100644 --- a/src/test/java/org/cthing/versionparser/calver/CalendarVersionSchemeTest.java +++ b/src/test/java/org/cthing/versionparser/calver/CalendarVersionSchemeTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/test/java/org/cthing/versionparser/calver/CalendarVersionTest.java b/src/test/java/org/cthing/versionparser/calver/CalendarVersionTest.java index 9d8a569..fbe58b8 100644 --- a/src/test/java/org/cthing/versionparser/calver/CalendarVersionTest.java +++ b/src/test/java/org/cthing/versionparser/calver/CalendarVersionTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/test/java/org/cthing/versionparser/calver/ComponentCategoryTest.java b/src/test/java/org/cthing/versionparser/calver/ComponentCategoryTest.java index 070e5a7..87d7e07 100644 --- a/src/test/java/org/cthing/versionparser/calver/ComponentCategoryTest.java +++ b/src/test/java/org/cthing/versionparser/calver/ComponentCategoryTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/test/java/org/cthing/versionparser/calver/ComponentFormatTest.java b/src/test/java/org/cthing/versionparser/calver/ComponentFormatTest.java index 0a702d1..6d5d770 100644 --- a/src/test/java/org/cthing/versionparser/calver/ComponentFormatTest.java +++ b/src/test/java/org/cthing/versionparser/calver/ComponentFormatTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/test/java/org/cthing/versionparser/calver/ComponentTest.java b/src/test/java/org/cthing/versionparser/calver/ComponentTest.java index 1929b1f..9c5ff39 100644 --- a/src/test/java/org/cthing/versionparser/calver/ComponentTest.java +++ b/src/test/java/org/cthing/versionparser/calver/ComponentTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/test/java/org/cthing/versionparser/calver/SeparatorTest.java b/src/test/java/org/cthing/versionparser/calver/SeparatorTest.java index 40df5a3..52ab337 100644 --- a/src/test/java/org/cthing/versionparser/calver/SeparatorTest.java +++ b/src/test/java/org/cthing/versionparser/calver/SeparatorTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.calver; diff --git a/src/test/java/org/cthing/versionparser/gem/GemVersionSchemeTest.java b/src/test/java/org/cthing/versionparser/gem/GemVersionSchemeTest.java index fa37086..eb56209 100644 --- a/src/test/java/org/cthing/versionparser/gem/GemVersionSchemeTest.java +++ b/src/test/java/org/cthing/versionparser/gem/GemVersionSchemeTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.gem; diff --git a/src/test/java/org/cthing/versionparser/gem/GemVersionTest.java b/src/test/java/org/cthing/versionparser/gem/GemVersionTest.java index 5949882..1e0a0eb 100644 --- a/src/test/java/org/cthing/versionparser/gem/GemVersionTest.java +++ b/src/test/java/org/cthing/versionparser/gem/GemVersionTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.gem; diff --git a/src/test/java/org/cthing/versionparser/gradle/GradleVersionSchemeTest.java b/src/test/java/org/cthing/versionparser/gradle/GradleVersionSchemeTest.java index 86ac13a..af6a38f 100644 --- a/src/test/java/org/cthing/versionparser/gradle/GradleVersionSchemeTest.java +++ b/src/test/java/org/cthing/versionparser/gradle/GradleVersionSchemeTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.gradle; diff --git a/src/test/java/org/cthing/versionparser/gradle/GradleVersionTest.java b/src/test/java/org/cthing/versionparser/gradle/GradleVersionTest.java index 4ce10a8..c74f6a5 100644 --- a/src/test/java/org/cthing/versionparser/gradle/GradleVersionTest.java +++ b/src/test/java/org/cthing/versionparser/gradle/GradleVersionTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * This file is derived from org.gradle.api.internal.artifacts.ivyservice.ivyresolve.strategy.VersionParserTest.java * which is covered by the following copyright and permission notices: diff --git a/src/test/java/org/cthing/versionparser/maven/MvnVersionSchemeTest.java b/src/test/java/org/cthing/versionparser/maven/MvnVersionSchemeTest.java index e804b45..7378e3a 100644 --- a/src/test/java/org/cthing/versionparser/maven/MvnVersionSchemeTest.java +++ b/src/test/java/org/cthing/versionparser/maven/MvnVersionSchemeTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.maven; diff --git a/src/test/java/org/cthing/versionparser/maven/MvnVersionTest.java b/src/test/java/org/cthing/versionparser/maven/MvnVersionTest.java index 92eb78f..70a0f66 100644 --- a/src/test/java/org/cthing/versionparser/maven/MvnVersionTest.java +++ b/src/test/java/org/cthing/versionparser/maven/MvnVersionTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 * * This file is derived from org.eclipse.aether.util.version.GenericVersionTest.java * which is covered by the following copyright and permission notices: diff --git a/src/test/java/org/cthing/versionparser/npm/ConstraintComponentTest.java b/src/test/java/org/cthing/versionparser/npm/ConstraintComponentTest.java index e93e89e..ed525b2 100644 --- a/src/test/java/org/cthing/versionparser/npm/ConstraintComponentTest.java +++ b/src/test/java/org/cthing/versionparser/npm/ConstraintComponentTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.npm; diff --git a/src/test/java/org/cthing/versionparser/npm/ConstraintTranslatorTest.java b/src/test/java/org/cthing/versionparser/npm/ConstraintTranslatorTest.java index 33a6b14..4167925 100644 --- a/src/test/java/org/cthing/versionparser/npm/ConstraintTranslatorTest.java +++ b/src/test/java/org/cthing/versionparser/npm/ConstraintTranslatorTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.npm; diff --git a/src/test/java/org/cthing/versionparser/npm/NpmVersionSchemeTest.java b/src/test/java/org/cthing/versionparser/npm/NpmVersionSchemeTest.java index b703c80..019b729 100644 --- a/src/test/java/org/cthing/versionparser/npm/NpmVersionSchemeTest.java +++ b/src/test/java/org/cthing/versionparser/npm/NpmVersionSchemeTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.npm; diff --git a/src/test/java/org/cthing/versionparser/semver/SemanticVersionTest.java b/src/test/java/org/cthing/versionparser/semver/SemanticVersionTest.java index 4b26c59..7a5e784 100644 --- a/src/test/java/org/cthing/versionparser/semver/SemanticVersionTest.java +++ b/src/test/java/org/cthing/versionparser/semver/SemanticVersionTest.java @@ -1,17 +1,6 @@ /* * Copyright 2023 C Thing Software - * - * Licensed 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. + * SPDX-License-Identifier: Apache-2.0 */ package org.cthing.versionparser.semver;