diff --git a/.lift.toml b/.lift.toml index 2a9c2c9c9..70bb01b61 100644 --- a/.lift.toml +++ b/.lift.toml @@ -1,3 +1,19 @@ +# +# Copyright (C) 2022 - 2023 Ashley Scopes +# +# 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. +# + build = "mvn" # Use JDK 11 to help Sonatype Lift start the default plugins correctly. jdkVersion = "11" diff --git a/acceptance-tests/acceptance-tests-avaje-inject/pom.xml b/acceptance-tests/acceptance-tests-avaje-inject/pom.xml index 4725945b6..2385d13a1 100644 --- a/acceptance-tests/acceptance-tests-avaje-inject/pom.xml +++ b/acceptance-tests/acceptance-tests-avaje-inject/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-avaje-inject/src/test/groovy/io/github/ascopes/jct/acceptancetests/avajeinject/AvajeInjectTest.groovy b/acceptance-tests/acceptance-tests-avaje-inject/src/test/groovy/io/github/ascopes/jct/acceptancetests/avajeinject/AvajeInjectTest.groovy index fbf775c37..34707c5c0 100644 --- a/acceptance-tests/acceptance-tests-avaje-inject/src/test/groovy/io/github/ascopes/jct/acceptancetests/avajeinject/AvajeInjectTest.groovy +++ b/acceptance-tests/acceptance-tests-avaje-inject/src/test/groovy/io/github/ascopes/jct/acceptancetests/avajeinject/AvajeInjectTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/module-info.java b/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/module-info.java index c4118d411..cb4657096 100644 --- a/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/module-info.java +++ b/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/CoffeeMaker.java b/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/CoffeeMaker.java index c375b4280..ddfd3c971 100644 --- a/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/CoffeeMaker.java +++ b/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/CoffeeMaker.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/Grinder.java b/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/Grinder.java index 0ea9c93f6..eff39dce4 100644 --- a/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/Grinder.java +++ b/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/Grinder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/Pump.java b/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/Pump.java index 2210b1ac6..435a14886 100644 --- a/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/Pump.java +++ b/acceptance-tests/acceptance-tests-avaje-inject/src/test/resources/code/org/example/Pump.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-avaje-jsonb/pom.xml b/acceptance-tests/acceptance-tests-avaje-jsonb/pom.xml index 652490312..5c565880f 100644 --- a/acceptance-tests/acceptance-tests-avaje-jsonb/pom.xml +++ b/acceptance-tests/acceptance-tests-avaje-jsonb/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-avaje-jsonb/src/test/groovy/io/github/ascopes/jct/acceptancetests/avajejsonb/AvajeJsonbTest.groovy b/acceptance-tests/acceptance-tests-avaje-jsonb/src/test/groovy/io/github/ascopes/jct/acceptancetests/avajejsonb/AvajeJsonbTest.groovy index 3d4f1ed90..2b8f593d5 100644 --- a/acceptance-tests/acceptance-tests-avaje-jsonb/src/test/groovy/io/github/ascopes/jct/acceptancetests/avajejsonb/AvajeJsonbTest.groovy +++ b/acceptance-tests/acceptance-tests-avaje-jsonb/src/test/groovy/io/github/ascopes/jct/acceptancetests/avajejsonb/AvajeJsonbTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-avaje-jsonb/src/test/resources/code/User.java b/acceptance-tests/acceptance-tests-avaje-jsonb/src/test/resources/code/User.java index 0c6cdb6f2..9b8f3bc3c 100644 --- a/acceptance-tests/acceptance-tests-avaje-jsonb/src/test/resources/code/User.java +++ b/acceptance-tests/acceptance-tests-avaje-jsonb/src/test/resources/code/User.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-checkerframework/pom.xml b/acceptance-tests/acceptance-tests-checkerframework/pom.xml index 0bdda2c4e..f67340a2d 100644 --- a/acceptance-tests/acceptance-tests-checkerframework/pom.xml +++ b/acceptance-tests/acceptance-tests-checkerframework/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-checkerframework/src/test/groovy/io/github/ascopes/jct/acceptancetests/checkerframework/CheckerNullTest.groovy b/acceptance-tests/acceptance-tests-checkerframework/src/test/groovy/io/github/ascopes/jct/acceptancetests/checkerframework/CheckerNullTest.groovy index a261f8d51..f2c6b82ff 100644 --- a/acceptance-tests/acceptance-tests-checkerframework/src/test/groovy/io/github/ascopes/jct/acceptancetests/checkerframework/CheckerNullTest.groovy +++ b/acceptance-tests/acceptance-tests-checkerframework/src/test/groovy/io/github/ascopes/jct/acceptancetests/checkerframework/CheckerNullTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-checkerframework/src/test/resources/code/nullness/happy/HappyCase.java b/acceptance-tests/acceptance-tests-checkerframework/src/test/resources/code/nullness/happy/HappyCase.java index b3660e1f0..23329c017 100644 --- a/acceptance-tests/acceptance-tests-checkerframework/src/test/resources/code/nullness/happy/HappyCase.java +++ b/acceptance-tests/acceptance-tests-checkerframework/src/test/resources/code/nullness/happy/HappyCase.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-checkerframework/src/test/resources/code/nullness/sad/SadCase.java b/acceptance-tests/acceptance-tests-checkerframework/src/test/resources/code/nullness/sad/SadCase.java index 3084eeb8d..d770d4f6c 100644 --- a/acceptance-tests/acceptance-tests-checkerframework/src/test/resources/code/nullness/sad/SadCase.java +++ b/acceptance-tests/acceptance-tests-checkerframework/src/test/resources/code/nullness/sad/SadCase.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-dagger/pom.xml b/acceptance-tests/acceptance-tests-dagger/pom.xml index ebda6825a..c4484f41f 100644 --- a/acceptance-tests/acceptance-tests-dagger/pom.xml +++ b/acceptance-tests/acceptance-tests-dagger/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-dagger/src/test/groovy/io/github/ascopes/jct/acceptancetests/dagger/DaggerTest.groovy b/acceptance-tests/acceptance-tests-dagger/src/test/groovy/io/github/ascopes/jct/acceptancetests/dagger/DaggerTest.groovy index 0b75a93c7..55326d276 100644 --- a/acceptance-tests/acceptance-tests-dagger/src/test/groovy/io/github/ascopes/jct/acceptancetests/dagger/DaggerTest.groovy +++ b/acceptance-tests/acceptance-tests-dagger/src/test/groovy/io/github/ascopes/jct/acceptancetests/dagger/DaggerTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-dagger/src/test/resources/code/WebServer.java b/acceptance-tests/acceptance-tests-dagger/src/test/resources/code/WebServer.java index bc27b19ba..16144cb05 100644 --- a/acceptance-tests/acceptance-tests-dagger/src/test/resources/code/WebServer.java +++ b/acceptance-tests/acceptance-tests-dagger/src/test/resources/code/WebServer.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-dagger/src/test/resources/code/WebServerConfiguration.java b/acceptance-tests/acceptance-tests-dagger/src/test/resources/code/WebServerConfiguration.java index bb5195658..0635bb853 100644 --- a/acceptance-tests/acceptance-tests-dagger/src/test/resources/code/WebServerConfiguration.java +++ b/acceptance-tests/acceptance-tests-dagger/src/test/resources/code/WebServerConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-error-prone/pom.xml b/acceptance-tests/acceptance-tests-error-prone/pom.xml index 265d6d44a..ea3fae54b 100644 --- a/acceptance-tests/acceptance-tests-error-prone/pom.xml +++ b/acceptance-tests/acceptance-tests-error-prone/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-error-prone/src/test/groovy/io/github/ascopes/jct/acceptancetests/errorprone/ErrorProneTest.groovy b/acceptance-tests/acceptance-tests-error-prone/src/test/groovy/io/github/ascopes/jct/acceptancetests/errorprone/ErrorProneTest.groovy index a2047132d..2cf785a1f 100644 --- a/acceptance-tests/acceptance-tests-error-prone/src/test/groovy/io/github/ascopes/jct/acceptancetests/errorprone/ErrorProneTest.groovy +++ b/acceptance-tests/acceptance-tests-error-prone/src/test/groovy/io/github/ascopes/jct/acceptancetests/errorprone/ErrorProneTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-error-prone/src/test/resources/code/nullness/happy/HappyCase.java b/acceptance-tests/acceptance-tests-error-prone/src/test/resources/code/nullness/happy/HappyCase.java index 7578763f5..df6a30243 100644 --- a/acceptance-tests/acceptance-tests-error-prone/src/test/resources/code/nullness/happy/HappyCase.java +++ b/acceptance-tests/acceptance-tests-error-prone/src/test/resources/code/nullness/happy/HappyCase.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-error-prone/src/test/resources/code/nullness/sad/SadCase.java b/acceptance-tests/acceptance-tests-error-prone/src/test/resources/code/nullness/sad/SadCase.java index 9505542a2..fa69daa0c 100644 --- a/acceptance-tests/acceptance-tests-error-prone/src/test/resources/code/nullness/sad/SadCase.java +++ b/acceptance-tests/acceptance-tests-error-prone/src/test/resources/code/nullness/sad/SadCase.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-google-auto-factory/pom.xml b/acceptance-tests/acceptance-tests-google-auto-factory/pom.xml index ff0c91e40..a5eaf1815 100644 --- a/acceptance-tests/acceptance-tests-google-auto-factory/pom.xml +++ b/acceptance-tests/acceptance-tests-google-auto-factory/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-google-auto-factory/src/test/groovy/io/github/ascopes/jct/acceptancetests/autofactory/AutoFactoryTest.groovy b/acceptance-tests/acceptance-tests-google-auto-factory/src/test/groovy/io/github/ascopes/jct/acceptancetests/autofactory/AutoFactoryTest.groovy index 9a8e98300..32c9ae7af 100644 --- a/acceptance-tests/acceptance-tests-google-auto-factory/src/test/groovy/io/github/ascopes/jct/acceptancetests/autofactory/AutoFactoryTest.groovy +++ b/acceptance-tests/acceptance-tests-google-auto-factory/src/test/groovy/io/github/ascopes/jct/acceptancetests/autofactory/AutoFactoryTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-google-auto-factory/src/test/resources/code/User.java b/acceptance-tests/acceptance-tests-google-auto-factory/src/test/resources/code/User.java index d7c51e079..e18805df3 100644 --- a/acceptance-tests/acceptance-tests-google-auto-factory/src/test/resources/code/User.java +++ b/acceptance-tests/acceptance-tests-google-auto-factory/src/test/resources/code/User.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-google-auto-service/pom.xml b/acceptance-tests/acceptance-tests-google-auto-service/pom.xml index 6a1e6cd90..8802e7127 100644 --- a/acceptance-tests/acceptance-tests-google-auto-service/pom.xml +++ b/acceptance-tests/acceptance-tests-google-auto-service/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-google-auto-service/src/test/groovy/io/github/ascopes/jct/acceptancetests/autoservice/AutoServiceTest.groovy b/acceptance-tests/acceptance-tests-google-auto-service/src/test/groovy/io/github/ascopes/jct/acceptancetests/autoservice/AutoServiceTest.groovy index 63832e05e..5ae1121a4 100644 --- a/acceptance-tests/acceptance-tests-google-auto-service/src/test/groovy/io/github/ascopes/jct/acceptancetests/autoservice/AutoServiceTest.groovy +++ b/acceptance-tests/acceptance-tests-google-auto-service/src/test/groovy/io/github/ascopes/jct/acceptancetests/autoservice/AutoServiceTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-google-auto-service/src/test/resources/code/SomeImpl.java b/acceptance-tests/acceptance-tests-google-auto-service/src/test/resources/code/SomeImpl.java index 0e2a0dc70..35e89d036 100644 --- a/acceptance-tests/acceptance-tests-google-auto-service/src/test/resources/code/SomeImpl.java +++ b/acceptance-tests/acceptance-tests-google-auto-service/src/test/resources/code/SomeImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-google-auto-service/src/test/resources/code/SomeInterface.java b/acceptance-tests/acceptance-tests-google-auto-service/src/test/resources/code/SomeInterface.java index e2d6e5468..c89d26da8 100644 --- a/acceptance-tests/acceptance-tests-google-auto-service/src/test/resources/code/SomeInterface.java +++ b/acceptance-tests/acceptance-tests-google-auto-service/src/test/resources/code/SomeInterface.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-google-auto-value/pom.xml b/acceptance-tests/acceptance-tests-google-auto-value/pom.xml index 90ce29e06..461e727c6 100644 --- a/acceptance-tests/acceptance-tests-google-auto-value/pom.xml +++ b/acceptance-tests/acceptance-tests-google-auto-value/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-google-auto-value/src/test/groovy/io/github/ascopes/jct/acceptancetests/autovalue/AutoValueTest.groovy b/acceptance-tests/acceptance-tests-google-auto-value/src/test/groovy/io/github/ascopes/jct/acceptancetests/autovalue/AutoValueTest.groovy index eca2269aa..16bdcdf0e 100644 --- a/acceptance-tests/acceptance-tests-google-auto-value/src/test/groovy/io/github/ascopes/jct/acceptancetests/autovalue/AutoValueTest.groovy +++ b/acceptance-tests/acceptance-tests-google-auto-value/src/test/groovy/io/github/ascopes/jct/acceptancetests/autovalue/AutoValueTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-google-auto-value/src/test/resources/code/User.java b/acceptance-tests/acceptance-tests-google-auto-value/src/test/resources/code/User.java index d199b44cc..b4573504a 100644 --- a/acceptance-tests/acceptance-tests-google-auto-value/src/test/resources/code/User.java +++ b/acceptance-tests/acceptance-tests-google-auto-value/src/test/resources/code/User.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-google-auto-value/src/test/resources/code/UserBuilder.java b/acceptance-tests/acceptance-tests-google-auto-value/src/test/resources/code/UserBuilder.java index 900055bbf..e9fddbe83 100644 --- a/acceptance-tests/acceptance-tests-google-auto-value/src/test/resources/code/UserBuilder.java +++ b/acceptance-tests/acceptance-tests-google-auto-value/src/test/resources/code/UserBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-immutables/pom.xml b/acceptance-tests/acceptance-tests-immutables/pom.xml index d03a5b4bf..5c55cb560 100644 --- a/acceptance-tests/acceptance-tests-immutables/pom.xml +++ b/acceptance-tests/acceptance-tests-immutables/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-immutables/src/test/groovy/io/github/ascopes/jct/acceptancetests/immutables/ImmutablesIntegrationTest.groovy b/acceptance-tests/acceptance-tests-immutables/src/test/groovy/io/github/ascopes/jct/acceptancetests/immutables/ImmutablesIntegrationTest.groovy index cab03f4ca..32a4558ce 100644 --- a/acceptance-tests/acceptance-tests-immutables/src/test/groovy/io/github/ascopes/jct/acceptancetests/immutables/ImmutablesIntegrationTest.groovy +++ b/acceptance-tests/acceptance-tests-immutables/src/test/groovy/io/github/ascopes/jct/acceptancetests/immutables/ImmutablesIntegrationTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/flat/org/example/Animal.java b/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/flat/org/example/Animal.java index 83e1ab3fd..267f61937 100644 --- a/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/flat/org/example/Animal.java +++ b/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/flat/org/example/Animal.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/jpms/module-info.java b/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/jpms/module-info.java index 446a87dff..d4ecd3b09 100644 --- a/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/jpms/module-info.java +++ b/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/jpms/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/jpms/org/example/Animal.java b/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/jpms/org/example/Animal.java index 83e1ab3fd..267f61937 100644 --- a/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/jpms/org/example/Animal.java +++ b/acceptance-tests/acceptance-tests-immutables/src/test/resources/code/jpms/org/example/Animal.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-lombok/pom.xml b/acceptance-tests/acceptance-tests-lombok/pom.xml index 95ff6dd74..f6e859fdf 100644 --- a/acceptance-tests/acceptance-tests-lombok/pom.xml +++ b/acceptance-tests/acceptance-tests-lombok/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-lombok/src/test/groovy/io/github/ascopes/jct/acceptancetests/lombok/LombokIntegrationTest.groovy b/acceptance-tests/acceptance-tests-lombok/src/test/groovy/io/github/ascopes/jct/acceptancetests/lombok/LombokIntegrationTest.groovy index deed4294f..01f52ff3e 100644 --- a/acceptance-tests/acceptance-tests-lombok/src/test/groovy/io/github/ascopes/jct/acceptancetests/lombok/LombokIntegrationTest.groovy +++ b/acceptance-tests/acceptance-tests-lombok/src/test/groovy/io/github/ascopes/jct/acceptancetests/lombok/LombokIntegrationTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/flat/org/example/Animal.java b/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/flat/org/example/Animal.java index c2cd7f27f..e5d6c7541 100644 --- a/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/flat/org/example/Animal.java +++ b/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/flat/org/example/Animal.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/jpms/module-info.java b/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/jpms/module-info.java index d5ac8dbb9..d26c6bcb7 100644 --- a/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/jpms/module-info.java +++ b/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/jpms/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/jpms/org/example/Animal.java b/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/jpms/org/example/Animal.java index c2cd7f27f..e5d6c7541 100644 --- a/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/jpms/org/example/Animal.java +++ b/acceptance-tests/acceptance-tests-lombok/src/test/resources/code/jpms/org/example/Animal.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-manifold-systems/pom.xml b/acceptance-tests/acceptance-tests-manifold-systems/pom.xml index 19c93775b..75d0f66ad 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/pom.xml +++ b/acceptance-tests/acceptance-tests-manifold-systems/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-manifold-systems/src/test/groovy/io/github/ascopes/jct/acceptancetests/manifold/ManifoldPluginConfigurer.groovy b/acceptance-tests/acceptance-tests-manifold-systems/src/test/groovy/io/github/ascopes/jct/acceptancetests/manifold/ManifoldPluginConfigurer.groovy index 5a1954b90..98105b0d9 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/src/test/groovy/io/github/ascopes/jct/acceptancetests/manifold/ManifoldPluginConfigurer.groovy +++ b/acceptance-tests/acceptance-tests-manifold-systems/src/test/groovy/io/github/ascopes/jct/acceptancetests/manifold/ManifoldPluginConfigurer.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-manifold-systems/src/test/groovy/io/github/ascopes/jct/acceptancetests/manifold/ManifoldPreprocessorTest.groovy b/acceptance-tests/acceptance-tests-manifold-systems/src/test/groovy/io/github/ascopes/jct/acceptancetests/manifold/ManifoldPreprocessorTest.groovy index 58255aa66..bdfc9f638 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/src/test/groovy/io/github/ascopes/jct/acceptancetests/manifold/ManifoldPreprocessorTest.groovy +++ b/acceptance-tests/acceptance-tests-manifold-systems/src/test/groovy/io/github/ascopes/jct/acceptancetests/manifold/ManifoldPreprocessorTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/nullness/happy/HappyCase.java b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/nullness/happy/HappyCase.java index b3660e1f0..23329c017 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/nullness/happy/HappyCase.java +++ b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/nullness/happy/HappyCase.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/nullness/sad/SadCase.java b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/nullness/sad/SadCase.java index 3084eeb8d..d770d4f6c 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/nullness/sad/SadCase.java +++ b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/nullness/sad/SadCase.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/error/ClassWithErrors.java b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/error/ClassWithErrors.java index ad54b48a7..7d1c5c530 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/error/ClassWithErrors.java +++ b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/error/ClassWithErrors.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/if/HelloWorld.java b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/if/HelloWorld.java index fb5178ce4..ac625682c 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/if/HelloWorld.java +++ b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/if/HelloWorld.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/warning/ClassWithWarnings.java b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/warning/ClassWithWarnings.java index 2b42eb1f8..18d197b43 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/warning/ClassWithWarnings.java +++ b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/preprocessor/warning/ClassWithWarnings.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/tuple/User.java b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/tuple/User.java index d81935ed4..f069c68a9 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/tuple/User.java +++ b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/tuple/User.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/tuple/UserRecords.java b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/tuple/UserRecords.java index 15fb0665d..b06e920fe 100644 --- a/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/tuple/UserRecords.java +++ b/acceptance-tests/acceptance-tests-manifold-systems/src/test/resources/code/tuple/UserRecords.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/pom.xml b/acceptance-tests/acceptance-tests-mapstruct/pom.xml index 54f298bc1..f00b4f04d 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/pom.xml +++ b/acceptance-tests/acceptance-tests-mapstruct/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/groovy/io/github/ascopes/jct/acceptancetests/mapstruct/MapStructIntegrationTest.groovy b/acceptance-tests/acceptance-tests-mapstruct/src/test/groovy/io/github/ascopes/jct/acceptancetests/mapstruct/MapStructIntegrationTest.groovy index c6aed5f91..75ca61f0d 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/groovy/io/github/ascopes/jct/acceptancetests/mapstruct/MapStructIntegrationTest.groovy +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/groovy/io/github/ascopes/jct/acceptancetests/mapstruct/MapStructIntegrationTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/Car.java b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/Car.java index 92b1774ad..6fdece2f3 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/Car.java +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/Car.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarDto.java b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarDto.java index 633656d6a..ce09a8347 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarDto.java +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarDto.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarMapper.java b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarMapper.java index d2c56f155..9337105cc 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarMapper.java +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarMapper.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarType.java b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarType.java index 0ecd594e3..92f4e4dbf 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarType.java +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/flat/org/example/CarType.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/module-info.java b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/module-info.java index 86a9c6210..0fb02a05e 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/module-info.java +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/Car.java b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/Car.java index 92b1774ad..6fdece2f3 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/Car.java +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/Car.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarDto.java b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarDto.java index 633656d6a..ce09a8347 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarDto.java +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarDto.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarMapper.java b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarMapper.java index d2c56f155..9337105cc 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarMapper.java +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarMapper.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarType.java b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarType.java index 0ecd594e3..92f4e4dbf 100644 --- a/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarType.java +++ b/acceptance-tests/acceptance-tests-mapstruct/src/test/resources/code/jpms/org/example/CarType.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-micronaut/pom.xml b/acceptance-tests/acceptance-tests-micronaut/pom.xml index e8f1759d1..98a70657f 100644 --- a/acceptance-tests/acceptance-tests-micronaut/pom.xml +++ b/acceptance-tests/acceptance-tests-micronaut/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-micronaut/src/test/groovy/io/github/ascopes/jct/acceptancetests/micronaut/MicronautConfigurer.groovy b/acceptance-tests/acceptance-tests-micronaut/src/test/groovy/io/github/ascopes/jct/acceptancetests/micronaut/MicronautConfigurer.groovy index 10e1a950a..b62f22c4d 100644 --- a/acceptance-tests/acceptance-tests-micronaut/src/test/groovy/io/github/ascopes/jct/acceptancetests/micronaut/MicronautConfigurer.groovy +++ b/acceptance-tests/acceptance-tests-micronaut/src/test/groovy/io/github/ascopes/jct/acceptancetests/micronaut/MicronautConfigurer.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-micronaut/src/test/groovy/io/github/ascopes/jct/acceptancetests/micronaut/MicronautIntegrationTest.groovy b/acceptance-tests/acceptance-tests-micronaut/src/test/groovy/io/github/ascopes/jct/acceptancetests/micronaut/MicronautIntegrationTest.groovy index 26803694a..0374a625b 100644 --- a/acceptance-tests/acceptance-tests-micronaut/src/test/groovy/io/github/ascopes/jct/acceptancetests/micronaut/MicronautIntegrationTest.groovy +++ b/acceptance-tests/acceptance-tests-micronaut/src/test/groovy/io/github/ascopes/jct/acceptancetests/micronaut/MicronautIntegrationTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-micronaut/src/test/resources/code/Application.java b/acceptance-tests/acceptance-tests-micronaut/src/test/resources/code/Application.java index b205ba7ed..b8fbbc8b1 100644 --- a/acceptance-tests/acceptance-tests-micronaut/src/test/resources/code/Application.java +++ b/acceptance-tests/acceptance-tests-micronaut/src/test/resources/code/Application.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-micronaut/src/test/resources/code/HelloController.java b/acceptance-tests/acceptance-tests-micronaut/src/test/resources/code/HelloController.java index 2c13c7004..0165b75d9 100644 --- a/acceptance-tests/acceptance-tests-micronaut/src/test/resources/code/HelloController.java +++ b/acceptance-tests/acceptance-tests-micronaut/src/test/resources/code/HelloController.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader-jpms/pom.xml b/acceptance-tests/acceptance-tests-serviceloader-jpms/pom.xml index e9eae87dd..111d3689f 100644 --- a/acceptance-tests/acceptance-tests-serviceloader-jpms/pom.xml +++ b/acceptance-tests/acceptance-tests-serviceloader-jpms/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/AnnotatedService.java b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/AnnotatedService.java index 7c7f7207e..01dda1d10 100644 --- a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/AnnotatedService.java +++ b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/AnnotatedService.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/Service.java b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/Service.java index af62c4e0c..cf47ea32f 100644 --- a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/Service.java +++ b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/Service.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/ServiceProcessor.java b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/ServiceProcessor.java index 8b636e433..5126dd8ba 100644 --- a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/ServiceProcessor.java +++ b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/ServiceProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/module-info.java b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/module-info.java index 9b16e6821..2e04b22e0 100644 --- a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/module-info.java +++ b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/main/java/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - import io.github.ascopes.jct.acceptancetests.serviceloaderjpms.ServiceProcessor; import javax.annotation.processing.Processor; diff --git a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/groovy/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/testing/ServiceProcessorJpmsTest.groovy b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/groovy/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/testing/ServiceProcessorJpmsTest.groovy index 889a41aa4..c0bff43d0 100644 --- a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/groovy/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/testing/ServiceProcessorJpmsTest.groovy +++ b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/groovy/io/github/ascopes/jct/acceptancetests/serviceloaderjpms/testing/ServiceProcessorJpmsTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/resources/code/InsultProvider.java b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/resources/code/InsultProvider.java index 38e10f743..b492b2e89 100644 --- a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/resources/code/InsultProvider.java +++ b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/resources/code/InsultProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/resources/code/MeanInsultProviderImpl.java b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/resources/code/MeanInsultProviderImpl.java index eb4ff5094..f5cd478ed 100644 --- a/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/resources/code/MeanInsultProviderImpl.java +++ b/acceptance-tests/acceptance-tests-serviceloader-jpms/src/test/resources/code/MeanInsultProviderImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader/pom.xml b/acceptance-tests/acceptance-tests-serviceloader/pom.xml index 709b58c34..d28653880 100644 --- a/acceptance-tests/acceptance-tests-serviceloader/pom.xml +++ b/acceptance-tests/acceptance-tests-serviceloader/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/AnnotatedService.java b/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/AnnotatedService.java index ea9720911..c10945fae 100644 --- a/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/AnnotatedService.java +++ b/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/AnnotatedService.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/Service.java b/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/Service.java index fa6c9eab9..08fd0ef0e 100644 --- a/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/Service.java +++ b/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/Service.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/ServiceProcessor.java b/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/ServiceProcessor.java index f45e42a45..83f57c16b 100644 --- a/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/ServiceProcessor.java +++ b/acceptance-tests/acceptance-tests-serviceloader/src/main/java/io/github/ascopes/jct/acceptancetests/serviceloader/ServiceProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader/src/test/groovy/io/github/ascopes/jct/acceptancetests/serviceloader/testing/ServiceProcessorTest.groovy b/acceptance-tests/acceptance-tests-serviceloader/src/test/groovy/io/github/ascopes/jct/acceptancetests/serviceloader/testing/ServiceProcessorTest.groovy index c19821571..1c8e992f5 100644 --- a/acceptance-tests/acceptance-tests-serviceloader/src/test/groovy/io/github/ascopes/jct/acceptancetests/serviceloader/testing/ServiceProcessorTest.groovy +++ b/acceptance-tests/acceptance-tests-serviceloader/src/test/groovy/io/github/ascopes/jct/acceptancetests/serviceloader/testing/ServiceProcessorTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader/src/test/resources/code/InsultProvider.java b/acceptance-tests/acceptance-tests-serviceloader/src/test/resources/code/InsultProvider.java index 38e10f743..b492b2e89 100644 --- a/acceptance-tests/acceptance-tests-serviceloader/src/test/resources/code/InsultProvider.java +++ b/acceptance-tests/acceptance-tests-serviceloader/src/test/resources/code/InsultProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-serviceloader/src/test/resources/code/MeanInsultProviderImpl.java b/acceptance-tests/acceptance-tests-serviceloader/src/test/resources/code/MeanInsultProviderImpl.java index 4d97b4286..24af4f7ef 100644 --- a/acceptance-tests/acceptance-tests-serviceloader/src/test/resources/code/MeanInsultProviderImpl.java +++ b/acceptance-tests/acceptance-tests-serviceloader/src/test/resources/code/MeanInsultProviderImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/pom.xml b/acceptance-tests/acceptance-tests-spring/pom.xml index c3965be44..f8f72e08e 100644 --- a/acceptance-tests/acceptance-tests-spring/pom.xml +++ b/acceptance-tests/acceptance-tests-spring/pom.xml @@ -1,4 +1,21 @@ + diff --git a/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringBootAutoconfigureProcessorTest.groovy b/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringBootAutoconfigureProcessorTest.groovy index 5b92516a4..f42647586 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringBootAutoconfigureProcessorTest.groovy +++ b/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringBootAutoconfigureProcessorTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringBootConfigurationProcessorTest.groovy b/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringBootConfigurationProcessorTest.groovy index ad355fb3c..c042f5ebd 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringBootConfigurationProcessorTest.groovy +++ b/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringBootConfigurationProcessorTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringContextIndexerTest.groovy b/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringContextIndexerTest.groovy index ae63cf48f..ea1febccf 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringContextIndexerTest.groovy +++ b/acceptance-tests/acceptance-tests-spring/src/test/groovy/io/github/ascopes/jct/acceptancetests/spring/SpringContextIndexerTest.groovy @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/Application.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/Application.java index 39cc12238..6055de866 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/Application.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/Application.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/config/RouteConfig.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/config/RouteConfig.java index 20b11b748..0b079179a 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/config/RouteConfig.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/config/RouteConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/handlers/HelloWorldHandler.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/handlers/HelloWorldHandler.java index b53f5a1a5..49eefaf52 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/handlers/HelloWorldHandler.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/autoconfigure/handlers/HelloWorldHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/Application.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/Application.java index 39cc12238..6055de866 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/Application.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/Application.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/config/RouteConfig.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/config/RouteConfig.java index 73d6d02ea..5feeb9735 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/config/RouteConfig.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/config/RouteConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/handlers/HelloWorldHandler.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/handlers/HelloWorldHandler.java index c54208524..6fccced21 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/handlers/HelloWorldHandler.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/handlers/HelloWorldHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/properties/HelloWorldProperties.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/properties/HelloWorldProperties.java index 5246193b0..7ceb88d75 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/properties/HelloWorldProperties.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/configuration/properties/HelloWorldProperties.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/Application.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/Application.java index 8e8104a87..d8f0159c9 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/Application.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/Application.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/config/RouteConfig.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/config/RouteConfig.java index 73d6d02ea..5feeb9735 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/config/RouteConfig.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/config/RouteConfig.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/handlers/HelloWorldHandler.java b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/handlers/HelloWorldHandler.java index de5c5d9db..cd7cd0f03 100644 --- a/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/handlers/HelloWorldHandler.java +++ b/acceptance-tests/acceptance-tests-spring/src/test/resources/code/indexer/handlers/HelloWorldHandler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/acceptance-tests/pom.xml b/acceptance-tests/pom.xml index efe40c8d3..10ac7d8d6 100644 --- a/acceptance-tests/pom.xml +++ b/acceptance-tests/pom.xml @@ -1,4 +1,21 @@ + diff --git a/codecov.yml b/codecov.yml index 16521976c..c94265360 100644 --- a/codecov.yml +++ b/codecov.yml @@ -1,3 +1,19 @@ +# +# Copyright (C) 2022 - 2023 Ashley Scopes +# +# 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. +# + # General behaviour. codecov: branch: main diff --git a/java-compiler-testing/pom.xml b/java-compiler-testing/pom.xml index 84b39b822..bbf42a6af 100644 --- a/java-compiler-testing/pom.xml +++ b/java-compiler-testing/pom.xml @@ -1,4 +1,21 @@ + diff --git a/java-compiler-testing/security-suppressions.xml b/java-compiler-testing/security-suppressions.xml index 06f45d44d..21f352481 100644 --- a/java-compiler-testing/security-suppressions.xml +++ b/java-compiler-testing/security-suppressions.xml @@ -1,4 +1,21 @@ + diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractContainerGroupAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractContainerGroupAssert.java index 744b922b8..a7f602e4d 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractContainerGroupAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractContainerGroupAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractEnumAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractEnumAssert.java index 0098c1a35..48c50b58b 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractEnumAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractEnumAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractJavaFileObjectAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractJavaFileObjectAssert.java index 661575d3c..1792bf3bd 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractJavaFileObjectAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/AbstractJavaFileObjectAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/ClassLoaderAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/ClassLoaderAssert.java index 256ae36d3..a1868709b 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/ClassLoaderAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/ClassLoaderAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/CompilationAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/CompilationAssert.java index 86f3a529b..3541a2d66 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/CompilationAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/CompilationAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticAssert.java index 9bcd2a005..76833cc3d 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticKindAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticKindAssert.java index 60e9ef47a..4341b42b8 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticKindAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticKindAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticListAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticListAssert.java index 8d1bf7b98..1183804de 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticListAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/DiagnosticListAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JavaFileObjectAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JavaFileObjectAssert.java index cb470a7d5..10d234408 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JavaFileObjectAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JavaFileObjectAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JavaFileObjectKindAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JavaFileObjectKindAssert.java index 019f6bc53..905fd480c 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JavaFileObjectKindAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JavaFileObjectKindAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JctAssertions.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JctAssertions.java index 7bfe20b71..948b48d1c 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JctAssertions.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/JctAssertions.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/LocationAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/LocationAssert.java index 3223e2f5b..8e4e58074 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/LocationAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/LocationAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/ModuleContainerGroupAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/ModuleContainerGroupAssert.java index 7e572b37b..613f4a824 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/ModuleContainerGroupAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/ModuleContainerGroupAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/OutputContainerGroupAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/OutputContainerGroupAssert.java index 7a5f45c07..4b66960e9 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/OutputContainerGroupAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/OutputContainerGroupAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/PackageContainerGroupAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/PackageContainerGroupAssert.java index 90a69a6cc..9965b9779 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/PackageContainerGroupAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/PackageContainerGroupAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/PathFileObjectAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/PathFileObjectAssert.java index 40282f306..af170723c 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/PathFileObjectAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/PathFileObjectAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/StackTraceAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/StackTraceAssert.java index 8cb19b06c..ac84115d6 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/StackTraceAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/StackTraceAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/StackTraceElementAssert.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/StackTraceElementAssert.java index 832fd39ce..53e3b12ff 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/StackTraceElementAssert.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/StackTraceElementAssert.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/package-info.java index 08a7c3c91..1dab5ca9c 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/assertions/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/AbstractJctCompiler.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/AbstractJctCompiler.java index 56eaa81b5..40d33f09f 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/AbstractJctCompiler.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/AbstractJctCompiler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilation.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilation.java index 9979390c0..6e7e3386b 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilation.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilation.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompiler.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompiler.java index 45208a21f..becc9a0c1 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompiler.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompiler.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilerConfigurer.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilerConfigurer.java index 977c11424..d354e4456 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilerConfigurer.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilerConfigurer.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilers.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilers.java index 5ea4520db..1e660c193 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilers.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctCompilers.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctFlagBuilder.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctFlagBuilder.java index 6c6916c73..d3319ca11 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctFlagBuilder.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/JctFlagBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/JctCompilationImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/JctCompilationImpl.java index d384a8182..51b6b5f20 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/JctCompilationImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/JctCompilationImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/JctJsr199Interop.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/JctJsr199Interop.java index b94b1a752..053bfa810 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/JctJsr199Interop.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/JctJsr199Interop.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/package-info.java index bc49fa5dd..d2cd7c2e1 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/impl/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/JavacJctCompilerImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/JavacJctCompilerImpl.java index f55be1dcb..5c9e649fa 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/JavacJctCompilerImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/JavacJctCompilerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/JavacJctFlagBuilderImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/JavacJctFlagBuilderImpl.java index c3bba68b8..2574578e4 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/JavacJctFlagBuilderImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/JavacJctFlagBuilderImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/package-info.java index 010f6a300..32f692c17 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/javac/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/package-info.java index fc9a6d474..edda068ae 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/compilers/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/Container.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/Container.java index a4ab3b047..d63c09263 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/Container.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/Container.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/ContainerGroup.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/ContainerGroup.java index ff9fcb699..5a0f74eb2 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/ContainerGroup.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/ContainerGroup.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/ModuleContainerGroup.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/ModuleContainerGroup.java index da96bbb09..af7307ec1 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/ModuleContainerGroup.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/ModuleContainerGroup.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/OutputContainerGroup.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/OutputContainerGroup.java index 7414eb7d9..1a1cdb4f6 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/OutputContainerGroup.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/OutputContainerGroup.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/PackageContainerGroup.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/PackageContainerGroup.java index 80d42bc90..a45df364f 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/PackageContainerGroup.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/PackageContainerGroup.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/AbstractPackageContainerGroup.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/AbstractPackageContainerGroup.java index 4cc0bfbdb..3535b97fe 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/AbstractPackageContainerGroup.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/AbstractPackageContainerGroup.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/JarContainerImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/JarContainerImpl.java index e285b44dc..7bd893bd7 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/JarContainerImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/JarContainerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/ModuleContainerGroupImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/ModuleContainerGroupImpl.java index 3631efdc6..c7d706bae 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/ModuleContainerGroupImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/ModuleContainerGroupImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/OutputContainerGroupImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/OutputContainerGroupImpl.java index a9141c136..d0ce3f6e1 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/OutputContainerGroupImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/OutputContainerGroupImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PackageContainerGroupImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PackageContainerGroupImpl.java index 93ba0e40b..30a290949 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PackageContainerGroupImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PackageContainerGroupImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PackageContainerGroupUrlClassLoader.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PackageContainerGroupUrlClassLoader.java index 656b38182..725de25b6 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PackageContainerGroupUrlClassLoader.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PackageContainerGroupUrlClassLoader.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PathWrappingContainerImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PathWrappingContainerImpl.java index cd8e1b93b..2da2741f5 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PathWrappingContainerImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/PathWrappingContainerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/package-info.java index f3a70f370..e9f74233a 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/impl/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/package-info.java index 7b09c03db..eb41f9f82 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/containers/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TeeWriter.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TeeWriter.java index 60d372b71..f6a53f3b3 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TeeWriter.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TeeWriter.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TraceDiagnostic.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TraceDiagnostic.java index eff3a3e99..98d447afd 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TraceDiagnostic.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TraceDiagnostic.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TracingDiagnosticListener.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TracingDiagnosticListener.java index 95a1b6fc9..3afa5a636 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TracingDiagnosticListener.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/TracingDiagnosticListener.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/package-info.java index 1a42e3178..bd06e4bdc 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/diagnostics/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctCompilerException.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctCompilerException.java index 36773174d..97632c6df 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctCompilerException.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctCompilerException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctException.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctException.java index 6a3c86cfd..2fb35eca3 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctException.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctJunitConfigurerException.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctJunitConfigurerException.java index 4fde27724..a3db74e14 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctJunitConfigurerException.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/JctJunitConfigurerException.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/package-info.java index 493ca1abf..ba694b2ba 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/ex/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/AnnotationProcessorDiscovery.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/AnnotationProcessorDiscovery.java index 0d158d765..23b4a243d 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/AnnotationProcessorDiscovery.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/AnnotationProcessorDiscovery.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/JctFileManager.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/JctFileManager.java index b6d15866d..0cb23a5ec 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/JctFileManager.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/JctFileManager.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/LoggingFileManagerProxy.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/LoggingFileManagerProxy.java index 6b1741c56..80151e930 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/LoggingFileManagerProxy.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/LoggingFileManagerProxy.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/LoggingMode.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/LoggingMode.java index 75ad23c92..0ed75c780 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/LoggingMode.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/LoggingMode.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/ModuleLocation.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/ModuleLocation.java index c09af0dc0..b394a49eb 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/ModuleLocation.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/ModuleLocation.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/PathFileObject.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/PathFileObject.java index 6c77f4f96..536750496 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/PathFileObject.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/PathFileObject.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/impl/JctFileManagerImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/impl/JctFileManagerImpl.java index 50eb4778f..bc9b1a7f6 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/impl/JctFileManagerImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/impl/JctFileManagerImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/impl/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/impl/package-info.java index 2a11f48cf..d6d272aec 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/impl/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/impl/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/package-info.java index fcb4621ef..df98ebaf9 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/filemanagers/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/AbstractCompilersProvider.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/AbstractCompilersProvider.java index c88119e53..f35a1ba9b 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/AbstractCompilersProvider.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/AbstractCompilersProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/JavacCompilerTest.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/JavacCompilerTest.java index 02a248c9a..5339f673f 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/JavacCompilerTest.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/JavacCompilerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/JavacCompilersProvider.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/JavacCompilersProvider.java index a71ad6c7d..c134ac5e7 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/JavacCompilersProvider.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/JavacCompilersProvider.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/package-info.java index 2f8e0c80e..c590d42aa 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/junit/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/DiagnosticListRepresentation.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/DiagnosticListRepresentation.java index e65f26411..a5b81588b 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/DiagnosticListRepresentation.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/DiagnosticListRepresentation.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/DiagnosticRepresentation.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/DiagnosticRepresentation.java index 31bb3ee81..64fceaa27 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/DiagnosticRepresentation.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/DiagnosticRepresentation.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/LocationRepresentation.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/LocationRepresentation.java index e9e91b327..b282aeb2e 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/LocationRepresentation.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/LocationRepresentation.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/StackTraceRepresentation.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/StackTraceRepresentation.java index e0533525d..1a51fbd91 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/StackTraceRepresentation.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/StackTraceRepresentation.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/package-info.java index 8dacf48c7..f53c84ffa 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/repr/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/FileUtils.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/FileUtils.java index dab6167f3..7e81a3e7b 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/FileUtils.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/FileUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/IoExceptionUtils.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/IoExceptionUtils.java index 03f58b875..8a09372fc 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/IoExceptionUtils.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/IoExceptionUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/IterableUtils.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/IterableUtils.java index 7215e2bf2..5c9fc2d73 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/IterableUtils.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/IterableUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/Lazy.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/Lazy.java index 3fb5d0c93..191affdfa 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/Lazy.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/Lazy.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/ModuleHandle.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/ModuleHandle.java index 1f248d47c..c6bae77d7 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/ModuleHandle.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/ModuleHandle.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/NonNullApi.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/NonNullApi.java index b1f9393fe..4c33864f3 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/NonNullApi.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/NonNullApi.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/NonNullImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/NonNullImpl.java index 4fd55fbc8..a1905ec59 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/NonNullImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/NonNullImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/SpecialLocationUtils.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/SpecialLocationUtils.java index 6df84dc8c..05024f87e 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/SpecialLocationUtils.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/SpecialLocationUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/StringSlicer.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/StringSlicer.java index ab380ba24..8ee318a16 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/StringSlicer.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/StringSlicer.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/StringUtils.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/StringUtils.java index 2665ae88b..a401730ca 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/StringUtils.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/StringUtils.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/ToStringBuilder.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/ToStringBuilder.java index 4209c6201..7bf3ad85c 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/ToStringBuilder.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/ToStringBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/UtilityClass.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/UtilityClass.java index adaae9cd5..aaaf49439 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/UtilityClass.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/UtilityClass.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/package-info.java index 50754173d..97492fc89 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/utils/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/DirectoryBuilder.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/DirectoryBuilder.java index 10a086156..5c0e7e96f 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/DirectoryBuilder.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/DirectoryBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/FileBuilder.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/FileBuilder.java index 46be7e191..28efaea60 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/FileBuilder.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/FileBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/ManagedDirectory.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/ManagedDirectory.java index 778d1e52c..21243e39f 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/ManagedDirectory.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/ManagedDirectory.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/PathRoot.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/PathRoot.java index 41f3bfe45..ec4415030 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/PathRoot.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/PathRoot.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/PathStrategy.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/PathStrategy.java index fa416aafa..d7003b3da 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/PathStrategy.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/PathStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/Workspace.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/Workspace.java index 36ce0081e..fcab81df3 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/Workspace.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/Workspace.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/Workspaces.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/Workspaces.java index e9e903db5..8f30028c1 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/Workspaces.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/Workspaces.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/AbstractManagedDirectory.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/AbstractManagedDirectory.java index a8c1f1e81..3a964c9ac 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/AbstractManagedDirectory.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/AbstractManagedDirectory.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -132,19 +132,14 @@ public ManagedDirectory thatIsEmpty() { } @Override - public boolean equals(@Nullable Object other) { - if (!(other instanceof AbstractManagedDirectory)) { - return false; - } - - var that = (AbstractManagedDirectory) other; - - return name.equals(that.name) && uri.equals(that.uri); + public boolean equals(@Nullable Object that) { + return that instanceof AbstractManagedDirectory + && ((AbstractManagedDirectory) that).uri.equals(uri); } @Override public int hashCode() { - return Objects.hash(name, uri); + return uri.hashCode(); } @Override diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/DirectoryBuilderImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/DirectoryBuilderImpl.java index 3c7ab8bac..1976b9121 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/DirectoryBuilderImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/DirectoryBuilderImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/FileBuilderImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/FileBuilderImpl.java index 174d26ac9..b4693aa03 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/FileBuilderImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/FileBuilderImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/RamDirectoryImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/RamDirectoryImpl.java index e7318ffa8..ff031f7a2 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/RamDirectoryImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/RamDirectoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/TempDirectoryImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/TempDirectoryImpl.java index f332d4a9c..0c71296c6 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/TempDirectoryImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/TempDirectoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/WorkspaceImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/WorkspaceImpl.java index a0855c642..cc2be538b 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/WorkspaceImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/WorkspaceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/WrappingDirectoryImpl.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/WrappingDirectoryImpl.java index 93c3d5699..d3584edc8 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/WrappingDirectoryImpl.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/WrappingDirectoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -107,7 +107,8 @@ public URL getUrl() { @Override public boolean equals(@Nullable Object that) { - return that instanceof PathRoot && ((PathRoot) that).getUri().equals(uri); + return that instanceof WrappingDirectoryImpl + && ((WrappingDirectoryImpl) that).getUri().equals(uri); } @Override diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/package-info.java index 970652aff..36c3dd0d8 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/impl/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/package-info.java b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/package-info.java index 047744585..3727fdc69 100644 --- a/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/package-info.java +++ b/java-compiler-testing/src/main/java/io/github/ascopes/jct/workspaces/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/main/java/module-info.java b/java-compiler-testing/src/main/java/module-info.java index af6fff552..4c95789b8 100644 --- a/java-compiler-testing/src/main/java/module-info.java +++ b/java-compiler-testing/src/main/java/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - /** * A framework for performing exhaustive integration testing against Java compilers in modern Java * libraries, with a focus on full JPMS support. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/DoNotMutationTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/DoNotMutationTest.java index f4aa93669..ad049e7ca 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/DoNotMutationTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/DoNotMutationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/Fixtures.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/Fixtures.java index caf12b93a..420db489a 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/Fixtures.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/Fixtures.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/GenericMock.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/GenericMock.java index f9050ef50..a84267d9a 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/GenericMock.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/GenericMock.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/Slf4jLoggerFake.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/Slf4jLoggerFake.java index eda18784c..168b9b930 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/Slf4jLoggerFake.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/Slf4jLoggerFake.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/UtilityClassTestTemplate.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/UtilityClassTestTemplate.java index 3e002ef98..fb324acb8 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/UtilityClassTestTemplate.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/helpers/UtilityClassTestTemplate.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicLegacyCompilationIntegrationTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicLegacyCompilationIntegrationTest.java index 02de42f9a..7c10f2703 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicLegacyCompilationIntegrationTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicLegacyCompilationIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicModuleCompilationIntegrationTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicModuleCompilationIntegrationTest.java index 1788f6306..2f6a9d8f1 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicModuleCompilationIntegrationTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicModuleCompilationIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicMultiModuleCompilationIntegrationTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicMultiModuleCompilationIntegrationTest.java index 7126c1be9..e343dbed9 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicMultiModuleCompilationIntegrationTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/integration/BasicMultiModuleCompilationIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/AbstractJctCompilerTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/AbstractJctCompilerTest.java index 240c76615..fe0d4a286 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/AbstractJctCompilerTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/AbstractJctCompilerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilationTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilationTest.java index cec699edf..47ee704e7 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilationTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilerTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilerTest.java index 09e18ee6b..2fd8c7d71 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilerTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilersTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilersTest.java index 05ca855ba..261dc62e5 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilersTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/JctCompilersTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/JctCompilationImplTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/JctCompilationImplTest.java index 6397006e5..3425f6e3f 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/JctCompilationImplTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/JctCompilationImplTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/JctJsr199InteropTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/JctJsr199InteropTest.java index 834bc54b5..0439d92a8 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/JctJsr199InteropTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/JctJsr199InteropTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/package-info.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/package-info.java index 8f81d2471..0b2d3fd34 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/package-info.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/impl/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/JavacJctCompilerImplTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/JavacJctCompilerImplTest.java index 17cb48176..3846a7ce3 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/JavacJctCompilerImplTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/JavacJctCompilerImplTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/JavacJctFlagBuilderImplTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/JavacJctFlagBuilderImplTest.java index c1fa01026..c0817fd52 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/JavacJctFlagBuilderImplTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/JavacJctFlagBuilderImplTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/package-info.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/package-info.java index b3700929b..2a34f665e 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/package-info.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/javac/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/package-info.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/package-info.java index 85bd535ba..1c2f7829f 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/package-info.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/compilers/package-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TeeWriterTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TeeWriterTest.java index b9715ee62..bc34ca77b 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TeeWriterTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TeeWriterTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TraceDiagnosticTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TraceDiagnosticTest.java index 31620264c..5efdbf824 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TraceDiagnosticTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TraceDiagnosticTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TracingDiagnosticListenerTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TracingDiagnosticListenerTest.java index c4b85b7a6..903d893d4 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TracingDiagnosticListenerTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/diagnostics/TracingDiagnosticListenerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/ex/JctCompilerExceptionTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/ex/JctCompilerExceptionTest.java index 74a43f249..4be3702ae 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/ex/JctCompilerExceptionTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/ex/JctCompilerExceptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/ex/JctJunitConfigurerExceptionTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/ex/JctJunitConfigurerExceptionTest.java index 451840bdf..a1d621662 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/ex/JctJunitConfigurerExceptionTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/ex/JctJunitConfigurerExceptionTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/junit/AbstractCompilersProviderTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/junit/AbstractCompilersProviderTest.java index ce8b1b77f..755a01bed 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/junit/AbstractCompilersProviderTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/junit/AbstractCompilersProviderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/junit/JavacCompilersProviderTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/junit/JavacCompilersProviderTest.java index b5a2d3ba8..b1856b92d 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/junit/JavacCompilersProviderTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/junit/JavacCompilersProviderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/DiagnosticListRepresentationTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/DiagnosticListRepresentationTest.java index 4b195788e..d515f4d64 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/DiagnosticListRepresentationTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/DiagnosticListRepresentationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/DiagnosticRepresentationTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/DiagnosticRepresentationTest.java index a7757bb81..e8b1840a0 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/DiagnosticRepresentationTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/DiagnosticRepresentationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/LocationRepresentationTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/LocationRepresentationTest.java index a2a1583b3..e1bab2893 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/LocationRepresentationTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/LocationRepresentationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/StackTraceRepresentationTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/StackTraceRepresentationTest.java index 7d696f2ad..893dc53d7 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/StackTraceRepresentationTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/repr/StackTraceRepresentationTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/FileUtilsTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/FileUtilsTest.java index fd1e7906f..fba0282dd 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/FileUtilsTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/FileUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/IoExceptionUtilsTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/IoExceptionUtilsTest.java index 977231087..5c36f5c05 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/IoExceptionUtilsTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/IoExceptionUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/IterableUtilsTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/IterableUtilsTest.java index c66365895..8241c2c9b 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/IterableUtilsTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/IterableUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/LazyTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/LazyTest.java index d2c2bcf56..893c517a8 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/LazyTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/LazyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/ModuleHandleTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/ModuleHandleTest.java index daa1c163e..7a99b6981 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/ModuleHandleTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/ModuleHandleTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/SpecialLocationsUtilsTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/SpecialLocationsUtilsTest.java index 9be8024d9..72c7fda14 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/SpecialLocationsUtilsTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/SpecialLocationsUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/StringSlicerTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/StringSlicerTest.java index 55df63f42..e112b7b12 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/StringSlicerTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/StringSlicerTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/StringUtilsTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/StringUtilsTest.java index c08a085c8..35f44e646 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/StringUtilsTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/StringUtilsTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/ToStringBuilderTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/ToStringBuilderTest.java index b043d12b6..6918b607a 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/ToStringBuilderTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/utils/ToStringBuilderTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/ManagedDirectoryTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/ManagedDirectoryTest.java index 4ecdecb5a..ad873a17a 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/ManagedDirectoryTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/ManagedDirectoryTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/PathStrategyTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/PathStrategyTest.java index 077ac3ae7..593724501 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/PathStrategyTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/PathStrategyTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/WorkspaceTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/WorkspaceTest.java index c3a7cf2d9..0cd7fa365 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/WorkspaceTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/WorkspaceTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/WorkspacesTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/WorkspacesTest.java index 096d42ba4..0d003341b 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/WorkspacesTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/WorkspacesTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/impl/WrappingDirectoryImplTest.java b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/impl/WrappingDirectoryImplTest.java index d6ad9ab6f..d87f13278 100644 --- a/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/impl/WrappingDirectoryImplTest.java +++ b/java-compiler-testing/src/test/java/io/github/ascopes/jct/tests/unit/workspaces/impl/WrappingDirectoryImplTest.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -16,11 +16,9 @@ package io.github.ascopes.jct.tests.unit.workspaces.impl; import static io.github.ascopes.jct.tests.helpers.Fixtures.somePath; -import static io.github.ascopes.jct.tests.helpers.Fixtures.somePathRoot; import static io.github.ascopes.jct.utils.FileUtils.retrieveRequiredUrl; import static org.assertj.core.api.Assertions.assertThat; import static org.assertj.core.api.Assertions.assertThatThrownBy; -import static org.assertj.core.api.InstanceOfAssertFactories.list; import static org.assertj.core.api.SoftAssertions.assertSoftly; import static org.junit.jupiter.params.provider.Arguments.arguments; import static org.mockito.Mockito.mock; @@ -151,6 +149,7 @@ void nullPartsAreDisallowedForInstancesWithParents() { @DisplayName("WrappingDirectoryImpl#equals tests") @Nested class EqualsTest { + WrappingDirectoryImpl wrappingDirectory; @BeforeEach diff --git a/java-compiler-testing/src/test/java/module-info.java b/java-compiler-testing/src/test/java/module-info.java index 3b51aa96a..162cd8017 100644 --- a/java-compiler-testing/src/test/java/module-info.java +++ b/java-compiler-testing/src/test/java/module-info.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2022 - 2022 Ashley Scopes + * Copyright (C) 2022 - 2023 Ashley Scopes * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/pom.xml b/pom.xml index c98b6ed28..b2eba15eb 100644 --- a/pom.xml +++ b/pom.xml @@ -1,4 +1,21 @@ + @@ -110,7 +127,7 @@ 11 - 2022 + 2023 ascopes/java-compiler-testing @@ -563,11 +580,19 @@
.mvn/license/license-header.txt
+ SLASHSTAR_STYLE SLASHSTAR_STYLE + SCRIPT_STYLE - src/**/*.java + **.toml + **.yml + **.yaml + pom.xml + security-suppressions.xml src/**/*.groovy + src/**/*.java + scripts/**/*.sh ${current-year} @@ -592,7 +617,7 @@ org.apache.maven.plugins maven-checkstyle-plugin ${maven-checkstyle-plugin.version} - true + false diff --git a/scripts/common.sh b/scripts/common.sh new file mode 100644 index 000000000..8bc707067 --- /dev/null +++ b/scripts/common.sh @@ -0,0 +1,47 @@ +# +# Copyright (C) 2022 - 2023 Ashley Scopes +# +# 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. +# + +### +### Common functions. +### + +unset undefined > /dev/null 2>&1 || true + +function log() { + printf "\033[3;37m$(date "+%H:%M:%S.%3N") \033[0;37m| \033[0;1;${1}m%s:\033[0;${1}m %s\033[0m\n" \ + "${2}" "${3}" >&2 +} + +function err() { log 31 ERROR "${@}"; } +function success() { log 32 SUCCESS "${@}"; } +function warn() { log 33 WARNING "${@}"; } +function info() { log 35 INFO "${@}"; } + +function in-path() { + command -v "${1}" > /dev/null 2>&1 + return "${?}" +} + +function run() { + # Run in subshell to enable correct argument requoting. + /usr/bin/env bash \ + 1> >(while IFS=$"\r\n" read -r line; do log 36 "STDOUT" "${line}"; done) \ + 2> >(while IFS=$"\r\n" read -r line; do log 37 "STDERR" "${line}"; done) \ + <<< "PS4=$'Running: \e[1;33m$ \e[0;3;33m'; set -euxo pipefail; ${@}" + + # Wait for stdout and stderr to flush for ~10ms + sleep 0.01 +} diff --git a/scripts/prepare-test-outputs-for-merge.sh b/scripts/prepare-test-outputs-for-merge.sh index 3d607ba43..d8081c3ba 100755 --- a/scripts/prepare-test-outputs-for-merge.sh +++ b/scripts/prepare-test-outputs-for-merge.sh @@ -1,19 +1,19 @@ #!/usr/bin/env bash -### -### Copyright (C) 2022 Ashley Scopes -### -### Licensed under the Apache License, Version 2.0 (the "License"); -### you may not use this desired_jacoco_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. -### +# +# Copyright (C) 2022 - 2023 Ashley Scopes +# +# 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. +# ### ### Script to run in CI to prefix any Surefire report and test case names with the Java version @@ -21,30 +21,15 @@ ### set -o errexit -set -o noclobber set -o nounset set -o pipefail -unset undefined > /dev/null 2>&1 || true +source "$(dirname "${BASH_SOURCE[0]}")/common.sh" + ci_java_version="${1?Pass the Java version as the first argument to this script!}" ci_os="${2?Pass the OS name as the second argument to this script!}" -function log { - printf "\033[1;${1}m%s:\033[0;${1}m %s\033[0m\n" "${2}" "${3}" >&2 -} - -function err { log 31 ERROR "${@}"; } -function success { log 32 SUCCESS "${@}"; } -function warn { log 33 WARNING "${@}"; } -function info { log 34 INFO "${@}"; } -function stage { log 35 STAGE "${@}"; } - -function in-path { - command -v "${1}" > /dev/null 2>&1 - return "${?}" -} - -stage "Looking for xsltproc binary..." +info "Looking for xsltproc binary..." # If we don't have xsltproc installed, try to resolve it first. # If we are in CI, always attempt to install it so we ensure that it @@ -53,38 +38,34 @@ if [[ -z ${CI+undefined} ]] && in-path xsltproc; then info "xsltproc appears to be installed, and this is not a CI run" elif [[ "${OSTYPE}" = "darwin"* ]] && in-path brew; then info "Installing xsltproc from homebrew" - brew install libxslt + run "brew install libxslt" info "Giving the brew xsltproc binary precedence over the default MacOS one..." export PATH="/usr/local/opt/libxslt/bin:${PATH}" elif [[ "${OSTYPE}" =~ /win.*|mingw|msys|cygwin/ ]] && in-path choco; then info "Installing xsltproc from choco" - choco install xsltproc + run "choco install xsltproc" elif [[ "${OSTYPE}" = "linux"* ]] && in-path apt-get; then info "Installing xsltproc using apt-get" - sudo apt-get install -qy xsltproc + run "sudo apt-get install -qy xsltproc" elif [[ "${OSTYPE}" = "linux"* ]] && in-path dnf; then info "Installing xsltproc using dnf" - sudo dnf install -qy xsltproc + run "sudo dnf install -qy xsltproc" elif [[ "${OSTYPE}" = "linux"* ]] && in-path yum; then info "Installing xsltproc using yum" - sudo yum install -qy xsltproc + run "sudo yum install -qy xsltproc" else err "Cannot find xsltproc, nor can I find a suitable package manager to install it with." err "Please install xsltproc manually and then try again." exit 2 fi -success "Found $(command -v xsltproc) $(xsltproc --version 2>/dev/null || true)" +success "Found $(command -v xsltproc)" +run "xsltproc --version" -stage "Generating Surefire XSLT script..." +info "Generating Surefire XSLT script..." surefire_prefix_xslt_dir="$(mktemp -d)" -function tidy-up { - info "Destroying ${surefire_prefix_xslt_dir}" - rm -Rf "${surefire_prefix_xslt_dir}" -} - -trap tidy-up EXIT SIGINT SIGTERM SIGQUIT +trap 'run rm -Rf "${surefire_prefix_xslt_dir}"' EXIT SIGINT SIGTERM SIGQUIT surefire_prefix_xslt="${surefire_prefix_xslt_dir}/surefire.xslt" sed 's/^ //g' > "${surefire_prefix_xslt}" <<'EOF' @@ -134,21 +115,24 @@ function find-all-jacoco-reports { fi } -stage "Updating test reports..." -for surefire_report in $(find-all-surefire-reports) $(find-all-failsafe-reports); do - info "Adding Java version to test case names in ${surefire_report}..." - new_surefire_report=${surefire_report/.xml/-java-${ci_java_version}-${ci_os}.xml} - xsltproc --stringparam prefix "[Java-${ci_java_version}-${ci_os}]" \ - "${surefire_prefix_xslt}" "${surefire_report}" >"${new_surefire_report}" - info "Replacing ${surefire_report} with ${new_surefire_report}" - rm "${surefire_report}" +info "Updating test reports..." +report_count=0 +for report in $(find-all-surefire-reports) $(find-all-failsafe-reports); do + let report_count=report_count+1 + new_report=${report/.xml/-java-${ci_java_version}-${ci_os}.xml} + prefix="[Java-${ci_java_version}-${ci_os}]" + run "xsltproc --stringparam prefix '${prefix}' '${surefire_prefix_xslt}' '${report}' > '${new_report}'" + run "rm '${report}'" done +success "Updated ${report_count} test reports" -stage "Updating JaCoCo reports..." +info "Updating coverage reports..." +jacoco_count=0 for jacoco_report in $(find-all-jacoco-reports); do + let jacoco_count=jacoco_count+1 new_jacoco_report="${jacoco_report/.xml/-java-${ci_java_version}-${ci_os}.xml}" - info "Renaming ${jacoco_report} to ${new_jacoco_report}" - mv "${jacoco_report}" "${new_jacoco_report}" + run "mv '${jacoco_report}' '${new_jacoco_report}'" done +success "Updated ${jacoco_count} coverage reports" -success "Processing completed. Goodbye!" +success "Processing completed." diff --git a/scripts/update-licenses.sh b/scripts/update-licenses.sh new file mode 100755 index 000000000..c209f0bdb --- /dev/null +++ b/scripts/update-licenses.sh @@ -0,0 +1,57 @@ +#!/usr/bin/env bash +# +# Copyright (C) 2022 - 2023 Ashley Scopes +# +# 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. +# + +### +### Reapplies the license headers globally. +### + +set -o errexit +set -o nounset +set -o pipefail + +source "$(dirname "${BASH_SOURCE[0]}")/common.sh" + +if [ "$#" -gt 0 ] && ("${1}" = "--help" ] || [ "${1}" = "-h" ]); then + echo "USAGE: ${0} [-h | --help] [--debug]" + echo "Reapply license headers across this repository." + echo "" + echo " -h | --help Show this message and exit." + echo " --debug Show verbose Maven output." + echo + exit 0 +fi + +cd "$(dirname "${BASH_SOURCE[0]}")/.." + +mvn_flags=(-B -e) + +if [ "$#" -gt 0 ] && [ "${1}" = "--debug" ]; then + mvn_flags+=(-x) +else + mvn_flags+=() +fi + +info "Cleaning workspace..." +run "./mvnw --quiet ${mvn_flags[@]} clean" + +info "Reapplying licenses across workspace..." +run "./mvnw ${mvn_flags[@]} license:remove license:format" + +info "Running verification (skipping tests)" +run "./mvnw ${mvn_flags[@]} verify -DskipTests" + +success "Completed!" diff --git a/security-suppressions.xml b/security-suppressions.xml index 06f45d44d..21f352481 100644 --- a/security-suppressions.xml +++ b/security-suppressions.xml @@ -1,4 +1,21 @@ +