From 2fab504c019be153afe4ed84404121aac82ed6f1 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 17 May 2024 11:51:48 +0200 Subject: [PATCH 001/108] Prepare next development iteration. See #3079 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 3bdb0db09f..e89464f90c 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.0</version> + <version>3.3.1-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 3bc2621e1d869e94ed7cfe6d15e8e7f14c25d1dd Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 17 May 2024 11:51:49 +0200 Subject: [PATCH 002/108] After release cleanups. See #3079 --- Jenkinsfile | 2 +- pom.xml | 18 +++++++++++++++--- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 3805dd0584..279f6d5294 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,7 +9,7 @@ pipeline { triggers { pollSCM 'H/10 * * * *' - upstream(upstreamProjects: "spring-data-build/main", threshold: hudson.model.Result.SUCCESS) + upstream(upstreamProjects: "spring-data-build/3.3.x", threshold: hudson.model.Result.SUCCESS) } options { diff --git a/pom.xml b/pom.xml index e89464f90c..47a9e12302 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.0</version> + <version>3.3.1-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From d748e866d099663d702cdf2868c451a02b2e0cd7 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm <oliver.drotbohm@broadcom.com> Date: Thu, 30 May 2024 23:34:43 +0200 Subject: [PATCH 003/108] Use legacy page serialization mode if no SpringDataWebSettings are present. Fixes GH-3101. --- .../SpringDataJacksonConfiguration.java | 6 +-- ...ringDataJacksonConfigurationUnitTests.java | 42 +++++++++++++++++++ 2 files changed, 44 insertions(+), 4 deletions(-) create mode 100644 src/test/java/org/springframework/data/web/config/SpringDataJacksonConfigurationUnitTests.java diff --git a/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java b/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java index 131357db59..4d87e14c2e 100644 --- a/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java +++ b/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java @@ -17,7 +17,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; - import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Bean; import org.springframework.data.domain.Page; @@ -40,8 +39,7 @@ */ public class SpringDataJacksonConfiguration implements SpringDataJacksonModules { - @Nullable - @Autowired(required = false) SpringDataWebSettings settings; + @Nullable @Autowired(required = false) SpringDataWebSettings settings; @Bean public GeoModule jacksonGeoModule() { @@ -84,7 +82,7 @@ public PageModule(@Nullable SpringDataWebSettings settings) { addSerializer(UNPAGED_TYPE, new UnpagedAsInstanceSerializer()); - if (settings != null && settings.pageSerializationMode() == PageSerializationMode.DIRECT) { + if (settings == null || settings.pageSerializationMode() == PageSerializationMode.DIRECT) { setMixInAnnotation(PageImpl.class, WarningMixing.class); } else { setMixInAnnotation(PageImpl.class, WrappingMixing.class); diff --git a/src/test/java/org/springframework/data/web/config/SpringDataJacksonConfigurationUnitTests.java b/src/test/java/org/springframework/data/web/config/SpringDataJacksonConfigurationUnitTests.java new file mode 100644 index 0000000000..386c63c888 --- /dev/null +++ b/src/test/java/org/springframework/data/web/config/SpringDataJacksonConfigurationUnitTests.java @@ -0,0 +1,42 @@ +/* + * Copyright 2024 the original author or authors. + * + * 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 + * + * https://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. + */ +package org.springframework.data.web.config; + +import static org.assertj.core.api.Assertions.*; + +import org.junit.jupiter.api.Test; +import org.springframework.data.domain.PageImpl; +import org.springframework.data.web.config.SpringDataJacksonConfiguration.PageModule; +import org.springframework.data.web.config.SpringDataJacksonConfiguration.PageModule.WarningMixing; + +import com.fasterxml.jackson.databind.ObjectMapper; + +/** + * Unit tests for {@link SpringDataJacksonConfiguration}. + * + * @author Oliver Drotbohm + */ +class SpringDataJacksonConfigurationUnitTests { + + @Test // GH-3101 + void usesDirectRenderingIfNoSpringDataWebSettingsArePresent() { + + ObjectMapper mapper = new ObjectMapper(); + mapper.registerModule(new PageModule(null)); + + assertThat(mapper.getSerializationConfig().findMixInClassFor(PageImpl.class)).isEqualTo(WarningMixing.class); + } +} From 146b352f64bef42fc584e3ad3fcddce963f7d87b Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Mon, 10 Jun 2024 14:58:07 +0200 Subject: [PATCH 004/108] Populate DTO projection properties that are considered associations. We now populate DTO properties whose are identified as associations. While uncommon, as typically entities declare assocations using entities, associations can be identified as types and so these are now considered when populating properties. Closes #3104 --- .../convert/DtoInstantiatingConverter.java | 9 ++- .../DtoInstantiatingConverterUnitTests.java | 73 +++++++++++++++++++ 2 files changed, 80 insertions(+), 2 deletions(-) create mode 100644 src/test/java/org/springframework/data/convert/DtoInstantiatingConverterUnitTests.java diff --git a/src/main/java/org/springframework/data/convert/DtoInstantiatingConverter.java b/src/main/java/org/springframework/data/convert/DtoInstantiatingConverter.java index 5d7fb1171f..103d36c18c 100644 --- a/src/main/java/org/springframework/data/convert/DtoInstantiatingConverter.java +++ b/src/main/java/org/springframework/data/convert/DtoInstantiatingConverter.java @@ -21,6 +21,7 @@ import org.springframework.data.mapping.PersistentEntity; import org.springframework.data.mapping.PersistentProperty; import org.springframework.data.mapping.PersistentPropertyAccessor; +import org.springframework.data.mapping.SimpleAssociationHandler; import org.springframework.data.mapping.SimplePropertyHandler; import org.springframework.data.mapping.context.MappingContext; import org.springframework.data.mapping.model.EntityInstantiator; @@ -96,7 +97,7 @@ public Object getParameterValue(Parameter parameter) { PersistentPropertyAccessor<Object> targetAccessor = targetEntity.getPropertyAccessor(dto); InstanceCreatorMetadata<? extends PersistentProperty<?>> creator = targetEntity.getInstanceCreatorMetadata(); - targetEntity.doWithProperties((SimplePropertyHandler) property -> { + SimplePropertyHandler simplePropertyHandler = property -> { if ((creator != null) && creator.isCreatorParameter(property)) { return; @@ -104,7 +105,11 @@ public Object getParameterValue(Parameter parameter) { targetAccessor.setProperty(property, sourceAccessor.getProperty(sourceEntity.getRequiredPersistentProperty(property.getName()))); - }); + }; + + targetEntity.doWithProperties(simplePropertyHandler); + targetEntity.doWithAssociations( + (SimpleAssociationHandler) property -> simplePropertyHandler.doWithPersistentProperty(property.getInverse())); return dto; } diff --git a/src/test/java/org/springframework/data/convert/DtoInstantiatingConverterUnitTests.java b/src/test/java/org/springframework/data/convert/DtoInstantiatingConverterUnitTests.java new file mode 100644 index 0000000000..7b919af30b --- /dev/null +++ b/src/test/java/org/springframework/data/convert/DtoInstantiatingConverterUnitTests.java @@ -0,0 +1,73 @@ +/* + * Copyright 2024 the original author or authors. + * + * 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 + * + * https://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. + */ +package org.springframework.data.convert; + +import static org.assertj.core.api.Assertions.*; + +import org.junit.jupiter.api.Test; + +import org.springframework.data.annotation.Reference; +import org.springframework.data.mapping.context.SampleMappingContext; +import org.springframework.data.mapping.model.EntityInstantiators; + +/** + * Unit tests for {@link DtoInstantiatingConverter}. + * + * @author Mark Paluch + */ +class DtoInstantiatingConverterUnitTests { + + @Test // GH- 3104 + void dtoProjectionShouldConsiderPropertiesAndAssociations() { + + TheOtherThing ref = new TheOtherThing(); + MyAssociativeEntity entity = new MyAssociativeEntity("1", ref, "foo"); + DtoInstantiatingConverter converter = new DtoInstantiatingConverter(DtoProjection.class, new SampleMappingContext(), + new EntityInstantiators()); + + DtoProjection projection = (DtoProjection) converter.convert(entity); + + assertThat(projection.id).isEqualTo("1"); + assertThat(projection.ref).isSameAs(ref); + } + + static class MyAssociativeEntity { + + String id; + + @Reference TheOtherThing ref; + + String somethingElse; + + public MyAssociativeEntity(String id, TheOtherThing ref, String somethingElse) { + this.id = id; + this.ref = ref; + this.somethingElse = somethingElse; + } + } + + static class DtoProjection { + + String id; + + @Reference TheOtherThing ref; + } + + static class TheOtherThing { + String id; + } + +} From 23439bf9c4ad9f031c80385852aebc4caaff52a9 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Jun 2024 10:45:23 +0200 Subject: [PATCH 005/108] Prepare 3.3.1 (2024.0.1). See #3097 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 47a9e12302..621faa5be9 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.1-SNAPSHOT</version> + <version>3.3.1</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index 9a6913d035..e99188b2cb 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3 GA (2024.0.0) +Spring Data Commons 3.3.1 (2024.0.1) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -53,5 +53,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From de8fbe97254bea731cf6f45fbcaa2b88ce237422 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Jun 2024 10:45:40 +0200 Subject: [PATCH 006/108] Release version 3.3.1 (2024.0.1). See #3097 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 621faa5be9..6e738f0e8a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.1-SNAPSHOT</version> + <version>3.3.1</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From f19fd9e1a65bdb64ee521041794a4de5fc729f52 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Jun 2024 10:47:58 +0200 Subject: [PATCH 007/108] Prepare next development iteration. See #3097 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6e738f0e8a..16945ef0ee 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.1</version> + <version>3.3.2-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 4f5b6dcb7af8d92a1f2b3102a0553e43bb63bce6 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Jun 2024 10:47:59 +0200 Subject: [PATCH 008/108] After release cleanups. See #3097 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 16945ef0ee..703c5345d0 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.1</version> + <version>3.3.2-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From 82e810423c1729f38afde3966eee63723bc647ff Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 18 Jun 2024 11:33:03 +0200 Subject: [PATCH 009/108] Ignore getters for Kotlin types deviating from Java Beans spec. We now ignore Kotlin getters that are either static methods or would require additional arguments. Closes #3109 --- .../data/util/KotlinBeanInfoFactory.java | 5 +++++ .../data/util/InlineClassWithProperty.kt | 21 +++++++++++++++++++ .../util/KotlinBeanInfoFactoryUnitTests.kt | 8 +++++++ 3 files changed, 34 insertions(+) create mode 100644 src/test/kotlin/org/springframework/data/util/InlineClassWithProperty.kt diff --git a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java index eab80c9bc7..c6350647d8 100644 --- a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java +++ b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java @@ -28,6 +28,7 @@ import java.beans.PropertyDescriptor; import java.beans.SimpleBeanInfo; import java.lang.reflect.Method; +import java.lang.reflect.Modifier; import java.util.Arrays; import java.util.LinkedHashSet; import java.util.Set; @@ -68,6 +69,10 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { Method getter = ReflectJvmMapping.getJavaGetter(property); Method setter = property instanceof KMutableProperty<?> kmp ? ReflectJvmMapping.getJavaSetter(kmp) : null; + if (getter != null && (Modifier.isStatic(getter.getModifiers()) || getter.getParameterCount() != 0)) { + continue; + } + if (getter != null && setter != null && setter.getParameterCount() == 1) { if (!getter.getReturnType().equals(setter.getParameters()[0].getType())) { // filter asymmetric getters/setters from being considered a Java Beans property diff --git a/src/test/kotlin/org/springframework/data/util/InlineClassWithProperty.kt b/src/test/kotlin/org/springframework/data/util/InlineClassWithProperty.kt new file mode 100644 index 0000000000..96af7b9870 --- /dev/null +++ b/src/test/kotlin/org/springframework/data/util/InlineClassWithProperty.kt @@ -0,0 +1,21 @@ +/* + * Copyright 2024 the original author or authors. + * + * 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 + * + * https://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. + */ +package org.springframework.data.util + +@JvmInline +value class InlineClassWithProperty(val value: String) { + val foo: String get() = "foo-$value" +} diff --git a/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt index 659f3a300a..ada3014b61 100644 --- a/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt @@ -48,6 +48,14 @@ class KotlinBeanInfoFactoryUnitTests { } } + @Test // GH-3109 + internal fun considersJavaBeansGettersOnly() { + + val pds = BeanUtils.getPropertyDescriptors(InlineClassWithProperty::class.java) + + assertThat(pds).hasSize(1).extracting("name").contains("value") + } + @Test internal fun determinesInlineClassConsumerProperties() { From 0e88cc34f43f9ac9e34821f3cff589846237b5d8 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 18 Jun 2024 11:38:17 +0200 Subject: [PATCH 010/108] Polishing. Fix snapshot repository URL. See #3097 --- README.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.adoc b/README.adoc index b71547ad91..1e51dd2c10 100644 --- a/README.adoc +++ b/README.adoc @@ -42,9 +42,9 @@ If you'd rather like the latest snapshots of the upcoming major version, use our </dependency> <repository> - <id>spring-libs-snapshot</id> + <id>spring-snapshot</id> <name>Spring Snapshot Repository</name> - <url>https://repo.spring.io/libs-snapshot</url> + <url>https://repo.spring.io/snapshot</url> </repository> ---- From 7f1bf08a0eee7e0e683d685e8423265f54d118ee Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 20 Jun 2024 13:52:33 +0200 Subject: [PATCH 011/108] Switch to Broadcom docker proxy. Closes #3110 --- Jenkinsfile | 56 +++++++++++++++++++++++------------------- ci/pipeline.properties | 7 ++++-- 2 files changed, 36 insertions(+), 27 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 279f6d5294..c79cc6bbc3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,12 +37,14 @@ pipeline { } steps { script { - docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { - sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + - "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + - "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + - "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + - "./mvnw -s settings.xml clean dependency:list verify -Dsort -B -U" + docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { + docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { + sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + + "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + + "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + + "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + + "./mvnw -s settings.xml clean dependency:list verify -Dsort -B -U" + } } } } @@ -69,12 +71,14 @@ pipeline { } steps { script { - docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.basic']) { - sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + - "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + - "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + - "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + - "./mvnw -s settings.xml clean dependency:list verify -Dsort -B" + docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { + docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.basic']) { + sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + + "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + + "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + + "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + + "./mvnw -s settings.xml clean dependency:list verify -Dsort -B" + } } } } @@ -103,19 +107,21 @@ pipeline { steps { script { - docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { - sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + - "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + - "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + - "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + - "./mvnw -s settings.xml -Pci,artifactory " + - "-Dartifactory.server=${p['artifactory.url']} " + - "-Dartifactory.username=${ARTIFACTORY_USR} " + - "-Dartifactory.password=${ARTIFACTORY_PSW} " + - "-Dartifactory.staging-repository=${p['artifactory.repository.snapshot']} " + - "-Dartifactory.build-name=spring-data-commons " + - "-Dartifactory.build-number=spring-data-commons-${BRANCH_NAME}-build-${BUILD_NUMBER} " + - "-Dmaven.test.skip=true clean deploy -U -B" + docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { + docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { + sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + + "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + + "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + + "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + + "./mvnw -s settings.xml -Pci,artifactory " + + "-Dartifactory.server=${p['artifactory.url']} " + + "-Dartifactory.username=${ARTIFACTORY_USR} " + + "-Dartifactory.password=${ARTIFACTORY_PSW} " + + "-Dartifactory.staging-repository=${p['artifactory.repository.snapshot']} " + + "-Dartifactory.build-name=spring-data-commons " + + "-Dartifactory.build-number=spring-data-commons-${BRANCH_NAME}-build-${BUILD_NUMBER} " + + "-Dmaven.test.skip=true clean deploy -U -B" + } } } } diff --git a/ci/pipeline.properties b/ci/pipeline.properties index 60057f2659..824563a219 100644 --- a/ci/pipeline.properties +++ b/ci/pipeline.properties @@ -3,8 +3,8 @@ java.main.tag=17.0.9_9-jdk-focal java.next.tag=21.0.1_12-jdk-jammy # Docker container images - standard -docker.java.main.image=harbor-repo.vmware.com/dockerhub-proxy-cache/library/eclipse-temurin:${java.main.tag} -docker.java.next.image=harbor-repo.vmware.com/dockerhub-proxy-cache/library/eclipse-temurin:${java.next.tag} +docker.java.main.image=library/eclipse-temurin:${java.main.tag} +docker.java.next.image=library/eclipse-temurin:${java.next.tag} # Supported versions of MongoDB docker.mongodb.4.4.version=4.4.25 @@ -14,6 +14,7 @@ docker.mongodb.7.0.version=7.0.2 # Supported versions of Redis docker.redis.6.version=6.2.13 +docker.redis.7.version=7.2.4 # Supported versions of Cassandra docker.cassandra.3.version=3.11.16 @@ -25,6 +26,8 @@ docker.java.inside.docker=-u root -v /var/run/docker.sock:/var/run/docker.sock - # Credentials docker.registry= docker.credentials=hub.docker.com-springbuildmaster +docker.proxy.registry=https://docker-hub.usw1.packages.broadcom.com +docker.proxy.credentials=usw1_packages_broadcom_com-jenkins-token artifactory.credentials=02bd1690-b54f-4c9f-819d-a77cb7a9822c artifactory.url=https://repo.spring.io artifactory.repository.snapshot=libs-snapshot-local From 8f08d60576c38e836bec2d34d8d9b0ce99e0edeb Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 20 Jun 2024 13:52:45 +0200 Subject: [PATCH 012/108] Remove Slack notification. See #3110 --- Jenkinsfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index c79cc6bbc3..46d1237755 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -131,10 +131,6 @@ pipeline { post { changed { script { - slackSend( - color: (currentBuild.currentResult == 'SUCCESS') ? 'good' : 'danger', - channel: '#spring-data-dev', - message: "${currentBuild.fullDisplayName} - `${currentBuild.currentResult}`\n${env.BUILD_URL}") emailext( subject: "[${currentBuild.fullDisplayName}] ${currentBuild.currentResult}", mimeType: 'text/html', From 05dcd72904226d28b9407b63b987abb67f17b1ac Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Mon, 24 Jun 2024 11:41:46 +0200 Subject: [PATCH 013/108] Filter delegated properties for Kotlin data classes. We now filter delegated properties (such as lazy) from being managed as persistent properties. Closes #3112 --- .../modules/ROOT/pages/object-mapping.adoc | 5 +- .../context/AbstractMappingContext.java | 60 ++++++++++++++++++- .../AbstractMappingContextUnitTests.java | 12 ++++ .../data/mapping/model/DataClasses.kt | 7 +++ 4 files changed, 81 insertions(+), 3 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/object-mapping.adoc b/src/main/antora/modules/ROOT/pages/object-mapping.adoc index fad8b4cca7..380966c536 100644 --- a/src/main/antora/modules/ROOT/pages/object-mapping.adoc +++ b/src/main/antora/modules/ROOT/pages/object-mapping.adoc @@ -314,7 +314,7 @@ Consider the following `data` class `Person`: data class Person(val id: String, val name: String) ---- -The class above compiles to a typical class with an explicit constructor.We can customize this class by adding another constructor and annotate it with `@PersistenceCreator` to indicate a constructor preference: +The class above compiles to a typical class with an explicit constructor. We can customize this class by adding another constructor and annotate it with `@PersistenceCreator` to indicate a constructor preference: [source,kotlin] ---- @@ -335,6 +335,9 @@ data class Person(var id: String, val name: String = "unknown") Every time the `name` parameter is either not part of the result or its value is `null`, then the `name` defaults to `unknown`. +NOTE: Delegated properties are not supported with Spring Data. The mapping metadata filters delegated properties for Kotlin Data classes. +In all other cases you can exclude synthetic fields for delegated properties by annotating the property with `@delegate:org.springframework.data.annotation.Transient`. + [[property-population-of-kotlin-data-classes]] === Property population of Kotlin data classes diff --git a/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java b/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java index d6f2a2b6d4..71c7d2020d 100644 --- a/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java +++ b/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java @@ -770,6 +770,7 @@ static enum PersistentPropertyFilter implements FieldFilter { matches.add(new PropertyMatch("class", null)); matches.add(new PropertyMatch("this\\$.*", null)); matches.add(new PropertyMatch("metaClass", "groovy.lang.MetaClass")); + matches.add(new KotlinDataClassPropertyMatch(".*\\$delegate", null)); UNMAPPED_PROPERTIES = Streamable.of(matches); } @@ -782,7 +783,7 @@ public boolean matches(Field field) { } return UNMAPPED_PROPERTIES.stream()// - .noneMatch(it -> it.matches(field.getName(), field.getType())); + .noneMatch(it -> it.matches(field)); } /** @@ -800,7 +801,7 @@ public boolean matches(Property property) { } return UNMAPPED_PROPERTIES.stream()// - .noneMatch(it -> it.matches(property.getName(), property.getType())); + .noneMatch(it -> it.matches(property)); } /** @@ -832,6 +833,26 @@ public PropertyMatch(@Nullable String namePattern, @Nullable String typeName) { /** * Returns whether the given {@link Field} matches the defined {@link PropertyMatch}. * + * @param field must not be {@literal null}. + * @return + */ + public boolean matches(Field field) { + return matches(field.getName(), field.getType()); + } + + /** + * Returns whether the given {@link Property} matches the defined {@link PropertyMatch}. + * + * @param property must not be {@literal null}. + * @return + */ + public boolean matches(Property property) { + return matches(property.getName(), property.getType()); + } + + /** + * Returns whether the given field name and type matches the defined {@link PropertyMatch}. + * * @param name must not be {@literal null}. * @param type must not be {@literal null}. * @return @@ -852,6 +873,41 @@ public boolean matches(String name, Class<?> type) { return true; } } + + /** + * Value object extension to {@link PropertyMatch} that matches for fields only for Kotlin data classes. + * + * @author Mark Paluch + * @since 3.3.2 + */ + static class KotlinDataClassPropertyMatch extends PropertyMatch { + + public KotlinDataClassPropertyMatch(@Nullable String namePattern, @Nullable String typeName) { + super(namePattern, typeName); + } + + @Override + public boolean matches(Field field) { + + if (!KotlinReflectionUtils.isDataClass(field.getDeclaringClass())) { + return false; + } + + return super.matches(field); + } + + @Override + public boolean matches(Property property) { + + Field field = property.getField().orElse(null); + + if (field == null || !KotlinReflectionUtils.isDataClass(field.getDeclaringClass())) { + return false; + } + + return super.matches(property); + } + } } } diff --git a/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextUnitTests.java b/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextUnitTests.java index 9395ef92cc..15fbd2c0dc 100755 --- a/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextUnitTests.java @@ -39,7 +39,9 @@ import org.springframework.data.mapping.ShadowedPropertyTypeWithCtor; import org.springframework.data.mapping.ShadowingPropertyType; import org.springframework.data.mapping.ShadowingPropertyTypeWithCtor; +import org.springframework.data.mapping.model.AbstractPersistentProperty; import org.springframework.data.mapping.model.BasicPersistentEntity; +import org.springframework.data.mapping.model.DataClassWithLazy; import org.springframework.data.mapping.model.SimpleTypeHolder; import org.springframework.data.util.StreamUtils; import org.springframework.data.util.Streamable; @@ -179,6 +181,16 @@ void shouldCreateEntityForKotlinDataClass() { assertThat(context.getPersistentEntity(SimpleDataClass.class)).isNotNull(); } + @Test // GH-3112 + void shouldIgnoreLazyFieldsForDataClasses() { + + BasicPersistentEntity<Object, SamplePersistentProperty> entity = context + .getRequiredPersistentEntity(DataClassWithLazy.class); + + List<String> propertyNames = Streamable.of(entity).map(AbstractPersistentProperty::getName).toList(); + assertThat(propertyNames).containsOnly("amount", "currency"); + } + @Test // DATACMNS-1171 void shouldNotCreateEntityForSyntheticKotlinClass() { assertThat(context.getPersistentEntity(TypeCreatingSyntheticClass.class)).isNotNull(); diff --git a/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt b/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt index ac98c544c4..d27659f6e9 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt @@ -29,6 +29,13 @@ data class ExtendedDataClassKt(val id: Long, val name: String) { } } +data class DataClassWithLazy( + val amount: Int, + val currency: String, +) { + val foo by lazy { 123 } +} + data class SingleSettableProperty constructor(val id: Double = Math.random()) { val version: Int? = null } From 982112cd12c56f5be6a3ba9e1feab388e41862c7 Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 12 Jul 2024 19:09:00 +0200 Subject: [PATCH 014/108] Prepare 3.3.2 (2024.0.2). See #3107 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 703c5345d0..9825967003 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.2-SNAPSHOT</version> + <version>3.3.2</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index e99188b2cb..0c6e30f29f 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3.1 (2024.0.1) +Spring Data Commons 3.3.2 (2024.0.2) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -54,5 +54,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From 1798ccce718348075b47d88ffe66f747220567db Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 12 Jul 2024 19:09:19 +0200 Subject: [PATCH 015/108] Release version 3.3.2 (2024.0.2). See #3107 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9825967003..8cb9f9384b 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.2-SNAPSHOT</version> + <version>3.3.2</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 6158ba06bde9c44e44207b5a9d546c8258ee02ac Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 12 Jul 2024 19:12:13 +0200 Subject: [PATCH 016/108] Prepare next development iteration. See #3107 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8cb9f9384b..88935622f4 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.2</version> + <version>3.3.3-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 75d09921a583df3e354d6777a9829a50348be83f Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 12 Jul 2024 19:12:14 +0200 Subject: [PATCH 017/108] After release cleanups. See #3107 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 88935622f4..97ae5633de 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.2</version> + <version>3.3.3-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From de4013a4c523262d42289ed47fc2c4c705bb05dd Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 23 Jul 2024 10:13:34 +0200 Subject: [PATCH 018/108] Consider declaring class when evaluating method return type for query method post-processing. We now consider the declaring class to properly resolve type variable references for the result post-processing of a query method result. Previously, we attempted to resolve the return type without considering the actual repository class resolving always Object instead of the type parameter. Closes #3125 --- .../support/QueryExecutionResultHandler.java | 53 ++++++++++++++----- .../QueryExecutorMethodInterceptor.java | 11 ++-- .../QueryExecutionResultHandlerUnitTests.java | 27 ++++++++-- 3 files changed, 71 insertions(+), 20 deletions(-) diff --git a/src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java b/src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java index f24f77ef35..9438a3fc92 100644 --- a/src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java +++ b/src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java @@ -15,7 +15,6 @@ */ package org.springframework.data.repository.core.support; -import java.lang.reflect.Method; import java.util.Collection; import java.util.Collections; import java.util.HashMap; @@ -23,13 +22,16 @@ import java.util.Optional; import org.springframework.core.CollectionFactory; +import org.springframework.core.KotlinDetector; import org.springframework.core.MethodParameter; import org.springframework.core.convert.ConversionService; import org.springframework.core.convert.TypeDescriptor; import org.springframework.core.convert.support.GenericConversionService; +import org.springframework.data.repository.util.ClassUtils; import org.springframework.data.repository.util.QueryExecutionConverters; import org.springframework.data.repository.util.ReactiveWrapperConverters; import org.springframework.data.util.NullableWrapper; +import org.springframework.data.util.ReactiveWrappers; import org.springframework.data.util.Streamable; import org.springframework.lang.Nullable; @@ -44,12 +46,14 @@ class QueryExecutionResultHandler { private static final TypeDescriptor WRAPPER_TYPE = TypeDescriptor.valueOf(NullableWrapper.class); + private static final Class<?> FLOW_TYPE = loadIfPresent("kotlinx.coroutines.flow.Flow"); + private final GenericConversionService conversionService; private final Object mutex = new Object(); // concurrent access guarded by mutex. - private Map<Method, ReturnTypeDescriptor> descriptorCache = Collections.emptyMap(); + private Map<MethodParameter, ReturnTypeDescriptor> descriptorCache = Collections.emptyMap(); /** * Creates a new {@link QueryExecutionResultHandler}. @@ -58,6 +62,17 @@ class QueryExecutionResultHandler { this.conversionService = conversionService; } + @Nullable + @SuppressWarnings("unchecked") + public static <T> Class<T> loadIfPresent(String type) { + + try { + return (Class<T>) org.springframework.util.ClassUtils.forName(type, ClassUtils.class.getClassLoader()); + } catch (ClassNotFoundException | LinkageError e) { + return null; + } + } + /** * Post-processes the given result of a query invocation to match the return type of the given method. * @@ -66,9 +81,9 @@ class QueryExecutionResultHandler { * @return */ @Nullable - Object postProcessInvocationResult(@Nullable Object result, Method method) { + Object postProcessInvocationResult(@Nullable Object result, MethodParameter method) { - if (!processingRequired(result, method.getReturnType())) { + if (!processingRequired(result, method)) { return result; } @@ -77,16 +92,16 @@ Object postProcessInvocationResult(@Nullable Object result, Method method) { return postProcessInvocationResult(result, 0, descriptor); } - private ReturnTypeDescriptor getOrCreateReturnTypeDescriptor(Method method) { + private ReturnTypeDescriptor getOrCreateReturnTypeDescriptor(MethodParameter method) { - Map<Method, ReturnTypeDescriptor> descriptorCache = this.descriptorCache; + Map<MethodParameter, ReturnTypeDescriptor> descriptorCache = this.descriptorCache; ReturnTypeDescriptor descriptor = descriptorCache.get(method); if (descriptor == null) { descriptor = ReturnTypeDescriptor.of(method); - Map<Method, ReturnTypeDescriptor> updatedDescriptorCache; + Map<MethodParameter, ReturnTypeDescriptor> updatedDescriptorCache; if (descriptorCache.isEmpty()) { updatedDescriptorCache = Collections.singletonMap(method, descriptor); @@ -94,7 +109,6 @@ private ReturnTypeDescriptor getOrCreateReturnTypeDescriptor(Method method) { updatedDescriptorCache = new HashMap<>(descriptorCache.size() + 1, 1); updatedDescriptorCache.putAll(descriptorCache); updatedDescriptorCache.put(method, descriptor); - } synchronized (mutex) { @@ -234,10 +248,21 @@ private static Object unwrapOptional(@Nullable Object source) { * Returns whether we have to process the given source object in the first place. * * @param source can be {@literal null}. - * @param targetType must not be {@literal null}. + * @param methodParameter must not be {@literal null}. * @return */ - private static boolean processingRequired(@Nullable Object source, Class<?> targetType) { + private static boolean processingRequired(@Nullable Object source, MethodParameter methodParameter) { + + Class<?> targetType = methodParameter.getParameterType(); + + if (source != null && ReactiveWrappers.KOTLIN_COROUTINES_PRESENT + && KotlinDetector.isSuspendingFunction(methodParameter.getMethod())) { + + // Spring's AOP invoker handles Publisher to Flow conversion, so we have to exempt these from post-processing. + if (FLOW_TYPE != null && FLOW_TYPE.isAssignableFrom(targetType)) { + return false; + } + } return !targetType.isInstance(source) // || source == null // @@ -253,19 +278,19 @@ static class ReturnTypeDescriptor { private final TypeDescriptor typeDescriptor; private final @Nullable TypeDescriptor nestedTypeDescriptor; - private ReturnTypeDescriptor(Method method) { - this.methodParameter = new MethodParameter(method, -1); + private ReturnTypeDescriptor(MethodParameter methodParameter) { + this.methodParameter = methodParameter; this.typeDescriptor = TypeDescriptor.nested(this.methodParameter, 0); this.nestedTypeDescriptor = TypeDescriptor.nested(this.methodParameter, 1); } /** - * Create a {@link ReturnTypeDescriptor} from a {@link Method}. + * Create a {@link ReturnTypeDescriptor} from a {@link MethodParameter}. * * @param method * @return */ - public static ReturnTypeDescriptor of(Method method) { + public static ReturnTypeDescriptor of(MethodParameter method) { return new ReturnTypeDescriptor(method); } diff --git a/src/main/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptor.java b/src/main/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptor.java index d61785a2b6..f75331b8fc 100644 --- a/src/main/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptor.java +++ b/src/main/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptor.java @@ -21,9 +21,12 @@ import java.util.List; import java.util.Map; import java.util.Optional; +import java.util.concurrent.ConcurrentHashMap; import org.aopalliance.intercept.MethodInterceptor; import org.aopalliance.intercept.MethodInvocation; + +import org.springframework.core.MethodParameter; import org.springframework.core.ResolvableType; import org.springframework.data.projection.ProjectionFactory; import org.springframework.data.repository.core.NamedQueries; @@ -55,6 +58,7 @@ class QueryExecutorMethodInterceptor implements MethodInterceptor { private final RepositoryInformation repositoryInformation; private final Map<Method, RepositoryQuery> queries; private final Map<Method, RepositoryMethodInvoker> invocationMetadataCache = new ConcurrentReferenceHashMap<>(); + private final Map<Method, MethodParameter> returnTypeMap = new ConcurrentHashMap<>(); private final QueryExecutionResultHandler resultHandler; private final NamedQueries namedQueries; private final List<QueryCreationListener<?>> queryPostProcessors; @@ -135,16 +139,17 @@ private void invokeListeners(RepositoryQuery query) { public Object invoke(@SuppressWarnings("null") MethodInvocation invocation) throws Throwable { Method method = invocation.getMethod(); + MethodParameter returnType = returnTypeMap.computeIfAbsent(method, it -> new MethodParameter(it, -1)); QueryExecutionConverters.ExecutionAdapter executionAdapter = QueryExecutionConverters // - .getExecutionAdapter(method.getReturnType()); + .getExecutionAdapter(returnType.getParameterType()); if (executionAdapter == null) { - return resultHandler.postProcessInvocationResult(doInvoke(invocation), method); + return resultHandler.postProcessInvocationResult(doInvoke(invocation), returnType); } return executionAdapter // - .apply(() -> resultHandler.postProcessInvocationResult(doInvoke(invocation), method)); + .apply(() -> resultHandler.postProcessInvocationResult(doInvoke(invocation), returnType)); } @Nullable diff --git a/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java index aeaa2ec163..1d80270c24 100755 --- a/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java @@ -26,7 +26,6 @@ import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import java.lang.reflect.Method; import java.math.BigDecimal; import java.util.Arrays; import java.util.Collections; @@ -40,6 +39,8 @@ import org.assertj.core.api.SoftAssertions; import org.junit.jupiter.api.Test; import org.reactivestreams.Publisher; + +import org.springframework.core.MethodParameter; import org.springframework.dao.InvalidDataAccessApiUsageException; import org.springframework.data.repository.Repository; import org.springframework.data.util.Streamable; @@ -404,6 +405,17 @@ void nestedConversion() throws Exception { }); } + @Test // GH-3125 + void considersTypeBoundsFromBaseInterface() throws NoSuchMethodException { + + var method = CustomizedRepository.class.getMethod("findById", Object.class); + + var result = handler.postProcessInvocationResult(Optional.of(new Entity()), + new MethodParameter(method, -1).withContainingClass(CustomizedRepository.class)); + + assertThat(result).isInstanceOf(Entity.class); + } + @Test // DATACMNS-1552 void keepsVavrOptionType() throws Exception { @@ -412,8 +424,17 @@ void keepsVavrOptionType() throws Exception { assertThat(handler.postProcessInvocationResult(source, getMethod("option"))).isSameAs(source); } - private static Method getMethod(String methodName) throws Exception { - return Sample.class.getMethod(methodName); + private static MethodParameter getMethod(String methodName) throws Exception { + return new MethodParameter(Sample.class.getMethod(methodName), -1); + } + + interface BaseRepository<T, ID> extends Repository<T, ID> { + + T findById(ID id); + } + + interface CustomizedRepository extends BaseRepository<Entity, Long> { + } static interface Sample extends Repository<Entity, Long> { From b6d38255b4729029a0e24b522c18407158782664 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 23 Jul 2024 10:14:24 +0200 Subject: [PATCH 019/108] Polishing. Simplify assertions. See #3125 --- .../support/QueryExecutionResultHandlerUnitTests.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java index 1d80270c24..ef8b171189 100755 --- a/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java @@ -36,7 +36,6 @@ import java.util.Set; import java.util.stream.Collectors; -import org.assertj.core.api.SoftAssertions; import org.junit.jupiter.api.Test; import org.reactivestreams.Publisher; @@ -396,12 +395,8 @@ void nestedConversion() throws Exception { assertThat(result).isInstanceOfSatisfying(List.class, list -> { - SoftAssertions.assertSoftly(s -> { - - // for making the test failure more obvious: - s.assertThat(list).allMatch(it -> Integer.class.isInstance(it)); - s.assertThat(list).containsExactly(0, 1); - }); + // for making the test failure more obvious: + assertThat(list).allMatch(Integer.class::isInstance).containsExactly(0, 1); }); } From 24f8d90b92a1ba3940964aadea224e0c28a99a8c Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 26 Jul 2024 10:34:13 +0200 Subject: [PATCH 020/108] Revise Repositories initialization. We now no longer declare cacheRepositoryFactory as synchronized to avoid locking. Additionally, simplify the flow and reuse computed values as much as possible. Closes #3126 --- .../support/DomainClassConverter.java | 1 + .../data/repository/support/Repositories.java | 41 ++++++++++--------- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/src/main/java/org/springframework/data/repository/support/DomainClassConverter.java b/src/main/java/org/springframework/data/repository/support/DomainClassConverter.java index e4d493bd26..e26c1f3bc9 100644 --- a/src/main/java/org/springframework/data/repository/support/DomainClassConverter.java +++ b/src/main/java/org/springframework/data/repository/support/DomainClassConverter.java @@ -91,6 +91,7 @@ private Optional<? extends ConditionalGenericConverter> getConverter(TypeDescrip return repositories.get().hasRepositoryFor(targetType.getType()) ? toEntityConverter : toIdConverter; } + @Override public void setApplicationContext(ApplicationContext context) { this.repositories = Lazy.of(() -> { diff --git a/src/main/java/org/springframework/data/repository/support/Repositories.java b/src/main/java/org/springframework/data/repository/support/Repositories.java index c5e242a3ec..176b8ca177 100644 --- a/src/main/java/org/springframework/data/repository/support/Repositories.java +++ b/src/main/java/org/springframework/data/repository/support/Repositories.java @@ -95,14 +95,14 @@ private void populateRepositoryFactoryInformation(ListableBeanFactory factory) { for (String name : BeanFactoryUtils.beanNamesForTypeIncludingAncestors(factory, RepositoryFactoryInformation.class, false, false)) { - cacheRepositoryFactory(name); + cacheRepositoryFactory(factory, name); } } @SuppressWarnings("rawtypes") - private synchronized void cacheRepositoryFactory(String name) { + private void cacheRepositoryFactory(ListableBeanFactory factory, String name) { - RepositoryFactoryInformation repositoryFactoryInformation = beanFactory.get().getBean(name, + RepositoryFactoryInformation repositoryFactoryInformation = factory.getBean(name, RepositoryFactoryInformation.class); RepositoryInformation information = repositoryFactoryInformation.getRepositoryInformation(); Class<?> domainType = ClassUtils.getUserClass(information.getDomainType()); @@ -113,8 +113,21 @@ private synchronized void cacheRepositoryFactory(String name) { typesToRegister.add(domainType); typesToRegister.addAll(alternativeDomainTypes); + Optional<ConfigurableListableBeanFactory> beanFactory = Optional.of(factory).map(it -> { + + if (it instanceof ConfigurableListableBeanFactory) { + return (ConfigurableListableBeanFactory) it; + } + + if (it instanceof ConfigurableApplicationContext) { + return ((ConfigurableApplicationContext) it).getBeanFactory(); + } + + return null; + }); + for (Class<?> type : typesToRegister) { - cacheFirstOrPrimary(type, repositoryFactoryInformation, BeanFactoryUtils.transformedBeanName(name)); + cacheFirstOrPrimary(beanFactory, type, repositoryFactoryInformation, BeanFactoryUtils.transformedBeanName(name)); } } @@ -273,6 +286,7 @@ public List<QueryMethod> getQueryMethodsFor(Class<?> domainClass) { return getRepositoryFactoryInfoFor(domainClass).getQueryMethods(); } + @Override public Iterator<Class<?>> iterator() { return repositoryFactoryInfos.keySet().iterator(); } @@ -281,29 +295,18 @@ public Iterator<Class<?>> iterator() { * Caches the repository information for the given domain type or overrides existing information in case the bean name * points to a primary bean definition. * + * @param beanFactory must not be {@literal null}. * @param type must not be {@literal null}. * @param information must not be {@literal null}. * @param name must not be {@literal null}. */ @SuppressWarnings({ "rawtypes", "unchecked" }) - private void cacheFirstOrPrimary(Class<?> type, RepositoryFactoryInformation information, String name) { + private void cacheFirstOrPrimary(Optional<ConfigurableListableBeanFactory> beanFactory, Class<?> type, + RepositoryFactoryInformation information, String name) { if (repositoryBeanNames.containsKey(type)) { - Optional<ConfigurableListableBeanFactory> factoryToUse = this.beanFactory.map(it -> { - - if (it instanceof ConfigurableListableBeanFactory) { - return (ConfigurableListableBeanFactory) it; - } - - if (it instanceof ConfigurableApplicationContext) { - return ((ConfigurableApplicationContext) it).getBeanFactory(); - } - - return null; - }); - - Boolean presentAndPrimary = factoryToUse.map(it -> it.getMergedBeanDefinition(name)) // + Boolean presentAndPrimary = beanFactory.map(it -> it.getMergedBeanDefinition(name)) // .map(BeanDefinition::isPrimary) // .orElse(false); From 9804c75893d254e9095c0b2c69666bab1a9f1d2b Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Wed, 31 Jul 2024 09:27:07 +0200 Subject: [PATCH 021/108] Bundle Javadoc with Antora documentation site. Closes #3128 --- .gitignore | 1 - package.json | 10 ++++++++++ pom.xml | 2 +- src/main/antora/antora-playbook.yml | 8 +++----- src/main/antora/antora.yml | 5 +++++ src/main/antora/modules/ROOT/nav.adoc | 3 +++ 6 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 package.json diff --git a/.gitignore b/.gitignore index b86bc9b13c..ab8bf05321 100644 --- a/.gitignore +++ b/.gitignore @@ -18,5 +18,4 @@ src/ant/.ant-targets-upload-dist.xml node node_modules package-lock.json -package.json .mvn/.gradle-enterprise diff --git a/package.json b/package.json new file mode 100644 index 0000000000..057a40fe8b --- /dev/null +++ b/package.json @@ -0,0 +1,10 @@ +{ + "dependencies": { + "antora": "3.2.0-alpha.6", + "@antora/atlas-extension": "1.0.0-alpha.2", + "@antora/collector-extension": "1.0.0-alpha.7", + "@asciidoctor/tabs": "1.0.0-beta.6", + "@springio/antora-extensions": "1.13.0", + "@springio/asciidoctor-extensions": "1.0.0-alpha.11" + } +} diff --git a/pom.xml b/pom.xml index 97ae5633de..85fdf1da7f 100644 --- a/pom.xml +++ b/pom.xml @@ -340,7 +340,7 @@ <artifactId>maven-assembly-plugin</artifactId> </plugin> <plugin> - <groupId>io.spring.maven.antora</groupId> + <groupId>org.antora</groupId> <artifactId>antora-maven-plugin</artifactId> </plugin> <plugin> diff --git a/src/main/antora/antora-playbook.yml b/src/main/antora/antora-playbook.yml index 76ec752fbc..730c7d3da9 100644 --- a/src/main/antora/antora-playbook.yml +++ b/src/main/antora/antora-playbook.yml @@ -3,8 +3,7 @@ # The purpose of this Antora playbook is to build the docs in the current branch. antora: extensions: - - '@antora/collector-extension' - - require: '@springio/antora-extensions/root-component-extension' + - require: '@springio/antora-extensions' root_component_name: 'data-commons' site: title: Spring Data Reference @@ -17,13 +16,12 @@ content: worktrees: true asciidoc: attributes: - page-pagination: '' hide-uri-scheme: '@' tabs-sync-option: '@' - chomp: 'all' extensions: - '@asciidoctor/tabs' - '@springio/asciidoctor-extensions' + - '@springio/asciidoctor-extensions/javadoc-extension' sourcemap: true urls: latest_version_segment: '' @@ -33,5 +31,5 @@ runtime: format: pretty ui: bundle: - url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.3.3/ui-bundle.zip + url: https://github.com/spring-io/antora-ui-spring/releases/download/v0.4.16/ui-bundle.zip snapshot: true diff --git a/src/main/antora/antora.yml b/src/main/antora/antora.yml index f48c7417ac..4ab2802b63 100644 --- a/src/main/antora/antora.yml +++ b/src/main/antora/antora.yml @@ -10,3 +10,8 @@ ext: local: true scan: dir: target/classes/antora-resources/ + - run: + command: ./mvnw package -Pdistribute + local: true + scan: + dir: target/antora diff --git a/src/main/antora/modules/ROOT/nav.adoc b/src/main/antora/modules/ROOT/nav.adoc index 2f483a6549..3b1dbe8927 100644 --- a/src/main/antora/modules/ROOT/nav.adoc +++ b/src/main/antora/modules/ROOT/nav.adoc @@ -31,3 +31,6 @@ ** xref:repositories/populator-namespace-reference.adoc[] ** xref:repositories/query-keywords-reference.adoc[] ** xref:repositories/query-return-types-reference.adoc[] + +* xref:attachment$api/java/index.html[Javadoc,role=link-external,window=_blank] +* https://github.com/spring-projects/spring-data-commons/wiki[Wiki,role=link-external,window=_blank] From 9343f31fb99e9a40b65b3b9008f70a51614e1a76 Mon Sep 17 00:00:00 2001 From: Christoph Strobl <christoph.strobl@broadcom.com> Date: Tue, 30 Jul 2024 14:03:17 +0200 Subject: [PATCH 022/108] Fix property lookup for projections on Kotlin types. This commit makes sure to use the target objects method to determine the property used for the projection. Closes: #3127 Original pull request: #3129 --- .../PropertyAccessingMethodInterceptor.java | 14 ++++++++--- ...tyAccessingMethodInterceptorUnitTests.java | 10 ++++++++ .../data/projection/WithIsNamedProperty.kt | 23 +++++++++++++++++++ 3 files changed, 44 insertions(+), 3 deletions(-) create mode 100644 src/test/kotlin/org/springframework/data/projection/WithIsNamedProperty.kt diff --git a/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java b/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java index 46a2b21f52..6f19a9d06d 100644 --- a/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java +++ b/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java @@ -33,6 +33,7 @@ * @author Oliver Gierke * @author Mark Paluch * @author Johannes Englmeier + * @author Christoph Strobl * @since 1.10 */ class PropertyAccessingMethodInterceptor implements MethodInterceptor { @@ -54,12 +55,11 @@ public PropertyAccessingMethodInterceptor(Object target) { @Override public Object invoke(@SuppressWarnings("null") MethodInvocation invocation) throws Throwable { - Method method = invocation.getMethod(); - - if (ReflectionUtils.isObjectMethod(method)) { + if (ReflectionUtils.isObjectMethod(invocation.getMethod())) { return invocation.proceed(); } + Method method = lookupTargetMethod(invocation, target.getWrappedClass()); PropertyDescriptor descriptor = BeanUtils.findPropertyForMethod(method); if (descriptor == null) { @@ -81,4 +81,12 @@ public Object invoke(@SuppressWarnings("null") MethodInvocation invocation) thro private static boolean isSetterMethod(Method method, PropertyDescriptor descriptor) { return method.equals(descriptor.getWriteMethod()); } + + private static Method lookupTargetMethod(MethodInvocation invocation, Class<?> targetType) { + + Method method = BeanUtils.findMethod(targetType, invocation.getMethod().getName(), + invocation.getMethod().getParameterTypes()); + + return method != null ? method : invocation.getMethod(); + } } diff --git a/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java index c67cae1516..d09f4b1ea6 100755 --- a/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java @@ -32,6 +32,7 @@ * * @author Oliver Gierke * @author Mark Paluch + * @author Christoph Strobl */ @ExtendWith(MockitoExtension.class) class PropertyAccessingMethodInterceptorUnitTests { @@ -111,6 +112,15 @@ void throwsAppropriateExceptionIfThePropertyCannotWritten() throws Throwable { .isThrownBy(() -> new PropertyAccessingMethodInterceptor(new Source()).invoke(invocation)); } + @Test // GH-3127 + void detectsKotlinPropertiesWithLeadingIsOnTargetType() throws Throwable { + + var source = new WithIsNamedProperty(true); + when(invocation.getMethod()).thenReturn(WithIsNamedPropertyProjection.class.getMethod("isValid")); + + assertThat(new PropertyAccessingMethodInterceptor(source).invoke(invocation)).isEqualTo(true); + } + static class Source { String firstname; diff --git a/src/test/kotlin/org/springframework/data/projection/WithIsNamedProperty.kt b/src/test/kotlin/org/springframework/data/projection/WithIsNamedProperty.kt new file mode 100644 index 0000000000..fc9e236eec --- /dev/null +++ b/src/test/kotlin/org/springframework/data/projection/WithIsNamedProperty.kt @@ -0,0 +1,23 @@ +/* + * Copyright 2024 the original author or authors. + * + * 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 + * + * https://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. + */ + +package org.springframework.data.projection + +interface WithIsNamedPropertyProjection { + val isValid: Boolean +} + +class WithIsNamedProperty(val isValid : Boolean) From c90e2742b09119f17a62b0be7725fc55d7631a83 Mon Sep 17 00:00:00 2001 From: Eric Haag <ehaag@gradle.com> Date: Thu, 1 Aug 2024 04:45:49 -0500 Subject: [PATCH 023/108] Migrate build to Spring Develocity Conventions extension. * Migrate build to Spring Develocity Conventions extension. * Adopt Develocity environment variables. Closes #3130 --- .gitignore | 2 +- .mvn/extensions.xml | 11 +++-------- .mvn/gradle-enterprise.xml | 31 ------------------------------- Jenkinsfile | 12 ------------ ci/pipeline.properties | 1 - 5 files changed, 4 insertions(+), 53 deletions(-) delete mode 100644 .mvn/gradle-enterprise.xml diff --git a/.gitignore b/.gitignore index ab8bf05321..bfce168d2c 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,4 @@ src/ant/.ant-targets-upload-dist.xml node node_modules package-lock.json -.mvn/.gradle-enterprise +.mvn/.develocity diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index eda2f38098..1e3bb355f5 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -1,13 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <extensions> <extension> - <groupId>com.gradle</groupId> - <artifactId>gradle-enterprise-maven-extension</artifactId> - <version>1.19.3</version> - </extension> - <extension> - <groupId>com.gradle</groupId> - <artifactId>common-custom-user-data-maven-extension</artifactId> - <version>1.12.4</version> + <groupId>io.spring.develocity.conventions</groupId> + <artifactId>develocity-conventions-maven-extension</artifactId> + <version>0.0.19</version> </extension> </extensions> diff --git a/.mvn/gradle-enterprise.xml b/.mvn/gradle-enterprise.xml deleted file mode 100644 index bbe439e12b..0000000000 --- a/.mvn/gradle-enterprise.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="UTF-8" standalone="yes" ?> -<gradleEnterprise - xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd"> - <server> - <url>https://ge.spring.io</url> - </server> - <buildScan> - <backgroundBuildScanUpload>#{isFalse(env['CI'])}</backgroundBuildScanUpload> - <captureGoalInputFiles>true</captureGoalInputFiles> - <publishIfAuthenticated>true</publishIfAuthenticated> - <obfuscation> - <ipAddresses>#{{'0.0.0.0'}}</ipAddresses> - </obfuscation> - </buildScan> - <buildCache> - <local> - <enabled>true</enabled> - </local> - <remote> - <server> - <credentials> - <username>${env.GRADLE_ENTERPRISE_CACHE_USERNAME}</username> - <password>${env.GRADLE_ENTERPRISE_CACHE_PASSWORD}</password> - </credentials> - </server> - <enabled>true</enabled> - <storeEnabled>#{env['GRADLE_ENTERPRISE_CACHE_USERNAME'] != null and env['GRADLE_ENTERPRISE_CACHE_PASSWORD'] != null}</storeEnabled> - </remote> - </buildCache> -</gradleEnterprise> diff --git a/Jenkinsfile b/Jenkinsfile index 46d1237755..52090cbcc9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -32,7 +32,6 @@ pipeline { options { timeout(time: 30, unit: 'MINUTES') } environment { ARTIFACTORY = credentials("${p['artifactory.credentials']}") - DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") } steps { @@ -40,9 +39,6 @@ pipeline { docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + - "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + - "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + - "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + "./mvnw -s settings.xml clean dependency:list verify -Dsort -B -U" } } @@ -66,7 +62,6 @@ pipeline { options { timeout(time: 30, unit: 'MINUTES') } environment { ARTIFACTORY = credentials("${p['artifactory.credentials']}") - DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") } steps { @@ -74,9 +69,6 @@ pipeline { docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.basic']) { sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + - "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + - "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + - "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + "./mvnw -s settings.xml clean dependency:list verify -Dsort -B" } } @@ -101,7 +93,6 @@ pipeline { environment { ARTIFACTORY = credentials("${p['artifactory.credentials']}") - DEVELOCITY_CACHE = credentials("${p['develocity.cache.credentials']}") DEVELOCITY_ACCESS_KEY = credentials("${p['develocity.access-key']}") } @@ -110,9 +101,6 @@ pipeline { docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + - "DEVELOCITY_CACHE_USERNAME=${DEVELOCITY_CACHE_USR} " + - "DEVELOCITY_CACHE_PASSWORD=${DEVELOCITY_CACHE_PSW} " + - "GRADLE_ENTERPRISE_ACCESS_KEY=${DEVELOCITY_ACCESS_KEY} " + "./mvnw -s settings.xml -Pci,artifactory " + "-Dartifactory.server=${p['artifactory.url']} " + "-Dartifactory.username=${ARTIFACTORY_USR} " + diff --git a/ci/pipeline.properties b/ci/pipeline.properties index 824563a219..dea8357201 100644 --- a/ci/pipeline.properties +++ b/ci/pipeline.properties @@ -31,6 +31,5 @@ docker.proxy.credentials=usw1_packages_broadcom_com-jenkins-token artifactory.credentials=02bd1690-b54f-4c9f-819d-a77cb7a9822c artifactory.url=https://repo.spring.io artifactory.repository.snapshot=libs-snapshot-local -develocity.cache.credentials=gradle_enterprise_cache_user develocity.access-key=gradle_enterprise_secret_access_key jenkins.user.name=spring-builds+jenkins From ce62224c17c1a77e9205d6ecf6a978770200065b Mon Sep 17 00:00:00 2001 From: Christoph Strobl <christoph.strobl@broadcom.com> Date: Wed, 3 Jul 2024 09:09:21 +0200 Subject: [PATCH 024/108] Add missing native image runtime hints for Jackson Page serialization. Closes #3117 Original pull request: #3119 --- .../data/web/aot/WebRuntimeHints.java | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java b/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java index f791ce4981..3a9aee614b 100644 --- a/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java +++ b/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java @@ -15,9 +15,11 @@ */ package org.springframework.data.web.aot; +import org.springframework.aot.hint.MemberCategory; import org.springframework.aot.hint.RuntimeHints; import org.springframework.aot.hint.RuntimeHintsRegistrar; import org.springframework.aot.hint.TypeReference; +import org.springframework.data.web.PagedModel; import org.springframework.data.web.config.SpringDataJacksonConfiguration.PageModule; import org.springframework.lang.Nullable; import org.springframework.util.ClassUtils; @@ -34,8 +36,30 @@ class WebRuntimeHints implements RuntimeHintsRegistrar { public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) { if (ClassUtils.isPresent("com.fasterxml.jackson.databind.ObjectMapper", classLoader)) { + + // Page Model for Jackson Rendering + hints.reflection().registerType(org.springframework.data.web.PagedModel.class, + MemberCategory.INVOKE_PUBLIC_METHODS); + hints.reflection().registerType(PagedModel.PageMetadata.class, MemberCategory.INVOKE_PUBLIC_METHODS); + + // Type that might not be seen otherwise hints.reflection().registerType(TypeReference.of("org.springframework.data.domain.Unpaged"), hint -> hint.onReachableType(PageModule.class)); + + // Jackson Converters used via @JsonSerialize in SpringDataJacksonConfiguration + hints.reflection().registerType( + TypeReference + .of("org.springframework.data.web.config.SpringDataJacksonConfiguration$PageModule$PageModelConverter"), + hint -> { + hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, MemberCategory.INVOKE_PUBLIC_METHODS); + hint.onReachableType(PageModule.class); + }); + hints.reflection().registerType(TypeReference.of( + "org.springframework.data.web.config.SpringDataJacksonConfiguration$PageModule$PlainPageSerializationWarning"), + hint -> { + hint.withMembers(MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, MemberCategory.INVOKE_PUBLIC_METHODS); + hint.onReachableType(PageModule.class); + }); } } } From a9767599c54314ea9c455c887cd76eb82ca587de Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm <oliver.drotbohm@broadcom.com> Date: Mon, 5 Aug 2024 22:01:07 +0200 Subject: [PATCH 025/108] Explicitly reject invalid aggregate event registrations during publishing. We now detect that the consumption of the events published during a persistence operation has produced new event instances that would go unpublished and raise an explaining exception. Previously such a scenario would've resulted in a ConcurrentModificationException. We primarily reject such a scenario as handling the additional event would extend our convenience mechanism over the publishing scope a direct 1:1 replacement with ApplicationEventPublisher would've achieved. Fixes GH-3116. --- ...ublishingRepositoryProxyPostProcessor.java | 50 +++++++++++++++---- ...RepositoryProxyPostProcessorUnitTests.java | 27 ++++++++++ 2 files changed, 67 insertions(+), 10 deletions(-) diff --git a/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java b/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java index 053230c7a0..9036e6beb1 100644 --- a/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java +++ b/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java @@ -17,6 +17,7 @@ import java.lang.annotation.Annotation; import java.lang.reflect.Method; +import java.util.ArrayList; import java.util.Collection; import java.util.Collections; import java.util.Map; @@ -111,7 +112,7 @@ public Object invoke(MethodInvocation invocation) throws Throwable { return result; } - Iterable<?> arguments = asCollection(invocation.getArguments()[0], invocation.getMethod()); + Iterable<?> arguments = asIterable(invocation.getArguments()[0], invocation.getMethod()); eventMethod.publishEventsFrom(arguments, publisher); @@ -144,6 +145,9 @@ static class EventPublishingMethod { private static Map<Class<?>, EventPublishingMethod> cache = new ConcurrentReferenceHashMap<>(); private static @SuppressWarnings("null") EventPublishingMethod NONE = new EventPublishingMethod(Object.class, null, null); + private static String ILLEGAL_MODIFCATION = "Aggregate's events were modified during event publication. " + + "Make sure event listeners obtain a fresh instance of the aggregate before adding further events. " + + "Additional events found: %s."; private final Class<?> type; private final Method publishingMethod; @@ -188,7 +192,11 @@ public static EventPublishingMethod of(Class<?> type) { * @param aggregates can be {@literal null}. * @param publisher must not be {@literal null}. */ - public void publishEventsFrom(Iterable<?> aggregates, ApplicationEventPublisher publisher) { + public void publishEventsFrom(@Nullable Iterable<?> aggregates, ApplicationEventPublisher publisher) { + + if (aggregates == null) { + return; + } for (Object aggregateRoot : aggregates) { @@ -196,10 +204,21 @@ public void publishEventsFrom(Iterable<?> aggregates, ApplicationEventPublisher continue; } - for (Object event : asCollection(ReflectionUtils.invokeMethod(publishingMethod, aggregateRoot), null)) { + var events = asCollection(ReflectionUtils.invokeMethod(publishingMethod, aggregateRoot)); + + for (Object event : events) { publisher.publishEvent(event); } + var postPublication = asCollection(ReflectionUtils.invokeMethod(publishingMethod, aggregateRoot)); + + if (events.size() != postPublication.size()) { + + postPublication.removeAll(events); + + throw new IllegalStateException(ILLEGAL_MODIFCATION.formatted(postPublication)); + } + if (clearingMethod != null) { ReflectionUtils.invokeMethod(clearingMethod, aggregateRoot); } @@ -272,23 +291,34 @@ private static Method getClearingMethod(AnnotationDetectionMethodCallback<?> cle * one-element collection, {@literal null} will become an empty collection. * * @param source can be {@literal null}. - * @return + * @return will never be {@literal null}. */ @SuppressWarnings("unchecked") - private static Iterable<Object> asCollection(@Nullable Object source, @Nullable Method method) { + private static Collection<Object> asCollection(@Nullable Object source) { if (source == null) { return Collections.emptyList(); } - if (method != null && method.getName().startsWith("saveAll")) { - return (Iterable<Object>) source; - } - if (Collection.class.isInstance(source)) { - return (Collection<Object>) source; + return new ArrayList<>((Collection<Object>) source); } return Collections.singletonList(source); } + + /** + * Returns the given source object as {@link Iterable}. + * + * @param source can be {@literal null}. + * @return will never be {@literal null}. + */ + @Nullable + @SuppressWarnings("unchecked") + private static Iterable<Object> asIterable(@Nullable Object source, @Nullable Method method) { + + return method != null && method.getName().startsWith("saveAll") + ? (Iterable<Object>) source + : asCollection(source); + } } diff --git a/src/test/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessorUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessorUnitTests.java index 9c5e1efa9a..30fbc4bfb1 100644 --- a/src/test/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessorUnitTests.java @@ -20,6 +20,7 @@ import static org.mockito.Mockito.*; import java.lang.reflect.Method; +import java.util.ArrayList; import java.util.Arrays; import java.util.Collection; import java.util.Collections; @@ -324,6 +325,32 @@ void doesNotEmitEventsFromPrimitiveValue() throws Throwable { verify(publisher, never()).publishEvent(any()); } + @Test // GH-3116 + void rejectsEventAddedDuringProcessing() throws Throwable { + + var originalEvent = new SomeEvent(); + var eventToBeAdded = new SomeEvent(); + + var events = new ArrayList<Object>(); + events.add(originalEvent); + + var aggregate = MultipleEvents.of(events); + + doAnswer(invocation -> { + + events.add(eventToBeAdded); + return null; + + }).when(publisher).publishEvent(any(Object.class)); + + var method = EventPublishingMethod.of(MultipleEvents.class); + + assertThatIllegalStateException() + .isThrownBy(() -> method.publishEventsFrom(List.of(aggregate), publisher)) + .withMessageContaining(eventToBeAdded.toString()) + .withMessageNotContaining(originalEvent.toString()); + } + private static void mockInvocation(MethodInvocation invocation, Method method, Object parameterAndReturnValue) throws Throwable { From 5ddede10b02aae7408c20d87105c5bbcb39d48f7 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 6 Aug 2024 15:14:18 +0200 Subject: [PATCH 026/108] Fix KotlinCopyMethod detection for single-association property classes. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit KotlinCopyMethod.shouldUsePublicCopyMethod(…) now considers single-association arrangements. Also, the method now early exists if pre-conditions aren't met. Closes #3131 --- .../data/mapping/model/KotlinCopyMethod.java | 4 +++- .../KotlinPropertyAccessorFactoryTests.java | 22 +++++++++++++++++++ .../data/mapping/model/DataClasses.kt | 15 +++++++++++++ 3 files changed, 40 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java b/src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java index 951f295067..973d736262 100644 --- a/src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java +++ b/src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java @@ -38,6 +38,7 @@ import org.springframework.core.ResolvableType; import org.springframework.data.mapping.PersistentEntity; import org.springframework.data.mapping.PersistentProperty; +import org.springframework.data.mapping.SimpleAssociationHandler; import org.springframework.data.mapping.SimplePropertyHandler; import org.springframework.data.util.KotlinReflectionUtils; import org.springframework.util.Assert; @@ -158,8 +159,9 @@ boolean shouldUsePublicCopyMethod(PersistentEntity<?, ?> entity) { List<PersistentProperty<?>> persistentProperties = new ArrayList<>(); entity.doWithProperties((SimplePropertyHandler) persistentProperties::add); + entity.doWithAssociations((SimpleAssociationHandler) it -> persistentProperties.add(it.getInverse())); - if (persistentProperties.size() > 1) { + if (persistentProperties.size() != 1) { return false; } diff --git a/src/test/java/org/springframework/data/mapping/model/KotlinPropertyAccessorFactoryTests.java b/src/test/java/org/springframework/data/mapping/model/KotlinPropertyAccessorFactoryTests.java index ced816abdf..3a11272234 100644 --- a/src/test/java/org/springframework/data/mapping/model/KotlinPropertyAccessorFactoryTests.java +++ b/src/test/java/org/springframework/data/mapping/model/KotlinPropertyAccessorFactoryTests.java @@ -25,6 +25,7 @@ import java.util.function.Function; import java.util.stream.Stream; +import org.jmolecules.ddd.types.Association; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import org.springframework.beans.BeanUtils; @@ -283,6 +284,27 @@ void shouldUnwrapValueTypeIfNecessary(PersistentPropertyAccessorFactory factory) propertyAccessor.setProperty(createdBy, BeanUtils.instantiateClass(declaredConstructor, "baz")); } + @MethodSource("factories") + @ParameterizedTest // GH-3131 + void shouldApplyCopyForSinglePropertyClass(PersistentPropertyAccessorFactory factory) { + + BasicPersistentEntity<Object, SamplePersistentProperty> entity = mappingContext + .getRequiredPersistentEntity(DataClassWithAssociation.class); + + var foo = Association.forAggregate(new DataClassAggregate(new DataClassId("foo"))); + var bar = Association.forAggregate(new DataClassAggregate(new DataClassId("bar"))); + Object instance = createInstance(entity, parameter -> foo); + + var propertyAccessor = factory.getPropertyAccessor(entity, instance); + var persistentProperty = entity.getRequiredPersistentProperty("assoc"); + + assertThat(propertyAccessor).isNotNull(); + assertThat(propertyAccessor.getProperty(persistentProperty)).isEqualTo(foo); + + propertyAccessor.setProperty(persistentProperty, bar); + assertThat(propertyAccessor.getProperty(persistentProperty)).isEqualTo(bar); + } + private Object createInstance(BasicPersistentEntity<?, SamplePersistentProperty> entity, Function<Parameter<?, ?>, Object> parameterProvider) { return instantiators.getInstantiatorFor(entity).createInstance(entity, diff --git a/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt b/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt index d27659f6e9..e5627e1242 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt @@ -15,6 +15,8 @@ */ package org.springframework.data.mapping.model +import org.jmolecules.ddd.types.AggregateRoot +import org.jmolecules.ddd.types.Identifier import org.springframework.data.annotation.Id import java.time.LocalDateTime @@ -36,6 +38,19 @@ data class DataClassWithLazy( val foo by lazy { 123 } } +data class DataClassWithAssociation( + val assoc: org.jmolecules.ddd.types.Association<DataClassAggregate, DataClassId> +) + +data class DataClassId(val id: String) : Identifier { + +} + +data class DataClassAggregate(val identifier: DataClassId) : + AggregateRoot<DataClassAggregate, DataClassId> { + override fun getId() = this.identifier +} + data class SingleSettableProperty constructor(val id: Double = Math.random()) { val version: Int? = null } From a3b174fdc7a57772829b62652822cd180fb28b91 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 8 Aug 2024 10:18:12 +0200 Subject: [PATCH 027/108] Upgrade to Maven Wrapper 3.9.8. See #3133 --- .mvn/wrapper/maven-wrapper.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 15f4332d38..9375ebd1d9 100755 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ -#Thu Dec 14 08:40:35 CET 2023 -distributionUrl=https\://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.6/apache-maven-3.9.6-bin.zip +#Thu Aug 08 10:18:12 CEST 2024 +distributionUrl=https\://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip From bf574a84d8751a38de88aee61312f4cea934768f Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 8 Aug 2024 10:19:18 +0200 Subject: [PATCH 028/108] Update CI properties. See #3123 --- ci/pipeline.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ci/pipeline.properties b/ci/pipeline.properties index dea8357201..40bb349196 100644 --- a/ci/pipeline.properties +++ b/ci/pipeline.properties @@ -1,6 +1,6 @@ # Java versions -java.main.tag=17.0.9_9-jdk-focal -java.next.tag=21.0.1_12-jdk-jammy +java.main.tag=17.0.12_7-jdk-focal +java.next.tag=22.0.2_9-jdk-jammy # Docker container images - standard docker.java.main.image=library/eclipse-temurin:${java.main.tag} From 619ccd4c4a828908e409d69ed8a5932f6c0b7bc1 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm <oliver.drotbohm@broadcom.com> Date: Thu, 15 Aug 2024 08:38:21 +0200 Subject: [PATCH 029/108] Avoid affecting serialization of custom Page implementations in legacy mode. Registering a StdConverter with Jackson to log a warning about the Page serialization mode causes the target serializer to be only built for Page losing additional properties defined on extensions. We now instead register a no-op BeanSerializerModifier that issues the warning and doesn't affect the serializer selection. Fixes GH-3137. --- .../SpringDataJacksonConfiguration.java | 37 +++++++++------- .../PageImplJsonSerializationUnitTests.java | 24 ++++++++++- ...ringDataJacksonConfigurationUnitTests.java | 42 ------------------- 3 files changed, 45 insertions(+), 58 deletions(-) delete mode 100644 src/test/java/org/springframework/data/web/config/SpringDataJacksonConfigurationUnitTests.java diff --git a/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java b/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java index 4d87e14c2e..460abe39bd 100644 --- a/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java +++ b/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java @@ -15,6 +15,8 @@ */ package org.springframework.data.web.config; +import java.util.List; + import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; @@ -27,8 +29,12 @@ import org.springframework.lang.Nullable; import org.springframework.util.ClassUtils; +import com.fasterxml.jackson.databind.BeanDescription; +import com.fasterxml.jackson.databind.SerializationConfig; import com.fasterxml.jackson.databind.annotation.JsonSerialize; import com.fasterxml.jackson.databind.module.SimpleModule; +import com.fasterxml.jackson.databind.ser.BeanPropertyWriter; +import com.fasterxml.jackson.databind.ser.BeanSerializerModifier; import com.fasterxml.jackson.databind.ser.std.ToStringSerializerBase; import com.fasterxml.jackson.databind.util.StdConverter; @@ -83,7 +89,8 @@ public PageModule(@Nullable SpringDataWebSettings settings) { addSerializer(UNPAGED_TYPE, new UnpagedAsInstanceSerializer()); if (settings == null || settings.pageSerializationMode() == PageSerializationMode.DIRECT) { - setMixInAnnotation(PageImpl.class, WarningMixing.class); + setSerializerModifier(new WarningLoggingModifier()); + } else { setMixInAnnotation(PageImpl.class, WrappingMixing.class); } @@ -109,14 +116,6 @@ public String valueToString(@Nullable Object value) { } } - /** - * A mixin for PageImpl to register a converter issuing the serialization warning. - * - * @author Oliver Drotbohm - */ - @JsonSerialize(converter = PlainPageSerializationWarning.class) - abstract class WarningMixing {} - @JsonSerialize(converter = PageModelConverter.class) abstract class WrappingMixing {} @@ -129,27 +128,35 @@ public PagedModel<?> convert(@Nullable Page<?> value) { } } - static class PlainPageSerializationWarning extends StdConverter<Page<?>, Page<?>> { + /** + * A {@link BeanSerializerModifier} that logs a warning message if an instance of {@link Page} will be rendered. + * + * @author Oliver Drotbohm + */ + static class WarningLoggingModifier extends BeanSerializerModifier { - private static final Logger LOGGER = LoggerFactory.getLogger(PlainPageSerializationWarning.class); + private static final Logger LOGGER = LoggerFactory.getLogger(WarningLoggingModifier.class); private static final String MESSAGE = """ Serializing PageImpl instances as-is is not supported, meaning that there is no guarantee about the stability of the resulting JSON structure! For a stable JSON structure, please use Spring Data's PagedModel (globally via @EnableSpringDataWebSupport(pageSerializationMode = VIA_DTO)) or Spring HATEOAS and Spring Data's PagedResourcesAssembler as documented in https://docs.spring.io/spring-data/commons/reference/repositories/core-extensions.html#core.web.pageables. """; + private static final long serialVersionUID = 954857444010009875L; + private boolean warningRendered = false; - @Nullable @Override - public Page<?> convert(@Nullable Page<?> value) { + public List<BeanPropertyWriter> changeProperties(SerializationConfig config, BeanDescription beanDesc, + List<BeanPropertyWriter> beanProperties) { + + if (Page.class.isAssignableFrom(beanDesc.getBeanClass()) && !warningRendered) { - if (!warningRendered) { this.warningRendered = true; LOGGER.warn(MESSAGE); } - return value; + return super.changeProperties(config, beanDesc, beanProperties); } } } diff --git a/src/test/java/org/springframework/data/web/PageImplJsonSerializationUnitTests.java b/src/test/java/org/springframework/data/web/PageImplJsonSerializationUnitTests.java index 6a52519517..e5a7d34ed6 100644 --- a/src/test/java/org/springframework/data/web/PageImplJsonSerializationUnitTests.java +++ b/src/test/java/org/springframework/data/web/PageImplJsonSerializationUnitTests.java @@ -45,7 +45,16 @@ void serializesPageImplAsPagedModel() { assertJsonRendering(PageSerializationMode.VIA_DTO, "$.content", "$.page"); } + @Test // GH-3137 + void serializesCustomPageAsPageImpl() { + assertJsonRendering(PageSerializationMode.DIRECT, new Extension<>("header"), "$.pageable", "$.last", "$.first"); + } + private static void assertJsonRendering(PageSerializationMode mode, String... jsonPaths) { + assertJsonRendering(mode, new PageImpl<>(Collections.emptyList()), jsonPaths); + } + + private static void assertJsonRendering(PageSerializationMode mode, PageImpl<?> page, String... jsonPaths) { SpringDataWebSettings settings = new SpringDataWebSettings(mode); @@ -54,11 +63,24 @@ private static void assertJsonRendering(PageSerializationMode mode, String... js assertThatNoException().isThrownBy(() -> { - String result = mapper.writeValueAsString(new PageImpl<>(Collections.emptyList())); + String result = mapper.writeValueAsString(page); for (String jsonPath : jsonPaths) { assertThat(JsonPath.<Object> read(result, jsonPath)).isNotNull(); } }); } + + static class Extension<T> extends PageImpl<T> { + + private Object header; + + public Extension(Object header) { + super(Collections.emptyList()); + } + + public Object getHeader() { + return header; + } + } } diff --git a/src/test/java/org/springframework/data/web/config/SpringDataJacksonConfigurationUnitTests.java b/src/test/java/org/springframework/data/web/config/SpringDataJacksonConfigurationUnitTests.java deleted file mode 100644 index 386c63c888..0000000000 --- a/src/test/java/org/springframework/data/web/config/SpringDataJacksonConfigurationUnitTests.java +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright 2024 the original author or authors. - * - * 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 - * - * https://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. - */ -package org.springframework.data.web.config; - -import static org.assertj.core.api.Assertions.*; - -import org.junit.jupiter.api.Test; -import org.springframework.data.domain.PageImpl; -import org.springframework.data.web.config.SpringDataJacksonConfiguration.PageModule; -import org.springframework.data.web.config.SpringDataJacksonConfiguration.PageModule.WarningMixing; - -import com.fasterxml.jackson.databind.ObjectMapper; - -/** - * Unit tests for {@link SpringDataJacksonConfiguration}. - * - * @author Oliver Drotbohm - */ -class SpringDataJacksonConfigurationUnitTests { - - @Test // GH-3101 - void usesDirectRenderingIfNoSpringDataWebSettingsArePresent() { - - ObjectMapper mapper = new ObjectMapper(); - mapper.registerModule(new PageModule(null)); - - assertThat(mapper.getSerializationConfig().findMixInClassFor(PageImpl.class)).isEqualTo(WarningMixing.class); - } -} From 9f42a3a963eb380213012ad73d06f267b76917cc Mon Sep 17 00:00:00 2001 From: Kuyho Chung <kchung1995@gmail.com> Date: Thu, 15 Aug 2024 21:21:04 +0900 Subject: [PATCH 030/108] Corrected the definition of coroutines. Closes #3136 --- src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc b/src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc index cd9178eff9..b02f1191bb 100644 --- a/src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc +++ b/src/main/antora/modules/ROOT/pages/kotlin/coroutines.adoc @@ -1,7 +1,7 @@ [[kotlin.coroutines]] = Coroutines -Kotlin https://kotlinlang.org/docs/reference/coroutines-overview.html[Coroutines] are lightweight threads allowing to write non-blocking code imperatively. +Kotlin https://kotlinlang.org/docs/reference/coroutines-overview.html[Coroutines] are instances of suspendable computations allowing to write non-blocking code imperatively. On language side, `suspend` functions provides an abstraction for asynchronous operations while on library side https://github.com/Kotlin/kotlinx.coroutines[kotlinx.coroutines] provides functions like https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines/async.html[`async { }`] and types like https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/-flow/index.html[`Flow`]. Spring Data modules provide support for Coroutines on the following scope: From 615a01e340586894fba1f166399159b7a1df1b47 Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 16 Aug 2024 10:05:38 +0200 Subject: [PATCH 031/108] Prepare 3.3.3 (2024.0.3). See #3123 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 85fdf1da7f..6a4edcd21f 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.3-SNAPSHOT</version> + <version>3.3.3</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index 0c6e30f29f..b79f28e62b 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3.2 (2024.0.2) +Spring Data Commons 3.3.3 (2024.0.3) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -55,5 +55,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From 5bb0c4ae1476e5d5fe8d08ae937296ed29a5db06 Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 16 Aug 2024 10:05:57 +0200 Subject: [PATCH 032/108] Release version 3.3.3 (2024.0.3). See #3123 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 6a4edcd21f..755253e4b9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.3-SNAPSHOT</version> + <version>3.3.3</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 8a9c0cda2605a6b4c63091eccf6d69f6f76015d1 Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 16 Aug 2024 10:08:53 +0200 Subject: [PATCH 033/108] Prepare next development iteration. See #3123 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 755253e4b9..2d8b5fa853 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.3</version> + <version>3.3.4-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 232410e1fb1b1da019c857b3dbbcdd3a3032ebc9 Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 16 Aug 2024 10:08:54 +0200 Subject: [PATCH 034/108] After release cleanups. See #3123 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 2d8b5fa853..daf8ee7434 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.3</version> + <version>3.3.4-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From e70532770f37c6d0e4ec6fb0b7d36b708b871e89 Mon Sep 17 00:00:00 2001 From: Yanming Zhou <zhouyanming@gmail.com> Date: Fri, 1 Mar 2024 10:18:39 +0800 Subject: [PATCH 035/108] Avoid registering a SpringDataWebSettings bean by default. We now refrain from registering a SpringDataWebSettings instance as bean in the ApplicationContext if @EnableSpringDataWebSupport is used without an explicit declaration of pageSerializationMode. This allows Spring Boot to use the annotation, but allow the attribute value to be configured via a property at the same time. See https://github.com/spring-projects/spring-boot/pull/39797#discussion_r1508396169 for details. Fixes GH-3054. --- .../data/web/config/EnableSpringDataWebSupport.java | 10 +++++++++- .../EnableSpringDataWebSupportIntegrationTests.java | 7 ++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java index de6f4e44bd..32635ef3a4 100644 --- a/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java +++ b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java @@ -69,6 +69,7 @@ * @see SpringDataWebConfiguration * @see HateoasAwareSpringDataWebConfiguration * @author Oliver Gierke + * @author Yanming Zhou */ @Retention(RetentionPolicy.RUNTIME) @Target({ ElementType.TYPE, ElementType.ANNOTATION_TYPE }) @@ -170,6 +171,7 @@ public String[] selectImports(AnnotationMetadata importingClassMetadata) { * {@link EnableSpringDataWebSupport}. * * @author Oliver Drotbohm + * @author Yanming Zhou * @soundtrack Norah Jones - Chasing Pirates * @since 3.3 */ @@ -190,8 +192,14 @@ public void registerBeanDefinitions(AnnotationMetadata importingClassMetadata, B return; } + Object pageSerializationMode = attributes.get("pageSerializationMode"); + + if (pageSerializationMode == PageSerializationMode.DIRECT) { + return; + } + AbstractBeanDefinition definition = BeanDefinitionBuilder.rootBeanDefinition(SpringDataWebSettings.class) - .addConstructorArgValue(attributes.get("pageSerializationMode")) + .addConstructorArgValue(pageSerializationMode) .getBeanDefinition(); String beanName = importBeanNameGenerator.generateBeanName(definition, registry); diff --git a/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java b/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java index a0fb2bae2c..75ca7709d3 100755 --- a/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java +++ b/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java @@ -24,6 +24,7 @@ import org.junit.jupiter.api.Test; +import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; import org.springframework.context.annotation.Bean; @@ -67,7 +68,7 @@ class EnableSpringDataWebSupportIntegrationTests { @Configuration @EnableWebMvc - @EnableSpringDataWebSupport + @EnableSpringDataWebSupport(pageSerializationMode = EnableSpringDataWebSupport.PageSerializationMode.VIA_DTO) static class SampleConfig { @Bean @@ -304,6 +305,10 @@ void registersSpringDataWebSettingsBean() { void usesDirectPageSerializationMode() throws Exception { var applicationContext = WebTestUtils.createApplicationContext(PageSampleConfigWithDirect.class); + + // SpringDataWebSettings shouldn't be registered if pageSerializationMode is default + assertThatExceptionOfType(NoSuchBeanDefinitionException.class).isThrownBy(() -> applicationContext.getBean(SpringDataWebSettings.class)); + var mvc = MockMvcBuilders.webAppContextSetup(applicationContext).build(); mvc.perform(post("/page"))// From d50d9b6263ee7f1af6018ae01d1d36edba845e99 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm <oliver.drotbohm@broadcom.com> Date: Tue, 27 Aug 2024 12:50:44 +0200 Subject: [PATCH 036/108] Polishing. Related ticket GH-3054. --- ...eSpringDataWebSupportIntegrationTests.java | 29 ++++++++++--------- 1 file changed, 16 insertions(+), 13 deletions(-) diff --git a/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java b/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java index 75ca7709d3..10c8909b3d 100755 --- a/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java +++ b/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java @@ -23,7 +23,6 @@ import java.util.List; import org.junit.jupiter.api.Test; - import org.springframework.beans.factory.NoSuchBeanDefinitionException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.ApplicationContext; @@ -68,7 +67,7 @@ class EnableSpringDataWebSupportIntegrationTests { @Configuration @EnableWebMvc - @EnableSpringDataWebSupport(pageSerializationMode = EnableSpringDataWebSupport.PageSerializationMode.VIA_DTO) + @EnableSpringDataWebSupport static class SampleConfig { @Bean @@ -292,35 +291,39 @@ void picksUpEntityPathResolverIfRegistered() { .isEqualTo(CustomEntityPathResolver.resolver); } - @Test // GH-3024 - void registersSpringDataWebSettingsBean() { + @Test // GH-3024, GH-3054 + void doesNotRegistersSpringDataWebSettingsBeanByDefault() { ApplicationContext context = WebTestUtils.createApplicationContext(SampleConfig.class); - assertThatNoException().isThrownBy(() -> context.getBean(SpringDataWebSettings.class)); + assertThatExceptionOfType(NoSuchBeanDefinitionException.class) + .isThrownBy(() -> context.getBean(SpringDataWebSettings.class)); assertThatNoException().isThrownBy(() -> context.getBean(PageModule.class)); } - @Test // GH-3024 + @Test // GH-3024, GH-3054 void usesDirectPageSerializationMode() throws Exception { - var applicationContext = WebTestUtils.createApplicationContext(PageSampleConfigWithDirect.class); + var context = WebTestUtils.createApplicationContext(PageSampleConfigWithDirect.class); - // SpringDataWebSettings shouldn't be registered if pageSerializationMode is default - assertThatExceptionOfType(NoSuchBeanDefinitionException.class).isThrownBy(() -> applicationContext.getBean(SpringDataWebSettings.class)); + assertThatExceptionOfType(NoSuchBeanDefinitionException.class) + .isThrownBy(() -> context.getBean(SpringDataWebSettings.class)); - var mvc = MockMvcBuilders.webAppContextSetup(applicationContext).build(); + var mvc = MockMvcBuilders.webAppContextSetup(context).build(); mvc.perform(post("/page"))// .andExpect(status().isOk()) // .andExpect(jsonPath("$.pageable").exists()); } - @Test // GH-3024 + @Test // GH-3024, GH-3054 void usesViaDtoPageSerializationMode() throws Exception { - var applicationContext = WebTestUtils.createApplicationContext(PageSampleConfigWithViaDto.class); - var mvc = MockMvcBuilders.webAppContextSetup(applicationContext).build(); + var context = WebTestUtils.createApplicationContext(PageSampleConfigWithViaDto.class); + + assertThatNoException().isThrownBy(() -> context.getBean(SpringDataWebSettings.class)); + + var mvc = MockMvcBuilders.webAppContextSetup(context).build(); mvc.perform(post("/page")) // .andExpect(status().isOk()) // From 5619b7d2c3f9f055dae6e6aff041b835a9037822 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm <oliver.drotbohm@broadcom.com> Date: Wed, 28 Aug 2024 22:14:46 +0200 Subject: [PATCH 037/108] ProxyHandlerMethodArgumentResolver now avoids matching parameters annotated with Spring annotation. We now explicitly do not match handler method parameters that are annotated with anything but @ModelAttribute or @ProjectedPayload. This prevents us accidentally opting into parameter handling for annotated parameters that use interfaces for their declaration and are supposed to be handled by some other infrastructure. Fixes GH-2937. --- ...ProxyingHandlerMethodArgumentResolver.java | 14 +++++++- .../java/{ => example}/SampleInterface.java | 3 ++ ...andlerMethodArgumentResolverUnitTests.java | 32 ++++++++++++++++++- 3 files changed, 47 insertions(+), 2 deletions(-) rename src/test/java/{ => example}/SampleInterface.java (97%) diff --git a/src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java index a21117aac8..0d4313b4a8 100644 --- a/src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java @@ -15,6 +15,7 @@ */ package org.springframework.data.web; +import java.lang.annotation.Annotation; import java.util.Arrays; import java.util.List; @@ -30,6 +31,7 @@ import org.springframework.data.projection.SpelAwareProxyProjectionFactory; import org.springframework.util.ClassUtils; import org.springframework.web.bind.WebDataBinder; +import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.support.WebDataBinderFactory; import org.springframework.web.context.request.NativeWebRequest; import org.springframework.web.method.annotation.ModelAttributeMethodProcessor; @@ -87,7 +89,8 @@ public boolean supportsParameter(MethodParameter parameter) { } // Annotated parameter - if (parameter.getParameterAnnotation(ProjectedPayload.class) != null) { + if (parameter.getParameterAnnotation(ProjectedPayload.class) != null + || parameter.getParameterAnnotation(ModelAttribute.class) != null) { return true; } @@ -96,6 +99,15 @@ public boolean supportsParameter(MethodParameter parameter) { return true; } + // Exclude parameters annotated with Spring annotation + if (Arrays.stream(parameter.getParameterAnnotations()) + .map(Annotation::annotationType) + .map(Class::getPackageName) + .anyMatch(it -> it.startsWith("org.springframework"))) { + + return false; + } + // Fallback for only user defined interfaces String packageName = ClassUtils.getPackageName(type); diff --git a/src/test/java/SampleInterface.java b/src/test/java/example/SampleInterface.java similarity index 97% rename from src/test/java/SampleInterface.java rename to src/test/java/example/SampleInterface.java index 63cd44993c..df4670612e 100644 --- a/src/test/java/SampleInterface.java +++ b/src/test/java/example/SampleInterface.java @@ -18,4 +18,7 @@ * @author Oliver Gierke * @see org.springframework.data.web.ProxyingHandlerMethodArgumentResolverUnitTests */ +package example; + + public interface SampleInterface {} diff --git a/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java index ef24f46e24..602efd22fa 100755 --- a/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java @@ -17,12 +17,16 @@ import static org.assertj.core.api.Assertions.*; +import example.SampleInterface; + import java.util.List; import org.junit.jupiter.api.Test; +import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.MethodParameter; import org.springframework.core.convert.support.DefaultConversionService; -import org.springframework.data.web.ProjectingJackson2HttpMessageConverterUnitTests.SampleInterface; +import org.springframework.util.ReflectionUtils; +import org.springframework.web.bind.annotation.ModelAttribute; /** * Unit tests for {@link ProxyingHandlerMethodArgumentResolver}. @@ -72,6 +76,28 @@ void doesNotSupportCoreJavaType() throws Exception { assertThat(resolver.supportsParameter(parameter)).isFalse(); } + @Test // GH-2937 + void doesNotSupportForeignSpringAnnotations() throws Exception { + + var parameter = getParameter("withForeignAnnotation", SampleInterface.class); + + assertThat(resolver.supportsParameter(parameter)).isFalse(); + } + + @Test // GH-2937 + void doesSupportAtModelAttribute() throws Exception { + + var parameter = getParameter("withModelAttribute", SampleInterface.class); + + assertThat(resolver.supportsParameter(parameter)).isTrue(); + } + + private static MethodParameter getParameter(String methodName, Class<?> parameterType) { + + var method = ReflectionUtils.findMethod(Controller.class, methodName, parameterType); + return new MethodParameter(method, 0); + } + @ProjectedPayload interface AnnotatedInterface {} @@ -86,5 +112,9 @@ interface Controller { void with(SampleInterface param); void with(List<Object> param); + + void withForeignAnnotation(@Autowired SampleInterface param); + + void withModelAttribute(@ModelAttribute SampleInterface param); } } From 7721c6eadd3cf7c8bb69e833184ffde1962ec793 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm <oliver.drotbohm@broadcom.com> Date: Wed, 28 Aug 2024 22:15:04 +0200 Subject: [PATCH 038/108] Polishing. Related ticket GH-2937. --- ...yingHandlerMethodArgumentResolverUnitTests.java | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java index 602efd22fa..39134ac5f8 100755 --- a/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java @@ -35,7 +35,7 @@ * @soundtrack Karlijn Langendijk & Sönke Meinen - Englishman In New York (Sting, * https://www.youtube.com/watch?v=O7LZsqrnaaA) */ -public class ProxyingHandlerMethodArgumentResolverUnitTests { +class ProxyingHandlerMethodArgumentResolverUnitTests { ProxyingHandlerMethodArgumentResolver resolver = new ProxyingHandlerMethodArgumentResolver( () -> new DefaultConversionService(), true); @@ -43,8 +43,7 @@ public class ProxyingHandlerMethodArgumentResolverUnitTests { @Test // DATACMNS-776 void supportAnnotatedInterface() throws Exception { - var method = Controller.class.getMethod("with", AnnotatedInterface.class); - var parameter = new MethodParameter(method, 0); + var parameter = getParameter("with", AnnotatedInterface.class); assertThat(resolver.supportsParameter(parameter)).isTrue(); } @@ -52,8 +51,7 @@ void supportAnnotatedInterface() throws Exception { @Test // DATACMNS-776 void supportsUnannotatedInterfaceFromUserPackage() throws Exception { - var method = Controller.class.getMethod("with", SampleInterface.class); - var parameter = new MethodParameter(method, 0); + var parameter = getParameter("with", SampleInterface.class); assertThat(resolver.supportsParameter(parameter)).isTrue(); } @@ -61,8 +59,7 @@ void supportsUnannotatedInterfaceFromUserPackage() throws Exception { @Test // DATACMNS-776 void doesNotSupportUnannotatedInterfaceFromSpringNamespace() throws Exception { - var method = Controller.class.getMethod("with", UnannotatedInterface.class); - var parameter = new MethodParameter(method, 0); + var parameter = getParameter("with", UnannotatedInterface.class); assertThat(resolver.supportsParameter(parameter)).isFalse(); } @@ -70,8 +67,7 @@ void doesNotSupportUnannotatedInterfaceFromSpringNamespace() throws Exception { @Test // DATACMNS-776 void doesNotSupportCoreJavaType() throws Exception { - var method = Controller.class.getMethod("with", List.class); - var parameter = new MethodParameter(method, 0); + var parameter = getParameter("with", List.class); assertThat(resolver.supportsParameter(parameter)).isFalse(); } From 53dfd0263f42950ab8add5578969d1114a764ad2 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 29 Aug 2024 09:58:26 +0200 Subject: [PATCH 039/108] Split projections document fragment into multiple subfragments. Closes #3144 --- .../pages/repositories/projections-class.adoc | 59 ++++ .../repositories/projections-interface.adoc | 178 ++++++++++++ .../pages/repositories/projections-intro.adoc | 36 +++ .../ROOT/pages/repositories/projections.adoc | 256 +----------------- 4 files changed, 276 insertions(+), 253 deletions(-) create mode 100644 src/main/antora/modules/ROOT/pages/repositories/projections-class.adoc create mode 100644 src/main/antora/modules/ROOT/pages/repositories/projections-interface.adoc create mode 100644 src/main/antora/modules/ROOT/pages/repositories/projections-intro.adoc diff --git a/src/main/antora/modules/ROOT/pages/repositories/projections-class.adoc b/src/main/antora/modules/ROOT/pages/repositories/projections-class.adoc new file mode 100644 index 0000000000..e07bb86d4a --- /dev/null +++ b/src/main/antora/modules/ROOT/pages/repositories/projections-class.adoc @@ -0,0 +1,59 @@ +ifndef::projection-collection[] +:projection-collection: Collection +endif::[] + +[[projections.dtos]] += Class-based Projections (DTOs) + +Another way of defining projections is by using value type DTOs (Data Transfer Objects) that hold properties for the fields that are supposed to be retrieved. +These DTO types can be used in exactly the same way projection interfaces are used, except that no proxying happens and no nested projections can be applied. + +If the store optimizes the query execution by limiting the fields to be loaded, the fields to be loaded are determined from the parameter names of the constructor that is exposed. + +The following example shows a projecting DTO: + +.A projecting DTO +[source,java] +---- +record NamesOnly(String firstname, String lastname) { +} +---- + +Java Records are ideal to define DTO types since they adhere to value semantics: +All fields are `private final` and ``equals(…)``/``hashCode()``/``toString()`` methods are created automatically. +Alternatively, you can use any class that defines the properties you want to project. + +[[projection.dynamic]] +== Dynamic Projections + +So far, we have used the projection type as the return type or element type of a collection. +However, you might want to select the type to be used at invocation time (which makes it dynamic). +To apply dynamic projections, use a query method such as the one shown in the following example: + +.A repository using a dynamic projection parameter +[source,java,subs="+attributes"] +---- +interface PersonRepository extends Repository<Person, UUID> { + + <T> {projection-collection}<T> findByLastname(String lastname, Class<T> type); +} +---- + +This way, the method can be used to obtain the aggregates as is or with a projection applied, as shown in the following example: + +.Using a repository with dynamic projections +[source,java,subs="+attributes"] +---- +void someMethod(PersonRepository people) { + + {projection-collection}<Person> aggregates = + people.findByLastname("Matthews", Person.class); + + {projection-collection}<NamesOnly> aggregates = + people.findByLastname("Matthews", NamesOnly.class); +} +---- + +NOTE: Query parameters of type `Class` are inspected whether they qualify as dynamic projection parameter. +If the actual return type of the query equals the generic parameter type of the `Class` parameter, then the matching `Class` parameter is not available for usage within the query or SpEL expressions. +If you want to use a `Class` parameter as query argument then make sure to use a different generic parameter, for example `Class<?>`. diff --git a/src/main/antora/modules/ROOT/pages/repositories/projections-interface.adoc b/src/main/antora/modules/ROOT/pages/repositories/projections-interface.adoc new file mode 100644 index 0000000000..e1840828d4 --- /dev/null +++ b/src/main/antora/modules/ROOT/pages/repositories/projections-interface.adoc @@ -0,0 +1,178 @@ +ifndef::projection-collection[] +:projection-collection: Collection +endif::[] + +[[projections.interfaces]] += Interface-based Projections + +The easiest way to limit the result of the queries to only the name attributes is by declaring an interface that exposes accessor methods for the properties to be read, as shown in the following example: + +.A projection interface to retrieve a subset of attributes +[source,java] +---- +interface NamesOnly { + + String getFirstname(); + String getLastname(); +} +---- + +The important bit here is that the properties defined here exactly match properties in the aggregate root. +Doing so lets a query method be added as follows: + +.A repository using an interface based projection with a query method +[source,java,subs="+attributes"] +---- +interface PersonRepository extends Repository<Person, UUID> { + + {projection-collection}<NamesOnly> findByLastname(String lastname); +} +---- + +The query execution engine creates proxy instances of that interface at runtime for each element returned and forwards calls to the exposed methods to the target object. + +NOTE: Declaring a method in your `Repository` that overrides a base method (e.g. declared in `CrudRepository`, a store-specific repository interface, or the `Simple…Repository`) results in a call to the base method regardless of the declared return type. +Make sure to use a compatible return type as base methods cannot be used for projections. +Some store modules support `@Query` annotations to turn an overridden base method into a query method that then can be used to return projections. + +[[projections.interfaces.nested]] +Projections can be used recursively. +If you want to include some of the `Address` information as well, create a projection interface for that and return that interface from the declaration of `getAddress()`, as shown in the following example: + +.A projection interface to retrieve a subset of attributes +[source,java] +---- +interface PersonSummary { + + String getFirstname(); + String getLastname(); + AddressSummary getAddress(); + + interface AddressSummary { + String getCity(); + } +} +---- + +On method invocation, the `address` property of the target instance is obtained and wrapped into a projecting proxy in turn. + +[[projections.interfaces.closed]] +== Closed Projections + +A projection interface whose accessor methods all match properties of the target aggregate is considered to be a closed projection. +The following example (which we used earlier in this chapter, too) is a closed projection: + +.A closed projection +[source,java] +---- +interface NamesOnly { + + String getFirstname(); + String getLastname(); +} +---- + +If you use a closed projection, Spring Data can optimize the query execution, because we know about all the attributes that are needed to back the projection proxy. +For more details on that, see the module-specific part of the reference documentation. + +[[projections.interfaces.open]] +== Open Projections + +Accessor methods in projection interfaces can also be used to compute new values by using the `@Value` annotation, as shown in the following example: + +[[projections.interfaces.open.simple]] +.An Open Projection +[source,java] +---- +interface NamesOnly { + + @Value("#{target.firstname + ' ' + target.lastname}") + String getFullName(); + … +} +---- + +The aggregate root backing the projection is available in the `target` variable. +A projection interface using `@Value` is an open projection. +Spring Data cannot apply query execution optimizations in this case, because the SpEL expression could use any attribute of the aggregate root. + +The expressions used in `@Value` should not be too complex -- you want to avoid programming in `String` variables. +For very simple expressions, one option might be to resort to default methods (introduced in Java 8), as shown in the following example: + +[[projections.interfaces.open.default]] +.A projection interface using a default method for custom logic +[source,java] +---- +interface NamesOnly { + + String getFirstname(); + String getLastname(); + + default String getFullName() { + return getFirstname().concat(" ").concat(getLastname()); + } +} +---- + +This approach requires you to be able to implement logic purely based on the other accessor methods exposed on the projection interface. +A second, more flexible, option is to implement the custom logic in a Spring bean and then invoke that from the SpEL expression, as shown in the following example: + +[[projections.interfaces.open.bean-reference]] +.Sample Person object +[source,java] +---- +@Component +class MyBean { + + String getFullName(Person person) { + … + } +} + +interface NamesOnly { + + @Value("#{@myBean.getFullName(target)}") + String getFullName(); + … +} +---- + +Notice how the SpEL expression refers to `myBean` and invokes the `getFullName(…)` method and forwards the projection target as a method parameter. +Methods backed by SpEL expression evaluation can also use method parameters, which can then be referred to from the expression. +The method parameters are available through an `Object` array named `args`. +The following example shows how to get a method parameter from the `args` array: + +.Sample Person object +[source,java] +---- +interface NamesOnly { + + @Value("#{args[0] + ' ' + target.firstname + '!'}") + String getSalutation(String prefix); +} +---- + +Again, for more complex expressions, you should use a Spring bean and let the expression invoke a method, as described <<projections.interfaces.open.bean-reference,earlier>>. + +[[projections.interfaces.nullable-wrappers]] +== Nullable Wrappers + +Getters in projection interfaces can make use of nullable wrappers for improved null-safety. +Currently supported wrapper types are: + +* `java.util.Optional` +* `com.google.common.base.Optional` +* `scala.Option` +* `io.vavr.control.Option` + +.A projection interface using nullable wrappers +[source,java] +---- +interface NamesOnly { + + Optional<String> getFirstname(); +} +---- + +If the underlying projection value is not `null`, then values are returned using the present-representation of the wrapper type. +In case the backing value is `null`, then the getter method returns the empty representation of the used wrapper type. diff --git a/src/main/antora/modules/ROOT/pages/repositories/projections-intro.adoc b/src/main/antora/modules/ROOT/pages/repositories/projections-intro.adoc new file mode 100644 index 0000000000..5116fa500b --- /dev/null +++ b/src/main/antora/modules/ROOT/pages/repositories/projections-intro.adoc @@ -0,0 +1,36 @@ +ifndef::projection-collection[] +:projection-collection: Collection +endif::[] + +Spring Data query methods usually return one or multiple instances of the aggregate root managed by the repository. +However, it might sometimes be desirable to create projections based on certain attributes of those types. +Spring Data allows modeling dedicated return types, to more selectively retrieve partial views of the managed aggregates. + +Imagine a repository and aggregate root type such as the following example: + +.A sample aggregate and repository +[source,java,subs="+attributes"] +---- +class Person { + + @Id UUID id; + String firstname, lastname; + Address address; + + static class Address { + String zipCode, city, street; + } +} + +interface PersonRepository extends Repository<Person, UUID> { + + {projection-collection}<Person> findByLastname(String lastname); +} +---- + +Now imagine that we want to retrieve the person's name attributes only. +What means does Spring Data offer to achieve this? +The rest of this chapter answers that question. + +NOTE: Projection types are types residing outside the entity's type hierarchy. +Superclasses and interfaces implemented by the entity are inside the type hierarchy hence returning a supertype (or implemented interface) returns an instance of the fully materialized entity. diff --git a/src/main/antora/modules/ROOT/pages/repositories/projections.adoc b/src/main/antora/modules/ROOT/pages/repositories/projections.adoc index 0b28b8dd37..402096f07b 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/projections.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/projections.adoc @@ -5,259 +5,9 @@ endif::[] [[projections]] = Projections -Spring Data query methods usually return one or multiple instances of the aggregate root managed by the repository. -However, it might sometimes be desirable to create projections based on certain attributes of those types. -Spring Data allows modeling dedicated return types, to more selectively retrieve partial views of the managed aggregates. +include::projections-intro.adoc[] -Imagine a repository and aggregate root type such as the following example: +include::projections-interface.adoc[leveloffset=1] -.A sample aggregate and repository -[source, java, subs="+attributes"] ----- -class Person { +include::projections-class.adoc[leveloffset=1] - @Id UUID id; - String firstname, lastname; - Address address; - - static class Address { - String zipCode, city, street; - } -} - -interface PersonRepository extends Repository<Person, UUID> { - - {projection-collection}<Person> findByLastname(String lastname); -} ----- - -Now imagine that we want to retrieve the person's name attributes only. -What means does Spring Data offer to achieve this? The rest of this chapter answers that question. - -NOTE: Projection types are types residing outside the entity's type hierarchy. -Superclasses and interfaces implemented by the entity are inside the type hierarchy hence returning a supertype (or implemented interface) returns an instance of the fully materialized entity. - -[[projections.interfaces]] -== Interface-based Projections - -The easiest way to limit the result of the queries to only the name attributes is by declaring an interface that exposes accessor methods for the properties to be read, as shown in the following example: - -.A projection interface to retrieve a subset of attributes -[source, java] ----- -interface NamesOnly { - - String getFirstname(); - String getLastname(); -} ----- - -The important bit here is that the properties defined here exactly match properties in the aggregate root. -Doing so lets a query method be added as follows: - -.A repository using an interface based projection with a query method -[source, java, subs="+attributes"] ----- -interface PersonRepository extends Repository<Person, UUID> { - - {projection-collection}<NamesOnly> findByLastname(String lastname); -} ----- - -The query execution engine creates proxy instances of that interface at runtime for each element returned and forwards calls to the exposed methods to the target object. - -NOTE: Declaring a method in your `Repository` that overrides a base method (e.g. declared in `CrudRepository`, a store-specific repository interface, or the `Simple…Repository`) results in a call to the base method regardless of the declared return type. Make sure to use a compatible return type as base methods cannot be used for projections. Some store modules support `@Query` annotations to turn an overridden base method into a query method that then can be used to return projections. - -[[projections.interfaces.nested]] -Projections can be used recursively. If you want to include some of the `Address` information as well, create a projection interface for that and return that interface from the declaration of `getAddress()`, as shown in the following example: - -.A projection interface to retrieve a subset of attributes -[source, java] ----- -interface PersonSummary { - - String getFirstname(); - String getLastname(); - AddressSummary getAddress(); - - interface AddressSummary { - String getCity(); - } -} ----- - -On method invocation, the `address` property of the target instance is obtained and wrapped into a projecting proxy in turn. - -[[projections.interfaces.closed]] -=== Closed Projections - -A projection interface whose accessor methods all match properties of the target aggregate is considered to be a closed projection. The following example (which we used earlier in this chapter, too) is a closed projection: - -.A closed projection -[source, java] ----- -interface NamesOnly { - - String getFirstname(); - String getLastname(); -} ----- - -If you use a closed projection, Spring Data can optimize the query execution, because we know about all the attributes that are needed to back the projection proxy. -For more details on that, see the module-specific part of the reference documentation. - -[[projections.interfaces.open]] -=== Open Projections - -Accessor methods in projection interfaces can also be used to compute new values by using the `@Value` annotation, as shown in the following example: - -[[projections.interfaces.open.simple]] -.An Open Projection -[source, java] ----- -interface NamesOnly { - - @Value("#{target.firstname + ' ' + target.lastname}") - String getFullName(); - … -} ----- - -The aggregate root backing the projection is available in the `target` variable. -A projection interface using `@Value` is an open projection. -Spring Data cannot apply query execution optimizations in this case, because the SpEL expression could use any attribute of the aggregate root. - -The expressions used in `@Value` should not be too complex -- you want to avoid programming in `String` variables. -For very simple expressions, one option might be to resort to default methods (introduced in Java 8), as shown in the following example: - -[[projections.interfaces.open.default]] -.A projection interface using a default method for custom logic -[source, java] ----- -interface NamesOnly { - - String getFirstname(); - String getLastname(); - - default String getFullName() { - return getFirstname().concat(" ").concat(getLastname()); - } -} ----- - -This approach requires you to be able to implement logic purely based on the other accessor methods exposed on the projection interface. -A second, more flexible, option is to implement the custom logic in a Spring bean and then invoke that from the SpEL expression, as shown in the following example: - -[[projections.interfaces.open.bean-reference]] -.Sample Person object -[source, java] ----- -@Component -class MyBean { - - String getFullName(Person person) { - … - } -} - -interface NamesOnly { - - @Value("#{@myBean.getFullName(target)}") - String getFullName(); - … -} ----- - -Notice how the SpEL expression refers to `myBean` and invokes the `getFullName(…)` method and forwards the projection target as a method parameter. -Methods backed by SpEL expression evaluation can also use method parameters, which can then be referred to from the expression. -The method parameters are available through an `Object` array named `args`. The following example shows how to get a method parameter from the `args` array: - -.Sample Person object -[source, java] ----- -interface NamesOnly { - - @Value("#{args[0] + ' ' + target.firstname + '!'}") - String getSalutation(String prefix); -} ----- - -Again, for more complex expressions, you should use a Spring bean and let the expression invoke a method, as described <<projections.interfaces.open.bean-reference,earlier>>. - -[[projections.interfaces.nullable-wrappers]] -=== Nullable Wrappers - -Getters in projection interfaces can make use of nullable wrappers for improved null-safety. Currently supported wrapper types are: - -* `java.util.Optional` -* `com.google.common.base.Optional` -* `scala.Option` -* `io.vavr.control.Option` - -.A projection interface using nullable wrappers -[source, java] ----- -interface NamesOnly { - - Optional<String> getFirstname(); -} ----- - -If the underlying projection value is not `null`, then values are returned using the present-representation of the wrapper type. -In case the backing value is `null`, then the getter method returns the empty representation of the used wrapper type. - -[[projections.dtos]] -== Class-based Projections (DTOs) - -Another way of defining projections is by using value type DTOs (Data Transfer Objects) that hold properties for the fields that are supposed to be retrieved. -These DTO types can be used in exactly the same way projection interfaces are used, except that no proxying happens and no nested projections can be applied. - -If the store optimizes the query execution by limiting the fields to be loaded, the fields to be loaded are determined from the parameter names of the constructor that is exposed. - -The following example shows a projecting DTO: - -.A projecting DTO -[source,java] ----- -record NamesOnly(String firstname, String lastname) { -} ----- - -Java Records are ideal to define DTO types since they adhere to value semantics: -All fields are `private final` and ``equals(…)``/``hashCode()``/``toString()`` methods are created automatically. -Alternatively, you can use any class that defines the properties you want to project. - -[[projection.dynamic]] -== Dynamic Projections - -So far, we have used the projection type as the return type or element type of a collection. -However, you might want to select the type to be used at invocation time (which makes it dynamic). -To apply dynamic projections, use a query method such as the one shown in the following example: - -.A repository using a dynamic projection parameter -[source,java,subs="+attributes"] ----- -interface PersonRepository extends Repository<Person, UUID> { - - <T> {projection-collection}<T> findByLastname(String lastname, Class<T> type); -} ----- - -This way, the method can be used to obtain the aggregates as is or with a projection applied, as shown in the following example: - -.Using a repository with dynamic projections -[source,java,subs="+attributes"] ----- -void someMethod(PersonRepository people) { - - {projection-collection}<Person> aggregates = - people.findByLastname("Matthews", Person.class); - - {projection-collection}<NamesOnly> aggregates = - people.findByLastname("Matthews", NamesOnly.class); -} ----- - -NOTE: Query parameters of type `Class` are inspected whether they qualify as dynamic projection parameter. -If the actual return type of the query equals the generic parameter type of the `Class` parameter, then the matching `Class` parameter is not available for usage within the query or SpEL expressions. -If you want to use a `Class` parameter as query argument then make sure to use a different generic parameter, for example `Class<?>`. From e3c9b018271d9d03f97edaf41ddf819339e34052 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Mon, 2 Sep 2024 14:36:05 +0200 Subject: [PATCH 040/108] Specialize Kotlin property accessors in `KotlinBeanInfoFactory`. We now attempt to detect property accessors for properties declared in Kotlin that do not have a Kotlin-style accessor but one that instead comes from an interface. Also, we specialize accessor methods that are inherited from a Java superclass but override accessors in the Kotlin realm. Closes #3140 Closes #3146 --- .../data/util/KotlinBeanInfoFactory.java | 48 ++++++++++++++++--- .../org/springframework/data/util/Animal.java | 29 +++++++++++ .../util/KotlinBeanInfoFactoryUnitTests.kt | 46 ++++++++++++++++-- 3 files changed, 113 insertions(+), 10 deletions(-) create mode 100644 src/test/java/org/springframework/data/util/Animal.java diff --git a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java index c6350647d8..d7e0a6d29a 100644 --- a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java +++ b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java @@ -29,14 +29,19 @@ import java.beans.SimpleBeanInfo; import java.lang.reflect.Method; import java.lang.reflect.Modifier; -import java.util.Arrays; -import java.util.LinkedHashSet; -import java.util.Set; +import java.lang.reflect.Type; +import java.util.Collection; +import java.util.LinkedHashMap; +import java.util.Map; import org.springframework.beans.BeanInfoFactory; import org.springframework.beans.BeanUtils; import org.springframework.core.KotlinDetector; import org.springframework.core.Ordered; +import org.springframework.lang.Nullable; +import org.springframework.util.ClassUtils; +import org.springframework.util.ReflectionUtils; +import org.springframework.util.StringUtils; /** * {@link BeanInfoFactory} specific to Kotlin types using Kotlin reflection to determine bean properties. @@ -60,7 +65,8 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { } KClass<?> kotlinClass = JvmClassMappingKt.getKotlinClass(beanClass); - Set<PropertyDescriptor> pds = new LinkedHashSet<>(); + Collection<KCallable<?>> members = kotlinClass.getMembers(); + Map<String, PropertyDescriptor> descriptors = new LinkedHashMap<>(members.size(), 1.f); for (KCallable<?> member : kotlinClass.getMembers()) { @@ -69,6 +75,16 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { Method getter = ReflectJvmMapping.getJavaGetter(property); Method setter = property instanceof KMutableProperty<?> kmp ? ReflectJvmMapping.getJavaSetter(kmp) : null; + if (getter == null) { + Type javaType = ReflectJvmMapping.getJavaType(property.getReturnType()); + getter = ReflectionUtils.findMethod(beanClass, + javaType == Boolean.TYPE ? "is" : "get" + StringUtils.capitalize(property.getName())); + } + + if (getter != null) { + getter = ClassUtils.getMostSpecificMethod(getter, beanClass); + } + if (getter != null && (Modifier.isStatic(getter.getModifiers()) || getter.getParameterCount() != 0)) { continue; } @@ -80,7 +96,7 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { } } - pds.add(new PropertyDescriptor(property.getName(), getter, setter)); + descriptors.put(property.getName(), new PropertyDescriptor(property.getName(), getter, setter)); } } @@ -93,9 +109,17 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { if (javaClass != Object.class) { PropertyDescriptor[] javaPropertyDescriptors = BeanUtils.getPropertyDescriptors(javaClass); - pds.addAll(Arrays.asList(javaPropertyDescriptors)); + + for (PropertyDescriptor descriptor : javaPropertyDescriptors) { + + descriptor = new PropertyDescriptor(descriptor.getName(), specialize(beanClass, descriptor.getReadMethod()), + specialize(beanClass, descriptor.getWriteMethod())); + descriptors.put(descriptor.getName(), descriptor); + } } + PropertyDescriptor[] propertyDescriptors = descriptors.values().toArray(new PropertyDescriptor[0]); + return new SimpleBeanInfo() { @Override public BeanDescriptor getBeanDescriptor() { @@ -104,11 +128,21 @@ public BeanDescriptor getBeanDescriptor() { @Override public PropertyDescriptor[] getPropertyDescriptors() { - return pds.toArray(new PropertyDescriptor[0]); + return propertyDescriptors; } }; } + @Nullable + private static Method specialize(Class<?> beanClass, @Nullable Method method) { + + if (method == null) { + return method; + } + + return ClassUtils.getMostSpecificMethod(method, beanClass); + } + @Override public int getOrder() { return LOWEST_PRECEDENCE - 10; // leave some space for customizations. diff --git a/src/test/java/org/springframework/data/util/Animal.java b/src/test/java/org/springframework/data/util/Animal.java new file mode 100644 index 0000000000..69c012adf3 --- /dev/null +++ b/src/test/java/org/springframework/data/util/Animal.java @@ -0,0 +1,29 @@ +/* + * Copyright 2024 the original author or authors. + * + * 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 + * + * https://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. + */ +package org.springframework.data.util; + +public class Animal { + + private String name; + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } +} diff --git a/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt index ada3014b61..f02c98a87c 100644 --- a/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt @@ -18,6 +18,8 @@ package org.springframework.data.util import org.assertj.core.api.Assertions.assertThat import org.junit.jupiter.api.Test import org.springframework.beans.BeanUtils +import org.springframework.data.annotation.Id +import org.springframework.data.domain.Persistable import org.springframework.data.repository.Repository import org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport import org.springframework.data.repository.core.support.RepositoryFactorySupport @@ -95,9 +97,11 @@ class KotlinBeanInfoFactoryUnitTests { @Test // GH-2994 internal fun includesPropertiesFromJavaSupertypes() { - val pds = BeanUtils.getPropertyDescriptors(MyRepositoryFactoryBeanImpl::class.java) + val pds = + BeanUtils.getPropertyDescriptors(MyRepositoryFactoryBeanImpl::class.java) - assertThat(pds).extracting("name").contains("myQueryLookupStrategyKey", "repositoryBaseClass") + assertThat(pds).extracting("name") + .contains("myQueryLookupStrategyKey", "repositoryBaseClass") } @Test // GH-2993 @@ -110,6 +114,22 @@ class KotlinBeanInfoFactoryUnitTests { assertThat(pds[0].readMethod).isNotNull() } + @Test // GH-3140 + internal fun specializesBeanMethods() { + + var pds = BeanUtils.getPropertyDescriptors(Entity::class.java) + + assertThat(pds.find { it.name == "id" }!!.readMethod!!.declaringClass).isEqualTo( + Entity::class.java + ) + + pds = BeanUtils.getPropertyDescriptors(DogEntity::class.java) + + assertThat(pds.find { it.name == "name" }!!.readMethod!!.declaringClass).isEqualTo( + DogEntity::class.java + ) + } + data class SimpleDataClass(val id: String, var name: String) @JvmInline @@ -127,7 +147,8 @@ class KotlinBeanInfoFactoryUnitTests { Foo, Bar } - class MyRepositoryFactoryBeanImpl<R, E, I>(repository: Class<R>) : RepositoryFactoryBeanSupport<R, E, I>(repository) + class MyRepositoryFactoryBeanImpl<R, E, I>(repository: Class<R>) : + RepositoryFactoryBeanSupport<R, E, I>(repository) where R : Repository<E, I>, E : Any, I : Any { private var myQueryLookupStrategyKey: String @@ -149,4 +170,23 @@ class KotlinBeanInfoFactoryUnitTests { override var end: Long = -1L protected set } + + class Entity( + private val id: Long? = null, + + val name: String + ) : Persistable<Long> { + + override fun getId(): Long? = id + + override fun isNew(): Boolean = id == null + } + + open class DogEntity : Animal() { + + @Id + override fun getName(): String { + return super.getName() + } + } } From 1d96d57342255e81a8491883e657e9c8974fec4f Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 13 Sep 2024 11:36:34 +0200 Subject: [PATCH 041/108] Prepare 3.3.4 (2024.0.4). See #3139 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index daf8ee7434..4e922b0784 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.4-SNAPSHOT</version> + <version>3.3.4</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index b79f28e62b..e561912d7e 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3.3 (2024.0.3) +Spring Data Commons 3.3.4 (2024.0.4) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -56,5 +56,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From 0b53d93ffe723faaad8f76c8d821a631ce38b6be Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 13 Sep 2024 11:36:54 +0200 Subject: [PATCH 042/108] Release version 3.3.4 (2024.0.4). See #3139 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 4e922b0784..ea417d74c9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.4-SNAPSHOT</version> + <version>3.3.4</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 6d1fe6829032f12f6912752a20335edcd9abab3e Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 13 Sep 2024 11:40:08 +0200 Subject: [PATCH 043/108] Prepare next development iteration. See #3139 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index ea417d74c9..c2bb45741d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.4</version> + <version>3.3.5-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 13f1f77c8aeda4f8d433fee948a26ebd6abafbbe Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Fri, 13 Sep 2024 11:40:09 +0200 Subject: [PATCH 044/108] After release cleanups. See #3139 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index c2bb45741d..a049212dff 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.4</version> + <version>3.3.5-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From 14eb7beb58991a17e6253d9ad81e482a89a8de8c Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 24 Sep 2024 15:59:12 +0200 Subject: [PATCH 045/108] Expose `ReturnedType` factory method. Closes #3163 --- .../data/repository/query/ReturnedType.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/springframework/data/repository/query/ReturnedType.java b/src/main/java/org/springframework/data/repository/query/ReturnedType.java index 796a6acdd0..51cead9021 100644 --- a/src/main/java/org/springframework/data/repository/query/ReturnedType.java +++ b/src/main/java/org/springframework/data/repository/query/ReturnedType.java @@ -57,12 +57,13 @@ private ReturnedType(Class<?> domainType) { /** * Creates a new {@link ReturnedType} for the given returned type, domain type and {@link ProjectionFactory}. * - * @param returnedType must not be {@literal null}. - * @param domainType must not be {@literal null}. + * @param returnedType return type for the query result, must not be {@literal null}. + * @param domainType domain type for the query context, must not be {@literal null}. * @param factory must not be {@literal null}. - * @return + * @return the ReturnedType for the given returned type, domain type and {@link ProjectionFactory}. + * @since 3.3.5 */ - static ReturnedType of(Class<?> returnedType, Class<?> domainType, ProjectionFactory factory) { + public static ReturnedType of(Class<?> returnedType, Class<?> domainType, ProjectionFactory factory) { Assert.notNull(returnedType, "Returned type must not be null"); Assert.notNull(domainType, "Domain type must not be null"); From d8c8054a410d97e45d4a739e1049b1b6a2ef1e02 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 24 Sep 2024 16:04:48 +0200 Subject: [PATCH 046/108] Polishing. Add missing Override annotations. Eagerly compute input properties. See #3163 --- .../DefaultProjectionInformation.java | 13 +++++--- .../data/repository/query/ReturnedType.java | 31 ++++++++++++------- 2 files changed, 28 insertions(+), 16 deletions(-) diff --git a/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java b/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java index 21253e85ae..8f76ac6f0d 100644 --- a/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java +++ b/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java @@ -29,6 +29,7 @@ import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; + import org.springframework.beans.BeanUtils; import org.springframework.core.log.LogMessage; import org.springframework.core.type.AnnotationMetadata; @@ -53,6 +54,7 @@ class DefaultProjectionInformation implements ProjectionInformation { private final Class<?> projectionType; private final List<PropertyDescriptor> properties; + private final List<PropertyDescriptor> inputProperties; /** * Creates a new {@link DefaultProjectionInformation} for the given type. @@ -65,6 +67,10 @@ class DefaultProjectionInformation implements ProjectionInformation { this.projectionType = type; this.properties = new PropertyDescriptorSource(type).getDescriptors(); + this.inputProperties = properties.stream()// + .filter(this::isInputProperty)// + .distinct()// + .toList(); } @Override @@ -72,12 +78,9 @@ public Class<?> getType() { return projectionType; } + @Override public List<PropertyDescriptor> getInputProperties() { - - return properties.stream()// - .filter(this::isInputProperty)// - .distinct()// - .collect(Collectors.toList()); + return inputProperties; } @Override diff --git a/src/main/java/org/springframework/data/repository/query/ReturnedType.java b/src/main/java/org/springframework/data/repository/query/ReturnedType.java index 51cead9021..780cbdfee5 100644 --- a/src/main/java/org/springframework/data/repository/query/ReturnedType.java +++ b/src/main/java/org/springframework/data/repository/query/ReturnedType.java @@ -143,6 +143,7 @@ private static final class ReturnedInterface extends ReturnedType { private final ProjectionInformation information; private final Class<?> domainType; + private final List<String> inputProperties; /** * Creates a new {@link ReturnedInterface} from the given {@link ProjectionInformation} and domain type. @@ -158,6 +159,20 @@ public ReturnedInterface(ProjectionInformation information, Class<?> domainType) this.information = information; this.domainType = domainType; + this.inputProperties = detectInputProperties(information); + } + + private static List<String> detectInputProperties(ProjectionInformation information) { + + List<String> properties = new ArrayList<>(); + + for (PropertyDescriptor descriptor : information.getInputProperties()) { + if (!properties.contains(descriptor.getName())) { + properties.add(descriptor.getName()); + } + } + + return Collections.unmodifiableList(properties); } @Override @@ -165,6 +180,7 @@ public Class<?> getReturnedType() { return information.getType(); } + @Override public boolean needsCustomConstruction() { return isProjecting() && information.isClosed(); } @@ -182,16 +198,7 @@ public Class<?> getTypeToRead() { @Override public List<String> getInputProperties() { - - List<String> properties = new ArrayList<>(); - - for (PropertyDescriptor descriptor : information.getInputProperties()) { - if (!properties.contains(descriptor.getName())) { - properties.add(descriptor.getName()); - } - } - - return properties; + return inputProperties; } } @@ -231,6 +238,7 @@ public Class<?> getReturnedType() { return type; } + @Override @NonNull public Class<?> getTypeToRead() { return type; @@ -241,6 +249,7 @@ public boolean isProjecting() { return isDto(); } + @Override public boolean needsCustomConstruction() { return isDto() && !inputProperties.isEmpty(); } @@ -268,7 +277,7 @@ private List<String> detectConstructorParameterNames(Class<?> type) { properties.add(parameter.getName()); } - return properties; + return Collections.unmodifiableList(properties); } private boolean isDto() { From 7ff224b350c6ae501066f55c53c61ac77210a2fe Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Wed, 25 Sep 2024 09:58:53 +0200 Subject: [PATCH 047/108] Consider projections without input properties open ones. Closes #3164 --- .../DefaultProjectionInformation.java | 2 +- .../projection/ProjectionInformation.java | 13 ++++++++++++ .../data/repository/query/ReturnedType.java | 13 ++++++++++++ .../ProxyProjectionFactoryUnitTests.java | 20 +++++++++++++++++++ 4 files changed, 47 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java b/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java index 8f76ac6f0d..6ddf90d829 100644 --- a/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java +++ b/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java @@ -85,7 +85,7 @@ public List<PropertyDescriptor> getInputProperties() { @Override public boolean isClosed() { - return this.properties.equals(getInputProperties()); + return hasInputProperties() && this.properties.equals(getInputProperties()); } /** diff --git a/src/main/java/org/springframework/data/projection/ProjectionInformation.java b/src/main/java/org/springframework/data/projection/ProjectionInformation.java index 13bcc840d0..c1bf7fd80c 100644 --- a/src/main/java/org/springframework/data/projection/ProjectionInformation.java +++ b/src/main/java/org/springframework/data/projection/ProjectionInformation.java @@ -18,6 +18,8 @@ import java.beans.PropertyDescriptor; import java.util.List; +import org.springframework.util.CollectionUtils; + /** * Information about a projection type. * @@ -40,6 +42,17 @@ public interface ProjectionInformation { */ List<PropertyDescriptor> getInputProperties(); + /** + * Returns whether the projection has input properties. Projections without input types are typically open projections + * that do not follow Java's property accessor naming. + * + * @return + * @since 3.3.5 + */ + default boolean hasInputProperties() { + return !CollectionUtils.isEmpty(getInputProperties()); + } + /** * Returns whether supplying values for the properties returned via {@link #getInputProperties()} is sufficient to * create a working proxy instance. This will usually be used to determine whether the projection uses any dynamically diff --git a/src/main/java/org/springframework/data/repository/query/ReturnedType.java b/src/main/java/org/springframework/data/repository/query/ReturnedType.java index 780cbdfee5..bec8f0f653 100644 --- a/src/main/java/org/springframework/data/repository/query/ReturnedType.java +++ b/src/main/java/org/springframework/data/repository/query/ReturnedType.java @@ -33,6 +33,7 @@ import org.springframework.lang.Nullable; import org.springframework.util.Assert; import org.springframework.util.ClassUtils; +import org.springframework.util.CollectionUtils; import org.springframework.util.ConcurrentReferenceHashMap; import org.springframework.util.ObjectUtils; @@ -130,9 +131,21 @@ public final boolean isInstance(@Nullable Object source) { * Returns the properties required to be used to populate the result. * * @return + * @see ProjectionInformation#getInputProperties() */ public abstract List<String> getInputProperties(); + /** + * Returns whether the returned type has input properties. + * + * @return + * @since 3.3.5 + * @see ProjectionInformation#hasInputProperties() + */ + public boolean hasInputProperties() { + return !CollectionUtils.isEmpty(getInputProperties()); + } + /** * A {@link ReturnedType} that's backed by an interface. * diff --git a/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java b/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java index 983292721f..fd8c337fef 100755 --- a/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java @@ -31,6 +31,7 @@ import org.springframework.aop.Advisor; import org.springframework.aop.TargetClassAware; import org.springframework.aop.framework.Advised; +import org.springframework.beans.factory.annotation.Value; import org.springframework.test.util.ReflectionTestUtils; /** @@ -135,6 +136,19 @@ void returnsAllPropertiesAsInputProperties() { var result = projectionInformation.getInputProperties(); assertThat(result).hasSize(6); + assertThat(projectionInformation.hasInputProperties()).isTrue(); + assertThat(projectionInformation.isClosed()).isTrue(); + } + + @Test // DATACMNS-630 + void identifiersOpenProjectionCorrectly() { + + var projectionInformation = factory.getProjectionInformation(OpenProjection.class); + var result = projectionInformation.getInputProperties(); + + assertThat(result).isEmpty(); + assertThat(projectionInformation.hasInputProperties()).isFalse(); + assertThat(projectionInformation.isClosed()).isFalse(); } @Test // DATACMNS-655, GH-2831 @@ -357,6 +371,12 @@ interface CustomerExcerpt { Map<String, Object> getData(); } + interface OpenProjection { + + @Value("#{@greetingsFrom.groot(target.firstname)}") + String hello(); + } + interface CustomerExcerptWithDefaultMethod extends CustomerExcerpt { default String getFirstnameAndId() { From 15afbff9e09b5e3f5e2932081666635ff932ccdd Mon Sep 17 00:00:00 2001 From: Mikhail2048 <mikhailpolivakha@gmail.com> Date: Sat, 21 Sep 2024 18:58:05 +0300 Subject: [PATCH 048/108] Added Lazy wrapper for `ReturnType#isDto`. Closes #3160 --- .../data/repository/query/ReturnedType.java | 20 ++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/main/java/org/springframework/data/repository/query/ReturnedType.java b/src/main/java/org/springframework/data/repository/query/ReturnedType.java index bec8f0f653..12aa6e0d26 100644 --- a/src/main/java/org/springframework/data/repository/query/ReturnedType.java +++ b/src/main/java/org/springframework/data/repository/query/ReturnedType.java @@ -29,6 +29,7 @@ import org.springframework.data.mapping.model.PreferredConstructorDiscoverer; import org.springframework.data.projection.ProjectionFactory; import org.springframework.data.projection.ProjectionInformation; +import org.springframework.data.util.Lazy; import org.springframework.lang.NonNull; import org.springframework.lang.Nullable; import org.springframework.util.Assert; @@ -219,12 +220,14 @@ public List<String> getInputProperties() { * A {@link ReturnedType} that's backed by an actual class. * * @author Oliver Gierke + * @author Mikhail Polivakha * @since 1.12 */ private static final class ReturnedClass extends ReturnedType { private static final Set<Class<?>> VOID_TYPES = new HashSet<>(Arrays.asList(Void.class, void.class)); + private final Lazy<Boolean> isDto; private final Class<?> type; private final List<String> inputProperties; @@ -243,6 +246,15 @@ public ReturnedClass(Class<?> returnedType, Class<?> domainType) { Assert.isTrue(!returnedType.isInterface(), "Returned type must not be an interface"); this.type = returnedType; + this.isDto = Lazy.of(() -> + !Object.class.equals(type) && // + !type.isEnum() && // + !isDomainSubtype() && // + !isPrimitiveOrWrapper() && // + !Number.class.isAssignableFrom(type) && // + !VOID_TYPES.contains(type) && // + !type.getPackage().getName().startsWith("java.") + ); this.inputProperties = detectConstructorParameterNames(returnedType); } @@ -294,13 +306,7 @@ private List<String> detectConstructorParameterNames(Class<?> type) { } private boolean isDto() { - return !Object.class.equals(type) && // - !type.isEnum() && // - !isDomainSubtype() && // - !isPrimitiveOrWrapper() && // - !Number.class.isAssignableFrom(type) && // - !VOID_TYPES.contains(type) && // - !type.getPackage().getName().startsWith("java."); + return isDto.get(); } private boolean isDomainSubtype() { From f065f405f889de5b33214cbb417b82b45738bcb7 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 26 Sep 2024 10:59:32 +0200 Subject: [PATCH 049/108] Polishing. See #3160 --- .../data/repository/query/ReturnedType.java | 22 +++++++++---------- 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/src/main/java/org/springframework/data/repository/query/ReturnedType.java b/src/main/java/org/springframework/data/repository/query/ReturnedType.java index 12aa6e0d26..abe6189dfa 100644 --- a/src/main/java/org/springframework/data/repository/query/ReturnedType.java +++ b/src/main/java/org/springframework/data/repository/query/ReturnedType.java @@ -29,7 +29,6 @@ import org.springframework.data.mapping.model.PreferredConstructorDiscoverer; import org.springframework.data.projection.ProjectionFactory; import org.springframework.data.projection.ProjectionInformation; -import org.springframework.data.util.Lazy; import org.springframework.lang.NonNull; import org.springframework.lang.Nullable; import org.springframework.util.Assert; @@ -227,8 +226,8 @@ private static final class ReturnedClass extends ReturnedType { private static final Set<Class<?>> VOID_TYPES = new HashSet<>(Arrays.asList(Void.class, void.class)); - private final Lazy<Boolean> isDto; private final Class<?> type; + private final boolean isDto; private final List<String> inputProperties; /** @@ -246,15 +245,14 @@ public ReturnedClass(Class<?> returnedType, Class<?> domainType) { Assert.isTrue(!returnedType.isInterface(), "Returned type must not be an interface"); this.type = returnedType; - this.isDto = Lazy.of(() -> - !Object.class.equals(type) && // - !type.isEnum() && // - !isDomainSubtype() && // - !isPrimitiveOrWrapper() && // - !Number.class.isAssignableFrom(type) && // - !VOID_TYPES.contains(type) && // - !type.getPackage().getName().startsWith("java.") - ); + this.isDto = !Object.class.equals(type) && // + !type.isEnum() && // + !isDomainSubtype() && // + !isPrimitiveOrWrapper() && // + !Number.class.isAssignableFrom(type) && // + !VOID_TYPES.contains(type) && // + !type.getPackage().getName().startsWith("java."); + this.inputProperties = detectConstructorParameterNames(returnedType); } @@ -306,7 +304,7 @@ private List<String> detectConstructorParameterNames(Class<?> type) { } private boolean isDto() { - return isDto.get(); + return isDto; } private boolean isDomainSubtype() { From 4645ac3b97e71889985dc433931b4e790f6839e8 Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com> Date: Thu, 26 Sep 2024 11:27:29 +0200 Subject: [PATCH 050/108] Polishing. Add missing Override annotations. Use instanceof pattern variables, use diamond operator where possible. Closes #3162 --- .../data/aot/DefaultAotContext.java | 2 +- .../ConfigurableTypeInformationMapper.java | 1 + .../MappingContextTypeInformationMapper.java | 1 + .../SimplePropertyValueConverterRegistry.java | 1 + .../data/crossstore/HashMapChangeSet.java | 4 ++++ .../springframework/data/domain/Chunk.java | 10 ++++++++++ .../org/springframework/data/domain/Page.java | 1 + .../data/domain/PageRequest.java | 1 + .../springframework/data/domain/Slice.java | 1 + .../data/domain/SliceImpl.java | 5 ++++- .../org/springframework/data/domain/Sort.java | 2 +- .../data/domain/TypedExample.java | 2 ++ .../springframework/data/domain/Window.java | 2 ++ .../data/geo/CustomMetric.java | 1 + .../org/springframework/data/geo/Metrics.java | 1 + .../history/AnnotationRevisionMetadata.java | 4 ++++ .../data/mapping/AccessOptions.java | 2 +- .../InstanceCreatorMetadataSupport.java | 1 + .../data/mapping/PropertyPath.java | 4 ++-- .../callback/EntityCallbackDiscoverer.java | 2 +- .../DefaultPersistentPropertyPath.java | 19 +++++++++++++------ .../mapping/model/BasicPersistentEntity.java | 2 +- .../data/mapping/model/BeanWrapper.java | 3 +++ .../model/DefaultSpELExpressionEvaluator.java | 1 + .../model/IdPropertyIdentifierAccessor.java | 1 + .../data/mapping/model/KotlinValueUtils.java | 2 +- .../model/PersistentEntityIsNewStrategy.java | 4 ++-- .../data/mapping/model/Property.java | 2 +- .../PropertyNameFieldNamingStrategy.java | 1 + .../model/ReflectionEntityInstantiator.java | 1 + .../SimplePersistentPropertyPathAccessor.java | 2 +- .../projection/ProxyProjectionFactory.java | 2 +- .../SpelAwareProxyProjectionFactory.java | 2 +- .../querydsl/SimpleEntityPathResolver.java | 1 + .../binding/QuerydslDefaultBinding.java | 6 +++--- .../binding/QuerydslPathInformation.java | 1 + .../data/repository/ListCrudRepository.java | 3 +++ .../repository/cdi/CdiRepositoryContext.java | 1 + .../DefaultRepositoryConfiguration.java | 5 +++++ .../config/RepositoryBeanNameGenerator.java | 4 ++-- .../RepositoryConfigurationDelegate.java | 2 +- ...positoryConfigurationExtensionSupport.java | 6 ++++++ .../RepositoryConfigurationSourceSupport.java | 1 + .../data/repository/config/SelectionSet.java | 4 ++-- .../XmlRepositoryConfigurationSource.java | 5 +++++ .../support/AbstractEntityInformation.java | 6 ++++-- .../support/AbstractRepositoryMetadata.java | 1 + ...ublishingRepositoryProxyPostProcessor.java | 4 ++-- ...anslationRepositoryProxyPostProcessor.java | 1 + .../support/PropertiesBasedNamedQueries.java | 2 ++ .../support/RepositoryFactoryBeanSupport.java | 6 +++++- .../support/RepositoryFactorySupport.java | 2 +- .../core/support/RepositoryFragment.java | 1 + ...sactionalRepositoryFactoryBeanSupport.java | 1 + ...sactionalRepositoryProxyPostProcessor.java | 1 + .../init/Jackson2ResourceReader.java | 1 + .../ResourceReaderRepositoryPopulator.java | 1 + .../init/UnmarshallingResourceReader.java | 1 + .../query/ParametersParameterAccessor.java | 1 + .../util/QueryExecutionConverters.java | 4 ++-- .../util/ReactiveWrapperConverters.java | 2 ++ .../transaction/MultiTransactionStatus.java | 2 +- ...ringTransactionSynchronizationManager.java | 3 +++ .../data/util/LazyStreamable.java | 2 +- .../data/util/MethodInvocationRecorder.java | 8 ++++---- .../data/util/MultiValueMapCollector.java | 2 +- .../data/util/NullableWrapperConverters.java | 8 ++++---- .../data/util/ReflectionUtils.java | 2 ++ .../data/util/StreamUtils.java | 6 +++--- .../data/util/TypeDiscoverer.java | 2 +- .../springframework/data/util/TypeUtils.java | 1 + ...sonProjectingMethodInterceptorFactory.java | 7 +++---- .../data/web/SpringDataAnnotationUtils.java | 4 ++-- .../data/web/XmlBeamHttpMessageConverter.java | 2 +- .../ProjectingArgumentResolverRegistrar.java | 4 ++-- .../config/SpringDataWebConfiguration.java | 2 +- .../ConfigWithCustomRepositoryBaseClass.java | 10 ++++++++++ .../data/auditing/AuditedUser.java | 8 ++++++++ ...anDefinitionRegistrarSupportUnitTests.java | 4 ++++ .../AbstractPersistentPropertyUnitTests.java | 2 ++ .../QuerydslBindingsFactoryUnitTests.java | 1 + ...faultRepositoryConfigurationUnitTests.java | 2 ++ .../config/DummyConfigurationExtension.java | 1 + .../ReactiveDummyConfigurationExtension.java | 1 + ...anDefinitionRegistrarSupportUnitTests.java | 1 + ...ositoryConfigurationDelegateUnitTests.java | 1 + .../support/DefaultCrudMethodsUnitTests.java | 3 +++ ...DefaultRepositoryInformationUnitTests.java | 12 ++++++++++++ .../core/support/DummyEntityInformation.java | 2 ++ .../support/DummyRepositoryInformation.java | 12 ++++++++++++ .../CrudRepositoryInvokerUnitTests.java | 1 + .../support/RepositoriesUnitTests.java | 4 ++++ .../ChainedTransactionManagerTests.java | 3 +++ .../data/util/ReflectionUtilsUnitTests.java | 1 + ...dslPredicateArgumentResolverUnitTests.java | 1 + ...dslPredicateArgumentResolverUnitTests.java | 1 + 96 files changed, 228 insertions(+), 62 deletions(-) diff --git a/src/main/java/org/springframework/data/aot/DefaultAotContext.java b/src/main/java/org/springframework/data/aot/DefaultAotContext.java index e797ab6518..03649f5017 100644 --- a/src/main/java/org/springframework/data/aot/DefaultAotContext.java +++ b/src/main/java/org/springframework/data/aot/DefaultAotContext.java @@ -39,7 +39,7 @@ class DefaultAotContext implements AotContext { private final ConfigurableListableBeanFactory factory; public DefaultAotContext(BeanFactory beanFactory) { - factory = beanFactory instanceof ConfigurableListableBeanFactory ? (ConfigurableListableBeanFactory) beanFactory + factory = beanFactory instanceof ConfigurableListableBeanFactory cbf ? cbf : new DefaultListableBeanFactory(beanFactory); } diff --git a/src/main/java/org/springframework/data/convert/ConfigurableTypeInformationMapper.java b/src/main/java/org/springframework/data/convert/ConfigurableTypeInformationMapper.java index 5f063f1f55..0c61afa76c 100644 --- a/src/main/java/org/springframework/data/convert/ConfigurableTypeInformationMapper.java +++ b/src/main/java/org/springframework/data/convert/ConfigurableTypeInformationMapper.java @@ -66,6 +66,7 @@ public ConfigurableTypeInformationMapper(Map<? extends Class<?>, String> sourceT } } + @Override public Alias createAliasFor(TypeInformation<?> type) { return typeToAlias.getOrDefault(type, Alias.NONE); } diff --git a/src/main/java/org/springframework/data/convert/MappingContextTypeInformationMapper.java b/src/main/java/org/springframework/data/convert/MappingContextTypeInformationMapper.java index af0bec8758..7cddcc1ffa 100644 --- a/src/main/java/org/springframework/data/convert/MappingContextTypeInformationMapper.java +++ b/src/main/java/org/springframework/data/convert/MappingContextTypeInformationMapper.java @@ -58,6 +58,7 @@ public MappingContextTypeInformationMapper(MappingContext<? extends PersistentEn } } + @Override public Alias createAliasFor(TypeInformation<?> type) { return typeMap.computeIfAbsent(type.getRawTypeInformation(), key -> { diff --git a/src/main/java/org/springframework/data/convert/SimplePropertyValueConverterRegistry.java b/src/main/java/org/springframework/data/convert/SimplePropertyValueConverterRegistry.java index 50adf3fbac..49f31d2f84 100644 --- a/src/main/java/org/springframework/data/convert/SimplePropertyValueConverterRegistry.java +++ b/src/main/java/org/springframework/data/convert/SimplePropertyValueConverterRegistry.java @@ -79,6 +79,7 @@ public int size() { return converterRegistrationMap.size(); } + @Override public boolean isEmpty() { return converterRegistrationMap.isEmpty(); } diff --git a/src/main/java/org/springframework/data/crossstore/HashMapChangeSet.java b/src/main/java/org/springframework/data/crossstore/HashMapChangeSet.java index 2f1e4d8943..9eb6fafe7d 100644 --- a/src/main/java/org/springframework/data/crossstore/HashMapChangeSet.java +++ b/src/main/java/org/springframework/data/crossstore/HashMapChangeSet.java @@ -41,6 +41,7 @@ public HashMapChangeSet() { this(new HashMap<>()); } + @Override public void set(String key, Object o) { values.put(key, o); } @@ -49,15 +50,18 @@ public String toString() { return "HashMapChangeSet: values=[" + values + "]"; } + @Override public Map<String, Object> getValues() { return Collections.unmodifiableMap(values); } + @Override @Nullable public Object removeProperty(String k) { return this.values.remove(k); } + @Override @Nullable public <T> T get(String key, Class<T> requiredClass, ConversionService conversionService) { diff --git a/src/main/java/org/springframework/data/domain/Chunk.java b/src/main/java/org/springframework/data/domain/Chunk.java index 55e57ca25d..73f6c637c2 100644 --- a/src/main/java/org/springframework/data/domain/Chunk.java +++ b/src/main/java/org/springframework/data/domain/Chunk.java @@ -54,42 +54,52 @@ public Chunk(List<T> content, Pageable pageable) { this.pageable = pageable; } + @Override public int getNumber() { return pageable.isPaged() ? pageable.getPageNumber() : 0; } + @Override public int getSize() { return pageable.isPaged() ? pageable.getPageSize() : content.size(); } + @Override public int getNumberOfElements() { return content.size(); } + @Override public boolean hasPrevious() { return getNumber() > 0; } + @Override public boolean isFirst() { return !hasPrevious(); } + @Override public boolean isLast() { return !hasNext(); } + @Override public Pageable nextPageable() { return hasNext() ? pageable.next() : Pageable.unpaged(); } + @Override public Pageable previousPageable() { return hasPrevious() ? pageable.previousOrFirst() : Pageable.unpaged(); } + @Override public boolean hasContent() { return !content.isEmpty(); } + @Override public List<T> getContent() { return Collections.unmodifiableList(content); } diff --git a/src/main/java/org/springframework/data/domain/Page.java b/src/main/java/org/springframework/data/domain/Page.java index 4c8450c538..a4f5cf17ec 100644 --- a/src/main/java/org/springframework/data/domain/Page.java +++ b/src/main/java/org/springframework/data/domain/Page.java @@ -69,5 +69,6 @@ static <T> Page<T> empty(Pageable pageable) { * @return a new {@link Page} with the content of the current one mapped by the given {@link Function}. * @since 1.10 */ + @Override <U> Page<U> map(Function<? super T, ? extends U> converter); } diff --git a/src/main/java/org/springframework/data/domain/PageRequest.java b/src/main/java/org/springframework/data/domain/PageRequest.java index 21b1678b56..23bfbb6131 100644 --- a/src/main/java/org/springframework/data/domain/PageRequest.java +++ b/src/main/java/org/springframework/data/domain/PageRequest.java @@ -97,6 +97,7 @@ public static PageRequest ofSize(int pageSize) { return PageRequest.of(0, pageSize); } + @Override public Sort getSort() { return sort; } diff --git a/src/main/java/org/springframework/data/domain/Slice.java b/src/main/java/org/springframework/data/domain/Slice.java index bbe120235c..624896d61f 100644 --- a/src/main/java/org/springframework/data/domain/Slice.java +++ b/src/main/java/org/springframework/data/domain/Slice.java @@ -136,6 +136,7 @@ default Pageable getPageable() { * @return a new {@link Slice} with the content of the current one mapped by the given {@link Converter}. * @since 1.10 */ + @Override <U> Slice<U> map(Function<? super T, ? extends U> converter); /** diff --git a/src/main/java/org/springframework/data/domain/SliceImpl.java b/src/main/java/org/springframework/data/domain/SliceImpl.java index aa15dfb4d6..018ab6814f 100644 --- a/src/main/java/org/springframework/data/domain/SliceImpl.java +++ b/src/main/java/org/springframework/data/domain/SliceImpl.java @@ -15,6 +15,7 @@ */ package org.springframework.data.domain; +import java.io.Serial; import java.util.List; import java.util.function.Function; @@ -29,6 +30,7 @@ */ public class SliceImpl<T> extends Chunk<T> { + @Serial private static final long serialVersionUID = 867755909294344406L; private final boolean hasNext; @@ -59,6 +61,7 @@ public SliceImpl(List<T> content) { this(content, Pageable.unpaged(), false); } + @Override public boolean hasNext() { return hasNext; } @@ -74,7 +77,7 @@ public String toString() { String contentType = "UNKNOWN"; List<T> content = getContent(); - if (content.size() > 0) { + if (!content.isEmpty()) { contentType = content.get(0).getClass().getName(); } diff --git a/src/main/java/org/springframework/data/domain/Sort.java b/src/main/java/org/springframework/data/domain/Sort.java index 78d9725b79..70bb0d2166 100644 --- a/src/main/java/org/springframework/data/domain/Sort.java +++ b/src/main/java/org/springframework/data/domain/Sort.java @@ -204,7 +204,7 @@ public Sort and(Sort sort) { Assert.notNull(sort, "Sort must not be null"); - List<Order> these = new ArrayList<Order>(this.toList()); + List<Order> these = new ArrayList<>(this.toList()); for (Order order : sort) { these.add(order); diff --git a/src/main/java/org/springframework/data/domain/TypedExample.java b/src/main/java/org/springframework/data/domain/TypedExample.java index b5061ecc4f..99029c0fdf 100644 --- a/src/main/java/org/springframework/data/domain/TypedExample.java +++ b/src/main/java/org/springframework/data/domain/TypedExample.java @@ -38,10 +38,12 @@ class TypedExample<T> implements Example<T> { this.matcher = matcher; } + @Override public T getProbe() { return this.probe; } + @Override public ExampleMatcher getMatcher() { return this.matcher; } diff --git a/src/main/java/org/springframework/data/domain/Window.java b/src/main/java/org/springframework/data/domain/Window.java index 94d88a98c2..d5c220b27c 100644 --- a/src/main/java/org/springframework/data/domain/Window.java +++ b/src/main/java/org/springframework/data/domain/Window.java @@ -72,6 +72,7 @@ static <T> Window<T> from(List<T> items, IntFunction<? extends ScrollPosition> p * * @return {@code true} if this window contains no elements */ + @Override boolean isEmpty(); /** @@ -149,6 +150,7 @@ default ScrollPosition positionAt(T object) { * @param converter must not be {@literal null}. * @return a new {@link Window} with the content of the current one mapped by the given {@code converter}. */ + @Override <U> Window<U> map(Function<? super T, ? extends U> converter); } diff --git a/src/main/java/org/springframework/data/geo/CustomMetric.java b/src/main/java/org/springframework/data/geo/CustomMetric.java index 99ccbb85e8..6e6dd83ab2 100644 --- a/src/main/java/org/springframework/data/geo/CustomMetric.java +++ b/src/main/java/org/springframework/data/geo/CustomMetric.java @@ -55,6 +55,7 @@ public CustomMetric(double multiplier, String abbreviation) { this.abbreviation = abbreviation; } + @Override public double getMultiplier() { return multiplier; } diff --git a/src/main/java/org/springframework/data/geo/Metrics.java b/src/main/java/org/springframework/data/geo/Metrics.java index 2e414da551..cc9776eb7c 100644 --- a/src/main/java/org/springframework/data/geo/Metrics.java +++ b/src/main/java/org/springframework/data/geo/Metrics.java @@ -41,6 +41,7 @@ private Metrics(double multiplier, String abbreviation) { this.abbreviation = abbreviation; } + @Override public double getMultiplier() { return multiplier; } diff --git a/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java b/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java index 91564dbd71..b88bd80464 100755 --- a/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java +++ b/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java @@ -84,18 +84,22 @@ public AnnotationRevisionMetadata(Object entity, Class<? extends Annotation> rev this.revisionType = revisionType; } + @Override public Optional<N> getRevisionNumber() { return revisionNumber.get(); } + @Override public Optional<Instant> getRevisionInstant() { return revisionDate.get().map(AnnotationRevisionMetadata::convertToInstant); } + @Override public RevisionType getRevisionType() { return revisionType; } + @Override @SuppressWarnings("unchecked") public <T> T getDelegate() { return (T) entity; diff --git a/src/main/java/org/springframework/data/mapping/AccessOptions.java b/src/main/java/org/springframework/data/mapping/AccessOptions.java index 5b237b9597..69ae7c9e70 100644 --- a/src/main/java/org/springframework/data/mapping/AccessOptions.java +++ b/src/main/java/org/springframework/data/mapping/AccessOptions.java @@ -186,7 +186,7 @@ public <T> GetOptions registerHandler(PersistentProperty<?> property, Class<T> t Assert.isTrue(type.isAssignableFrom(property.getType()), () -> String .format("Cannot register a property handler for %s on a property of type %s", type, property.getType())); - Function<Object, T> caster = (Function<Object, T>) it -> type.cast(it); + Function<Object, T> caster = type::cast; return registerHandler(property, caster.andThen(handler)); } diff --git a/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadataSupport.java b/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadataSupport.java index 37dd7c72df..59b1823ef7 100644 --- a/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadataSupport.java +++ b/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadataSupport.java @@ -67,6 +67,7 @@ Executable getExecutable() { * * @return */ + @Override public List<Parameter<Object, P>> getParameters() { return parameters; } diff --git a/src/main/java/org/springframework/data/mapping/PropertyPath.java b/src/main/java/org/springframework/data/mapping/PropertyPath.java index 62b320c64a..6349901b6b 100644 --- a/src/main/java/org/springframework/data/mapping/PropertyPath.java +++ b/src/main/java/org/springframework/data/mapping/PropertyPath.java @@ -258,7 +258,7 @@ public PropertyPath nested(String path) { @Override public Iterator<PropertyPath> iterator() { - return new Iterator<PropertyPath>() { + return new Iterator<>() { private @Nullable PropertyPath current = PropertyPath.this; @@ -377,7 +377,7 @@ public static PropertyPath from(String source, TypeInformation<?> type) { Iterator<String> parts = iteratorSource.iterator(); PropertyPath result = null; - Stack<PropertyPath> current = new Stack<PropertyPath>(); + Stack<PropertyPath> current = new Stack<>(); while (parts.hasNext()) { if (result == null) { diff --git a/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java b/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java index 3e0907684f..921e1e563c 100644 --- a/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java +++ b/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java @@ -311,7 +311,7 @@ void discoverEntityCallbacks(BeanFactory beanFactory) { for (var beanName : bf.getBeanNamesForType(EntityCallback.class)) { - EntityCallback<?> bean = EntityCallback.class.cast(bf.getBean(beanName)); + EntityCallback<?> bean = (EntityCallback) bf.getBean(beanName); ResolvableType type = ResolvableType.forClass(EntityCallback.class, bean.getClass()); ResolvableType entityType = type.getGeneric(0); diff --git a/src/main/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPath.java b/src/main/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPath.java index 65845974c1..aef6139bf5 100644 --- a/src/main/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPath.java +++ b/src/main/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPath.java @@ -135,7 +135,7 @@ public String toPath(String delimiter, Converter<? super P, String> converter) { @Override public P getLeafProperty() { - Assert.state(properties.size() > 0, "Empty PersistentPropertyPath should not exist"); + Assert.state(!properties.isEmpty(), "Empty PersistentPropertyPath should not exist"); return properties.get(properties.size() - 1); } @@ -143,7 +143,7 @@ public P getLeafProperty() { @Override public P getBaseProperty() { - Assert.state(properties.size() > 0, "Empty PersistentPropertyPath should not exist"); + Assert.state(!properties.isEmpty(), "Empty PersistentPropertyPath should not exist"); return properties.get(0); } @@ -208,10 +208,17 @@ public Iterator<P> iterator() { */ public boolean containsPropertyOfType(@Nullable TypeInformation<?> type) { - return type == null // - ? false // - : properties.stream() // - .anyMatch(property -> type.equals(property.getTypeInformation().getActualType())); + if (type == null) { + return false; + } + + for (P property : properties) { + if (type.equals(property.getTypeInformation().getActualType())) { + return true; + } + } + + return false; } @Override diff --git a/src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java b/src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java index edf0917225..cdfc2f83fd 100644 --- a/src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java +++ b/src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java @@ -432,7 +432,7 @@ public Iterator<P> iterator() { Iterator<P> iterator = properties.iterator(); - return new Iterator<P>() { + return new Iterator<>() { @Override public boolean hasNext() { diff --git a/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java b/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java index 9d41eade5b..f2980a3f20 100644 --- a/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java +++ b/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java @@ -57,6 +57,7 @@ protected BeanWrapper(T bean) { this.bean = bean; } + @Override @SuppressWarnings("unchecked") public void setProperty(PersistentProperty<?> property, @Nullable Object value) { @@ -104,6 +105,7 @@ public void setProperty(PersistentProperty<?> property, @Nullable Object value) } } + @Override @Nullable public Object getProperty(PersistentProperty<?> property) { return getProperty(property, property.getType()); @@ -144,6 +146,7 @@ public <S> Object getProperty(PersistentProperty<?> property, Class<? extends S> } } + @Override public T getBean() { return bean; } diff --git a/src/main/java/org/springframework/data/mapping/model/DefaultSpELExpressionEvaluator.java b/src/main/java/org/springframework/data/mapping/model/DefaultSpELExpressionEvaluator.java index 9b88632a43..6aeb52f333 100644 --- a/src/main/java/org/springframework/data/mapping/model/DefaultSpELExpressionEvaluator.java +++ b/src/main/java/org/springframework/data/mapping/model/DefaultSpELExpressionEvaluator.java @@ -45,6 +45,7 @@ public DefaultSpELExpressionEvaluator(Object source, SpELContext factory) { this.factory = factory; } + @Override @Nullable @SuppressWarnings("unchecked") public <T> T evaluate(String expression) { diff --git a/src/main/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessor.java b/src/main/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessor.java index a0d602811f..530152c0de 100644 --- a/src/main/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessor.java +++ b/src/main/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessor.java @@ -54,6 +54,7 @@ public IdPropertyIdentifierAccessor(PersistentEntity<?, ?> entity, Object target this.accessor = entity.getPropertyAccessor(target); } + @Override @Nullable public Object getIdentifier() { return accessor.getProperty(idProperty); diff --git a/src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java b/src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java index 3d775e2410..f2fba6358e 100644 --- a/src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java +++ b/src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java @@ -435,7 +435,7 @@ public String toString() { ValueBoxing hierarchy = this; while (hierarchy != null) { - if (sb.length() != 0) { + if (!sb.isEmpty()) { sb.append(" -> "); } diff --git a/src/main/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategy.java b/src/main/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategy.java index cb49d8e423..9baf0dfbed 100644 --- a/src/main/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategy.java +++ b/src/main/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategy.java @@ -100,8 +100,8 @@ public boolean isNew(Object entity) { return false; } - if (value instanceof Number) { - return ((Number) value).longValue() == 0; + if (value instanceof Number n) { + return n.longValue() == 0; } throw new IllegalArgumentException( diff --git a/src/main/java/org/springframework/data/mapping/model/Property.java b/src/main/java/org/springframework/data/mapping/model/Property.java index be2c878e0c..46a0c5ddd0 100644 --- a/src/main/java/org/springframework/data/mapping/model/Property.java +++ b/src/main/java/org/springframework/data/mapping/model/Property.java @@ -264,7 +264,7 @@ private <T> T withFieldOrDescriptor(Function<? super Field, T> field, private static Optional<Method> findWither(TypeInformation<?> owner, String propertyName, Class<?> rawType) { - AtomicReference<Method> resultHolder = new AtomicReference<Method>(); + AtomicReference<Method> resultHolder = new AtomicReference<>(); String methodName = String.format("with%s", StringUtils.capitalize(propertyName)); ReflectionUtils.doWithMethods(owner.getType(), it -> { diff --git a/src/main/java/org/springframework/data/mapping/model/PropertyNameFieldNamingStrategy.java b/src/main/java/org/springframework/data/mapping/model/PropertyNameFieldNamingStrategy.java index 96af57b6d0..78d04fb67d 100644 --- a/src/main/java/org/springframework/data/mapping/model/PropertyNameFieldNamingStrategy.java +++ b/src/main/java/org/springframework/data/mapping/model/PropertyNameFieldNamingStrategy.java @@ -27,6 +27,7 @@ public enum PropertyNameFieldNamingStrategy implements FieldNamingStrategy { INSTANCE; + @Override public String getFieldName(PersistentProperty<?> property) { return property.getName(); } diff --git a/src/main/java/org/springframework/data/mapping/model/ReflectionEntityInstantiator.java b/src/main/java/org/springframework/data/mapping/model/ReflectionEntityInstantiator.java index b4c20d2542..fdf61143cb 100644 --- a/src/main/java/org/springframework/data/mapping/model/ReflectionEntityInstantiator.java +++ b/src/main/java/org/springframework/data/mapping/model/ReflectionEntityInstantiator.java @@ -47,6 +47,7 @@ enum ReflectionEntityInstantiator implements EntityInstantiator { private static final Object[] EMPTY_ARGS = new Object[0]; + @Override @SuppressWarnings("unchecked") public <T, E extends PersistentEntity<? extends T, P>, P extends PersistentProperty<P>> T createInstance(E entity, ParameterValueProvider<P> provider) { diff --git a/src/main/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessor.java b/src/main/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessor.java index e8db3efb5b..d071d8012d 100644 --- a/src/main/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessor.java +++ b/src/main/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessor.java @@ -167,7 +167,7 @@ public void setProperty(PersistentPropertyPath<? extends PersistentProperty<?>> .map(it -> setValue(it, leafProperty, value)) // .collect(Collectors.toCollection(() -> CollectionFactory.createApproximateCollection(source, source.size()))); - } else if (Map.class.isInstance(parent)) { + } else if (parent instanceof Map) { Map<Object, Object> source = getTypedProperty(parentProperty, Map.class); diff --git a/src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java b/src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java index 39cab140ca..2b00ba49ad 100644 --- a/src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java +++ b/src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java @@ -261,7 +261,7 @@ public MethodInterceptor createMethodInterceptor(Object source, Class<?> targetT @Override public boolean supports(Object source, Class<?> targetType) { - return Map.class.isInstance(source); + return source instanceof Map; } } diff --git a/src/main/java/org/springframework/data/projection/SpelAwareProxyProjectionFactory.java b/src/main/java/org/springframework/data/projection/SpelAwareProxyProjectionFactory.java index edf3150ece..a1acbf2c92 100644 --- a/src/main/java/org/springframework/data/projection/SpelAwareProxyProjectionFactory.java +++ b/src/main/java/org/springframework/data/projection/SpelAwareProxyProjectionFactory.java @@ -108,7 +108,7 @@ private static boolean hasMethodWithValueAnnotation(Class<?> type) { Assert.notNull(type, "Type must not be null"); - AnnotationDetectionMethodCallback<Value> callback = new AnnotationDetectionMethodCallback<Value>(Value.class); + AnnotationDetectionMethodCallback<Value> callback = new AnnotationDetectionMethodCallback<>(Value.class); ReflectionUtils.doWithMethods(type, callback); return callback.hasFoundAnnotation(); diff --git a/src/main/java/org/springframework/data/querydsl/SimpleEntityPathResolver.java b/src/main/java/org/springframework/data/querydsl/SimpleEntityPathResolver.java index 46696242ba..3b62418a7e 100644 --- a/src/main/java/org/springframework/data/querydsl/SimpleEntityPathResolver.java +++ b/src/main/java/org/springframework/data/querydsl/SimpleEntityPathResolver.java @@ -61,6 +61,7 @@ public SimpleEntityPathResolver(String querySuffix) { * @param domainClass * @return */ + @Override @SuppressWarnings("unchecked") public <T> EntityPath<T> createPath(Class<T> domainClass) { diff --git a/src/main/java/org/springframework/data/querydsl/binding/QuerydslDefaultBinding.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslDefaultBinding.java index 8346f1bf8e..6f1c436174 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslDefaultBinding.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslDefaultBinding.java @@ -54,7 +54,7 @@ public Optional<Predicate> bind(Path<?> path, Collection<? extends Object> value return Optional.empty(); } - if (path instanceof CollectionPathBase) { + if (path instanceof CollectionPathBase cpb) { BooleanBuilder builder = new BooleanBuilder(); @@ -63,10 +63,10 @@ public Optional<Predicate> bind(Path<?> path, Collection<? extends Object> value if (element instanceof Collection<?> nestedCollection) { for (Object nested : nestedCollection) { - builder.and(((CollectionPathBase) path).contains(nested)); + builder.and(cpb.contains(nested)); } } else { - builder.and(((CollectionPathBase) path).contains(element)); + builder.and(cpb.contains(element)); } } diff --git a/src/main/java/org/springframework/data/querydsl/binding/QuerydslPathInformation.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslPathInformation.java index f45af91a72..ad17c4feef 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslPathInformation.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslPathInformation.java @@ -83,6 +83,7 @@ public String toDotPath() { return QuerydslUtils.toDotPath(path); } + @Override public Path<?> reifyPath(EntityPathResolver resolver) { return path; } diff --git a/src/main/java/org/springframework/data/repository/ListCrudRepository.java b/src/main/java/org/springframework/data/repository/ListCrudRepository.java index 7076f51569..5d12476300 100644 --- a/src/main/java/org/springframework/data/repository/ListCrudRepository.java +++ b/src/main/java/org/springframework/data/repository/ListCrudRepository.java @@ -42,6 +42,7 @@ public interface ListCrudRepository<T, ID> extends CrudRepository<T, ID> { * attribute with a different value from that found in the persistence store. Also thrown if at least one * entity is assumed to be present but does not exist in the database. */ + @Override <S extends T> List<S> saveAll(Iterable<S> entities); /** @@ -49,6 +50,7 @@ public interface ListCrudRepository<T, ID> extends CrudRepository<T, ID> { * * @return all entities */ + @Override List<T> findAll(); /** @@ -63,6 +65,7 @@ public interface ListCrudRepository<T, ID> extends CrudRepository<T, ID> { * {@literal ids}. * @throws IllegalArgumentException in case the given {@link Iterable ids} or one of its items is {@literal null}. */ + @Override List<T> findAllById(Iterable<ID> ids); } diff --git a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryContext.java b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryContext.java index a47efaec71..bd64a8d02d 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryContext.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryContext.java @@ -186,6 +186,7 @@ public Streamable<TypeFilter> getExcludeFilters() { return Streamable.empty(); } + @Override public MetadataReaderFactory getMetadataReaderFactory() { return this.metadataReaderFactory; } diff --git a/src/main/java/org/springframework/data/repository/config/DefaultRepositoryConfiguration.java b/src/main/java/org/springframework/data/repository/config/DefaultRepositoryConfiguration.java index d7f5836a7a..eaeb875582 100644 --- a/src/main/java/org/springframework/data/repository/config/DefaultRepositoryConfiguration.java +++ b/src/main/java/org/springframework/data/repository/config/DefaultRepositoryConfiguration.java @@ -62,10 +62,12 @@ public String getBeanId() { () -> new IllegalStateException("Can't create bean identifier without a repository base class defined")))); } + @Override public Object getQueryLookupStrategyKey() { return configurationSource.getQueryLookupStrategyKey().orElse(DEFAULT_QUERY_LOOKUP_STRATEGY); } + @Override public Streamable<String> getBasePackages() { return configurationSource.getBasePackages(); } @@ -75,6 +77,7 @@ public Streamable<String> getImplementationBasePackages() { return Streamable.of(ClassUtils.getPackageName(getRepositoryInterface())); } + @Override public String getRepositoryInterface() { return ConfigurationUtils.getRequiredBeanClassName(definition); } @@ -83,6 +86,7 @@ public RepositoryConfigurationSource getConfigSource() { return configurationSource; } + @Override public Optional<String> getNamedQueriesLocation() { return configurationSource.getNamedQueryLocation(); } @@ -92,6 +96,7 @@ public String getImplementationClassName() { configurationSource.getRepositoryImplementationPostfix().orElse(DEFAULT_REPOSITORY_IMPLEMENTATION_POSTFIX)); } + @Override public String getImplementationBeanName() { return beanName.get() + configurationSource.getRepositoryImplementationPostfix().orElse("Impl"); } diff --git a/src/main/java/org/springframework/data/repository/config/RepositoryBeanNameGenerator.java b/src/main/java/org/springframework/data/repository/config/RepositoryBeanNameGenerator.java index 1f34f5bc08..3555741529 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryBeanNameGenerator.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryBeanNameGenerator.java @@ -70,8 +70,8 @@ public RepositoryBeanNameGenerator(ClassLoader beanClassLoader, BeanNameGenerato */ public String generateBeanName(BeanDefinition definition) { - AnnotatedBeanDefinition beanDefinition = definition instanceof AnnotatedBeanDefinition // - ? (AnnotatedBeanDefinition) definition // + AnnotatedBeanDefinition beanDefinition = definition instanceof AnnotatedBeanDefinition abd // + ? abd // : new AnnotatedGenericBeanDefinition(getRepositoryInterfaceFrom(definition)); return generator.generateBeanName(beanDefinition, registry); diff --git a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationDelegate.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationDelegate.java index aad4756add..21e4569135 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationDelegate.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationDelegate.java @@ -123,7 +123,7 @@ private static Environment defaultEnvironment(@Nullable Environment environment, return environment; } - return resourceLoader instanceof EnvironmentCapable ? ((EnvironmentCapable) resourceLoader).getEnvironment() + return resourceLoader instanceof EnvironmentCapable capable ? capable.getEnvironment() : new StandardEnvironment(); } diff --git a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java index 6fc0cf4855..42f4de5cde 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java @@ -69,6 +69,7 @@ public <T extends RepositoryConfigurationSource> Collection<RepositoryConfigurat return getRepositoryConfigurations(configSource, loader, false); } + @Override public <T extends RepositoryConfigurationSource> Collection<RepositoryConfiguration<T>> getRepositoryConfigurations( T configSource, ResourceLoader loader, boolean strictMatchesOnly) { @@ -101,10 +102,12 @@ public <T extends RepositoryConfigurationSource> Collection<RepositoryConfigurat return result; } + @Override public String getDefaultNamedQueryLocation() { return String.format("classpath*:META-INF/%s-named-queries.properties", getModuleIdentifier()); } + @Override public void registerBeansForRoot(BeanDefinitionRegistry registry, RepositoryConfigurationSource configurationSource) {} @@ -119,10 +122,13 @@ public void registerBeansForRoot(BeanDefinitionRegistry registry, @Deprecated protected abstract String getModulePrefix(); + @Override public void postProcess(BeanDefinitionBuilder builder, RepositoryConfigurationSource source) {} + @Override public void postProcess(BeanDefinitionBuilder builder, AnnotationRepositoryConfigurationSource config) {} + @Override public void postProcess(BeanDefinitionBuilder builder, XmlRepositoryConfigurationSource config) {} /** diff --git a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSourceSupport.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSourceSupport.java index d2682b5859..57de2b2e8f 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSourceSupport.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSourceSupport.java @@ -149,6 +149,7 @@ public String generateBeanName(BeanDefinition definition) { return source.generateBeanName(definition); } + @Override public MetadataReaderFactory getMetadataReaderFactory() { return this.metadataReaderFactory; } diff --git a/src/main/java/org/springframework/data/repository/config/SelectionSet.java b/src/main/java/org/springframework/data/repository/config/SelectionSet.java index 647b3f5ebb..7c5f650c47 100644 --- a/src/main/java/org/springframework/data/repository/config/SelectionSet.java +++ b/src/main/java/org/springframework/data/repository/config/SelectionSet.java @@ -49,7 +49,7 @@ static <T> SelectionSet<T> of(Collection<T> collection) { } public static <T> SelectionSet<T> of(Collection<T> collection, Function<Collection<T>, Optional<T>> fallback) { - return new SelectionSet<T>(collection, fallback); + return new SelectionSet<>(collection, fallback); } /** @@ -74,7 +74,7 @@ Optional<T> uniqueResult() { SelectionSet<T> filterIfNecessary(Predicate<T> predicate) { return findUniqueResult().map(it -> this).orElseGet( - () -> new SelectionSet<T>(collection.stream().filter(predicate).collect(Collectors.toList()), fallback)); + () -> new SelectionSet<>(collection.stream().filter(predicate).collect(Collectors.toList()), fallback)); } private static <S> Function<Collection<S>, Optional<S>> defaultFallback() { diff --git a/src/main/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSource.java b/src/main/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSource.java index e0e179e3e6..9510862ed0 100644 --- a/src/main/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSource.java +++ b/src/main/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSource.java @@ -85,11 +85,13 @@ public XmlRepositoryConfigurationSource(Element element, ParserContext context, this.excludeFilters = parser.parseTypeFilters(element, Type.EXCLUDE); } + @Override @Nullable public Object getSource() { return context.extractSource(element); } + @Override public Streamable<String> getBasePackages() { String attribute = element.getAttribute(BASE_PACKAGE); @@ -97,10 +99,12 @@ public Streamable<String> getBasePackages() { return Streamable.of(StringUtils.delimitedListToStringArray(attribute, ",", " ")); } + @Override public Optional<Object> getQueryLookupStrategyKey() { return getNullDefaultedAttribute(element, QUERY_LOOKUP_STRATEGY).map(Key::create); } + @Override public Optional<String> getNamedQueryLocation() { return getNullDefaultedAttribute(element, NAMED_QUERIES_LOCATION); } @@ -124,6 +128,7 @@ protected Iterable<TypeFilter> getIncludeFilters() { return includeFilters; } + @Override public Optional<String> getRepositoryImplementationPostfix() { return getNullDefaultedAttribute(element, REPOSITORY_IMPL_POSTFIX); } diff --git a/src/main/java/org/springframework/data/repository/core/support/AbstractEntityInformation.java b/src/main/java/org/springframework/data/repository/core/support/AbstractEntityInformation.java index d93c0a7162..bf08ec4ce0 100644 --- a/src/main/java/org/springframework/data/repository/core/support/AbstractEntityInformation.java +++ b/src/main/java/org/springframework/data/repository/core/support/AbstractEntityInformation.java @@ -39,6 +39,7 @@ public AbstractEntityInformation(Class<T> domainClass) { this.domainClass = domainClass; } + @Override public boolean isNew(T entity) { ID id = getId(entity); @@ -48,13 +49,14 @@ public boolean isNew(T entity) { return id == null; } - if (id instanceof Number) { - return ((Number) id).longValue() == 0L; + if (id instanceof Number n) { + return n.longValue() == 0L; } throw new IllegalArgumentException(String.format("Unsupported primitive id type %s", idType)); } + @Override public Class<T> getJavaType() { return this.domainClass; } diff --git a/src/main/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadata.java b/src/main/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadata.java index ae54f8abe6..d03f2db00a 100644 --- a/src/main/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadata.java +++ b/src/main/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadata.java @@ -105,6 +105,7 @@ public Class<?> getReturnedDomainClass(Method method) { return QueryExecutionConverters.unwrapWrapperTypes(returnType, getDomainTypeInformation()).getType(); } + @Override public Class<?> getRepositoryInterface() { return this.repositoryInterface; } diff --git a/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java b/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java index 9036e6beb1..02f6184a4a 100644 --- a/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java +++ b/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java @@ -238,7 +238,7 @@ private EventPublishingMethod orNull() { private static <T extends Annotation> AnnotationDetectionMethodCallback<T> getDetector(Class<?> type, Class<T> annotation) { - AnnotationDetectionMethodCallback<T> callback = new AnnotationDetectionMethodCallback<T>(annotation); + AnnotationDetectionMethodCallback<T> callback = new AnnotationDetectionMethodCallback<>(annotation); ReflectionUtils.doWithMethods(type, callback); return callback; @@ -300,7 +300,7 @@ private static Collection<Object> asCollection(@Nullable Object source) { return Collections.emptyList(); } - if (Collection.class.isInstance(source)) { + if (source instanceof Collection) { return new ArrayList<>((Collection<Object>) source); } diff --git a/src/main/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessor.java b/src/main/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessor.java index b939edcd02..03aee62918 100644 --- a/src/main/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessor.java +++ b/src/main/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessor.java @@ -47,6 +47,7 @@ public PersistenceExceptionTranslationRepositoryProxyPostProcessor(ListableBeanF this.interceptor.afterPropertiesSet(); } + @Override public void postProcess(ProxyFactory factory, RepositoryInformation repositoryInformation) { factory.addAdvice(interceptor); } diff --git a/src/main/java/org/springframework/data/repository/core/support/PropertiesBasedNamedQueries.java b/src/main/java/org/springframework/data/repository/core/support/PropertiesBasedNamedQueries.java index a520b72788..25a4af3aa9 100644 --- a/src/main/java/org/springframework/data/repository/core/support/PropertiesBasedNamedQueries.java +++ b/src/main/java/org/springframework/data/repository/core/support/PropertiesBasedNamedQueries.java @@ -37,6 +37,7 @@ public PropertiesBasedNamedQueries(Properties properties) { this.properties = properties; } + @Override public boolean hasQuery(String queryName) { Assert.hasText(queryName, "Query name must not be null or empty"); @@ -44,6 +45,7 @@ public boolean hasQuery(String queryName) { return properties.containsKey(queryName); } + @Override public String getQuery(String queryName) { Assert.hasText(queryName, "Query name must not be null or empty"); diff --git a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupport.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupport.java index f3e6c13dae..654062e741 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupport.java @@ -195,7 +195,7 @@ public void setBeanFactory(BeanFactory beanFactory) throws BeansException { this.beanFactory = beanFactory; - if (!this.evaluationContextProvider.isPresent() && ListableBeanFactory.class.isInstance(beanFactory)) { + if (!this.evaluationContextProvider.isPresent() && beanFactory instanceof ListableBeanFactory) { this.evaluationContextProvider = createDefaultQueryMethodEvaluationContextProvider( (ListableBeanFactory) beanFactory); } @@ -218,11 +218,13 @@ public void setApplicationEventPublisher(ApplicationEventPublisher publisher) { this.publisher = publisher; } + @Override @SuppressWarnings("unchecked") public EntityInformation<S, ID> getEntityInformation() { return (EntityInformation<S, ID>) factory.getEntityInformation(repositoryMetadata.getDomainType()); } + @Override public RepositoryInformation getRepositoryInformation() { RepositoryFragments fragments = customImplementation.map(RepositoryFragments::just)// @@ -231,12 +233,14 @@ public RepositoryInformation getRepositoryInformation() { return factory.getRepositoryInformation(repositoryMetadata, fragments); } + @Override public PersistentEntity<?, ?> getPersistentEntity() { return mappingContext.orElseThrow(() -> new IllegalStateException("No MappingContext available")) .getRequiredPersistentEntity(repositoryMetadata.getDomainType()); } + @Override public List<QueryMethod> getQueryMethods() { return factory.getQueryMethods(); } diff --git a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java index f792c1a9c8..810f68fefe 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java @@ -299,7 +299,7 @@ public <T> T getRepository(Class<T> repositoryInterface, RepositoryFragments fra for (RepositoryFragment<?> fragment : composition.getFragments()) { - if (fragmentsTag.length() > 0) { + if (!fragmentsTag.isEmpty()) { fragmentsTag.append(";"); } diff --git a/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java index 96a8e9526d..e1bb2866d7 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java @@ -192,6 +192,7 @@ public ImplementedRepositoryFragment(Optional<Class<T>> interfaceClass, T implem } @SuppressWarnings({ "rawtypes", "unchecked" }) + @Override public Class<?> getSignatureContributor() { return interfaceClass.orElseGet(() -> { diff --git a/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryFactoryBeanSupport.java b/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryFactoryBeanSupport.java index 2bd5163353..3b45a45157 100644 --- a/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryFactoryBeanSupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryFactoryBeanSupport.java @@ -101,6 +101,7 @@ protected final RepositoryFactorySupport createRepositoryFactory() { */ protected abstract RepositoryFactorySupport doCreateRepositoryFactory(); + @Override public void setBeanFactory(BeanFactory beanFactory) { Assert.isInstanceOf(ListableBeanFactory.class, beanFactory); diff --git a/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryProxyPostProcessor.java b/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryProxyPostProcessor.java index 59f387869d..adb451be5e 100644 --- a/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryProxyPostProcessor.java +++ b/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryProxyPostProcessor.java @@ -66,6 +66,7 @@ public TransactionalRepositoryProxyPostProcessor(ListableBeanFactory beanFactory this.enableDefaultTransactions = enableDefaultTransaction; } + @Override public void postProcess(ProxyFactory factory, RepositoryInformation repositoryInformation) { TransactionInterceptor transactionInterceptor = new TransactionInterceptor(); diff --git a/src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java b/src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java index fccbaaaa53..455a1a39a5 100644 --- a/src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java +++ b/src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java @@ -78,6 +78,7 @@ public void setTypeKey(@Nullable String typeKey) { this.typeKey = typeKey == null ? DEFAULT_TYPE_KEY : typeKey; } + @Override public Object readFrom(Resource resource, @Nullable ClassLoader classLoader) throws Exception { Assert.notNull(resource, "Resource must not be null"); diff --git a/src/main/java/org/springframework/data/repository/init/ResourceReaderRepositoryPopulator.java b/src/main/java/org/springframework/data/repository/init/ResourceReaderRepositoryPopulator.java index 404c865213..a78f401c32 100644 --- a/src/main/java/org/springframework/data/repository/init/ResourceReaderRepositoryPopulator.java +++ b/src/main/java/org/springframework/data/repository/init/ResourceReaderRepositoryPopulator.java @@ -103,6 +103,7 @@ public void setApplicationEventPublisher(ApplicationEventPublisher publisher) { this.publisher = publisher; } + @Override public void populate(Repositories repositories) { Assert.notNull(repositories, "Repositories must not be null"); diff --git a/src/main/java/org/springframework/data/repository/init/UnmarshallingResourceReader.java b/src/main/java/org/springframework/data/repository/init/UnmarshallingResourceReader.java index 6e48df8c2d..cb85d41735 100644 --- a/src/main/java/org/springframework/data/repository/init/UnmarshallingResourceReader.java +++ b/src/main/java/org/springframework/data/repository/init/UnmarshallingResourceReader.java @@ -39,6 +39,7 @@ public UnmarshallingResourceReader(Unmarshaller unmarshaller) { this.unmarshaller = unmarshaller; } + @Override public Object readFrom(Resource resource, @Nullable ClassLoader classLoader) throws IOException { Assert.notNull(resource, "Resource must not be null"); diff --git a/src/main/java/org/springframework/data/repository/query/ParametersParameterAccessor.java b/src/main/java/org/springframework/data/repository/query/ParametersParameterAccessor.java index 65cc9466d7..8c7d207474 100644 --- a/src/main/java/org/springframework/data/repository/query/ParametersParameterAccessor.java +++ b/src/main/java/org/springframework/data/repository/query/ParametersParameterAccessor.java @@ -168,6 +168,7 @@ public Limit getLimit() { * * @return */ + @Override @Nullable public Class<?> findDynamicProjection() { diff --git a/src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java b/src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java index 514fd15414..ab916fee11 100644 --- a/src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java +++ b/src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java @@ -80,7 +80,7 @@ public abstract class QueryExecutionConverters { QueryExecutionConverters.class.getClassLoader()); private static final Set<WrapperType> WRAPPER_TYPES = new HashSet<>(); - private static final Set<WrapperType> UNWRAPPER_TYPES = new HashSet<WrapperType>(); + private static final Set<WrapperType> UNWRAPPER_TYPES = new HashSet<>(); private static final Set<Function<Object, Object>> UNWRAPPERS = new HashSet<>(); private static final Set<Class<?>> ALLOWED_PAGEABLE_TYPES = new HashSet<>(); private static final Map<Class<?>, ExecutionAdapter> EXECUTION_ADAPTER = new HashMap<>(); @@ -442,7 +442,7 @@ public Object convert(@Nullable Object source, TypeDescriptor sourceType, TypeDe Streamable<Object> streamable = source == null // ? Streamable.empty() // - : Streamable.of(Iterable.class.cast(source)); + : Streamable.of((Iterable) source); return Streamable.class.equals(targetType.getType()) // ? streamable // diff --git a/src/main/java/org/springframework/data/repository/util/ReactiveWrapperConverters.java b/src/main/java/org/springframework/data/repository/util/ReactiveWrapperConverters.java index 76506e8ef1..0f224cf1bc 100644 --- a/src/main/java/org/springframework/data/repository/util/ReactiveWrapperConverters.java +++ b/src/main/java/org/springframework/data/repository/util/ReactiveWrapperConverters.java @@ -278,6 +278,7 @@ public Class<? super Flux<?>> getWrapperClass() { return Flux.class; } + @Override public Flux<?> map(Object wrapper, Function<Object, Object> function) { return ((Flux<?>) wrapper).map(function); } @@ -297,6 +298,7 @@ public Class<? super Flow<?>> getWrapperClass() { return Flow.class; } + @Override public Flow<?> map(Object wrapper, Function<Object, Object> function) { return FlowKt.map((Flow<?>) wrapper, (o, continuation) -> function.apply(o)); } diff --git a/src/main/java/org/springframework/data/transaction/MultiTransactionStatus.java b/src/main/java/org/springframework/data/transaction/MultiTransactionStatus.java index 7eebf86e2f..44be76536a 100644 --- a/src/main/java/org/springframework/data/transaction/MultiTransactionStatus.java +++ b/src/main/java/org/springframework/data/transaction/MultiTransactionStatus.java @@ -38,7 +38,7 @@ class MultiTransactionStatus implements TransactionStatus { private final PlatformTransactionManager mainTransactionManager; private final Map<PlatformTransactionManager, TransactionStatus> transactionStatuses = Collections - .synchronizedMap(new HashMap<PlatformTransactionManager, TransactionStatus>()); + .synchronizedMap(new HashMap<>()); private boolean newSynchonization; diff --git a/src/main/java/org/springframework/data/transaction/SpringTransactionSynchronizationManager.java b/src/main/java/org/springframework/data/transaction/SpringTransactionSynchronizationManager.java index 6ef409eac2..2616195235 100644 --- a/src/main/java/org/springframework/data/transaction/SpringTransactionSynchronizationManager.java +++ b/src/main/java/org/springframework/data/transaction/SpringTransactionSynchronizationManager.java @@ -28,14 +28,17 @@ enum SpringTransactionSynchronizationManager implements SynchronizationManager { INSTANCE; + @Override public void initSynchronization() { TransactionSynchronizationManager.initSynchronization(); } + @Override public boolean isSynchronizationActive() { return TransactionSynchronizationManager.isSynchronizationActive(); } + @Override public void clearSynchronization() { TransactionSynchronizationManager.clear(); } diff --git a/src/main/java/org/springframework/data/util/LazyStreamable.java b/src/main/java/org/springframework/data/util/LazyStreamable.java index f1c7afd410..65a926d8c4 100644 --- a/src/main/java/org/springframework/data/util/LazyStreamable.java +++ b/src/main/java/org/springframework/data/util/LazyStreamable.java @@ -34,7 +34,7 @@ private LazyStreamable(Supplier<? extends Stream<T>> stream) { } public static <T> LazyStreamable<T> of(Supplier<? extends Stream<T>> stream) { - return new LazyStreamable<T>(stream); + return new LazyStreamable<>(stream); } @Override diff --git a/src/main/java/org/springframework/data/util/MethodInvocationRecorder.java b/src/main/java/org/springframework/data/util/MethodInvocationRecorder.java index f49132dbf7..dca81898f2 100644 --- a/src/main/java/org/springframework/data/util/MethodInvocationRecorder.java +++ b/src/main/java/org/springframework/data/util/MethodInvocationRecorder.java @@ -99,7 +99,7 @@ private <T> Recorded<T> create(Class<T> type) { T proxy = (T) proxyFactory.getProxy(type.getClassLoader()); - return new Recorded<T>(proxy, new MethodInvocationRecorder(Optional.ofNullable(interceptor))); + return new Recorded<>(proxy, new MethodInvocationRecorder(Optional.ofNullable(interceptor))); } private Optional<String> getPropertyPath(List<PropertyNameDetectionStrategy> strategies) { @@ -319,7 +319,7 @@ public <S> Recorded<S> record(Function<? super T, S> converter) { Assert.notNull(converter, "Function must not be null"); - return new Recorded<S>(converter.apply(currentInstance), recorder); + return new Recorded<>(converter.apply(currentInstance), recorder); } /** @@ -332,7 +332,7 @@ public <S> Recorded<S> record(ToCollectionConverter<T, S> converter) { Assert.notNull(converter, "Converter must not be null"); - return new Recorded<S>(converter.apply(currentInstance).iterator().next(), recorder); + return new Recorded<>(converter.apply(currentInstance).iterator().next(), recorder); } /** @@ -345,7 +345,7 @@ public <S> Recorded<S> record(ToMapConverter<T, S> converter) { Assert.notNull(converter, "Converter must not be null"); - return new Recorded<S>(converter.apply(currentInstance).values().iterator().next(), recorder); + return new Recorded<>(converter.apply(currentInstance).values().iterator().next(), recorder); } @Override diff --git a/src/main/java/org/springframework/data/util/MultiValueMapCollector.java b/src/main/java/org/springframework/data/util/MultiValueMapCollector.java index aff28c0ed0..e334d87793 100644 --- a/src/main/java/org/springframework/data/util/MultiValueMapCollector.java +++ b/src/main/java/org/springframework/data/util/MultiValueMapCollector.java @@ -44,7 +44,7 @@ private MultiValueMapCollector(Function<T, K> keyFunction, Function<T, V> valueF } static <T, K, V> MultiValueMapCollector<T, K, V> of(Function<T, K> keyFunction, Function<T, V> valueFunction) { - return new MultiValueMapCollector<T, K, V>(keyFunction, valueFunction); + return new MultiValueMapCollector<>(keyFunction, valueFunction); } @Override diff --git a/src/main/java/org/springframework/data/util/NullableWrapperConverters.java b/src/main/java/org/springframework/data/util/NullableWrapperConverters.java index 044198c905..0fb04a0cc0 100644 --- a/src/main/java/org/springframework/data/util/NullableWrapperConverters.java +++ b/src/main/java/org/springframework/data/util/NullableWrapperConverters.java @@ -64,9 +64,9 @@ public abstract class NullableWrapperConverters { private static final boolean VAVR_PRESENT = ClassUtils.isPresent("io.vavr.control.Option", NullableWrapperConverters.class.getClassLoader()); - private static final Set<WrapperType> WRAPPER_TYPES = new HashSet<WrapperType>(); - private static final Set<WrapperType> UNWRAPPER_TYPES = new HashSet<WrapperType>(); - private static final Set<Converter<Object, Object>> UNWRAPPERS = new HashSet<Converter<Object, Object>>(); + private static final Set<WrapperType> WRAPPER_TYPES = new HashSet<>(); + private static final Set<WrapperType> UNWRAPPER_TYPES = new HashSet<>(); + private static final Set<Converter<Object, Object>> UNWRAPPERS = new HashSet<>(); private static final Map<Class<?>, Boolean> supportsCache = new ConcurrentReferenceHashMap<>(); static { @@ -410,7 +410,7 @@ private enum ScalOptionUnwrapper implements Converter<Object, Object> { INSTANCE; - private final Function0<Object> alternative = new AbstractFunction0<Object>() { + private final Function0<Object> alternative = new AbstractFunction0<>() { @Nullable @Override diff --git a/src/main/java/org/springframework/data/util/ReflectionUtils.java b/src/main/java/org/springframework/data/util/ReflectionUtils.java index 518edc87d0..2809f2ec39 100644 --- a/src/main/java/org/springframework/data/util/ReflectionUtils.java +++ b/src/main/java/org/springframework/data/util/ReflectionUtils.java @@ -125,6 +125,7 @@ public boolean matches(Field field) { return AnnotationUtils.getAnnotation(field, annotationType) != null; } + @Override public String getDescription() { return String.format("Annotation filter for %s", annotationType.getName()); } @@ -146,6 +147,7 @@ public boolean matches(Field field) { return filter.matches(field); } + @Override public String getDescription() { return String.format("FieldFilter %s", filter.toString()); } diff --git a/src/main/java/org/springframework/data/util/StreamUtils.java b/src/main/java/org/springframework/data/util/StreamUtils.java index 075f02bd97..12748f8394 100644 --- a/src/main/java/org/springframework/data/util/StreamUtils.java +++ b/src/main/java/org/springframework/data/util/StreamUtils.java @@ -135,14 +135,14 @@ static <L, R, T> Stream<T> zip(Stream<L> left, Stream<R> right, BiFunction<L, R, int characteristics = lefts.characteristics() & rights.characteristics(); boolean parallel = left.isParallel() || right.isParallel(); - return StreamSupport.stream(new AbstractSpliterator<T>(size, characteristics) { + return StreamSupport.stream(new AbstractSpliterator<>(size, characteristics) { @Override @SuppressWarnings("null") public boolean tryAdvance(Consumer<? super T> action) { - Sink<L> leftSink = new Sink<L>(); - Sink<R> rightSink = new Sink<R>(); + Sink<L> leftSink = new Sink<>(); + Sink<R> rightSink = new Sink<>(); boolean leftAdvance = lefts.tryAdvance(leftSink); diff --git a/src/main/java/org/springframework/data/util/TypeDiscoverer.java b/src/main/java/org/springframework/data/util/TypeDiscoverer.java index 1ee6e31303..f8f80a405e 100644 --- a/src/main/java/org/springframework/data/util/TypeDiscoverer.java +++ b/src/main/java/org/springframework/data/util/TypeDiscoverer.java @@ -152,7 +152,7 @@ protected TypeInformation<?> doGetComponentType() { List<TypeInformation<?>> arguments = getTypeArguments(); - if (arguments.size() > 0) { + if (!arguments.isEmpty()) { return arguments.get(0); } diff --git a/src/main/java/org/springframework/data/util/TypeUtils.java b/src/main/java/org/springframework/data/util/TypeUtils.java index da8175b552..54e1798428 100644 --- a/src/main/java/org/springframework/data/util/TypeUtils.java +++ b/src/main/java/org/springframework/data/util/TypeUtils.java @@ -224,6 +224,7 @@ private static class TypeOpsImpl implements TypeOps { this.type = type; } + @Override public Class<?> getType() { return type; } diff --git a/src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java b/src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java index 2006fed128..a67243ca8a 100644 --- a/src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java +++ b/src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java @@ -97,7 +97,7 @@ public JsonProjectingMethodInterceptorFactory(JsonProvider jsonProvider, Mapping @Override public MethodInterceptor createMethodInterceptor(Object source, Class<?> targetType) { - DocumentContext context = InputStream.class.isInstance(source) ? this.context.parse((InputStream) source) + DocumentContext context = source instanceof InputStream ? this.context.parse((InputStream) source) : this.context.parse(source); return new InputMessageProjecting(context); @@ -106,12 +106,11 @@ public MethodInterceptor createMethodInterceptor(Object source, Class<?> targetT @Override public boolean supports(Object source, Class<?> targetType) { - if (InputStream.class.isInstance(source) || JSONObject.class.isInstance(source) - || JSONArray.class.isInstance(source)) { + if (source instanceof InputStream || source instanceof JSONObject || source instanceof JSONArray) { return true; } - return Map.class.isInstance(source) && hasJsonPathAnnotation(targetType); + return source instanceof Map && hasJsonPathAnnotation(targetType); } /** diff --git a/src/main/java/org/springframework/data/web/SpringDataAnnotationUtils.java b/src/main/java/org/springframework/data/web/SpringDataAnnotationUtils.java index 62ec4e2600..04f2b1e895 100644 --- a/src/main/java/org/springframework/data/web/SpringDataAnnotationUtils.java +++ b/src/main/java/org/springframework/data/web/SpringDataAnnotationUtils.java @@ -173,8 +173,8 @@ public static void assertQualifiersFor(Class<?>[] parameterTypes, Annotation[][] private static Qualifier findAnnotation(Annotation[] annotations) { for (Annotation annotation : annotations) { - if (annotation instanceof Qualifier) { - return (Qualifier) annotation; + if (annotation instanceof Qualifier q) { + return q; } } diff --git a/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java b/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java index 9167836bdb..61680d2182 100644 --- a/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java +++ b/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java @@ -121,7 +121,7 @@ protected Object readInternal(Class<? extends Object> clazz, HttpInputMessage in Throwable cause = o_O.getCause(); - if (SAXParseException.class.isInstance(cause)) { + if (cause instanceof SAXParseException) { throw new HttpMessageNotReadableException("Cannot read input message", cause, inputMessage); } else { throw o_O; diff --git a/src/main/java/org/springframework/data/web/config/ProjectingArgumentResolverRegistrar.java b/src/main/java/org/springframework/data/web/config/ProjectingArgumentResolverRegistrar.java index cdbad56ce3..3e6badd215 100644 --- a/src/main/java/org/springframework/data/web/config/ProjectingArgumentResolverRegistrar.java +++ b/src/main/java/org/springframework/data/web/config/ProjectingArgumentResolverRegistrar.java @@ -103,7 +103,7 @@ public Object postProcessBeforeInitialization(Object bean, String beanName) thro @Override public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException { - if (!RequestMappingHandlerAdapter.class.isInstance(bean)) { + if (!(bean instanceof RequestMappingHandlerAdapter)) { return bean; } @@ -115,7 +115,7 @@ public Object postProcessAfterInitialization(Object bean, String beanName) throw String.format("No HandlerMethodArgumentResolvers found in RequestMappingHandlerAdapter %s", beanName)); } - List<HandlerMethodArgumentResolver> newResolvers = new ArrayList<HandlerMethodArgumentResolver>( + List<HandlerMethodArgumentResolver> newResolvers = new ArrayList<>( currentResolvers.size() + 1); newResolvers.add(resolver); newResolvers.addAll(currentResolvers); diff --git a/src/main/java/org/springframework/data/web/config/SpringDataWebConfiguration.java b/src/main/java/org/springframework/data/web/config/SpringDataWebConfiguration.java index 383ceee7e4..ff7851c6a1 100644 --- a/src/main/java/org/springframework/data/web/config/SpringDataWebConfiguration.java +++ b/src/main/java/org/springframework/data/web/config/SpringDataWebConfiguration.java @@ -131,7 +131,7 @@ public void addFormatters(FormatterRegistry registry) { return; } - DomainClassConverter<FormattingConversionService> converter = new DomainClassConverter<FormattingConversionService>( + DomainClassConverter<FormattingConversionService> converter = new DomainClassConverter<>( conversionService); converter.setApplicationContext(context); } diff --git a/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomRepositoryBaseClass.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomRepositoryBaseClass.java index 4829225322..38f9a344e3 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomRepositoryBaseClass.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomRepositoryBaseClass.java @@ -44,6 +44,7 @@ public <S extends T> S save(S entity) { return this.delegate.save(entity); } + @Override public <S extends T> Iterable<S> saveAll(Iterable<S> entities) { return this.delegate.saveAll(entities); } @@ -52,38 +53,47 @@ public Optional<T> findById(ID id) { return this.delegate.findById(id); } + @Override public boolean existsById(ID id) { return this.delegate.existsById(id); } + @Override public Iterable<T> findAll() { return this.delegate.findAll(); } + @Override public Iterable<T> findAllById(Iterable<ID> ids) { return this.delegate.findAllById(ids); } + @Override public long count() { return this.delegate.count(); } + @Override public void deleteById(ID id) { this.delegate.deleteById(id); } + @Override public void delete(T entity) { this.delegate.delete(entity); } + @Override public void deleteAllById(Iterable<? extends ID> ids) { this.delegate.deleteAllById(ids); } + @Override public void deleteAll(Iterable<? extends T> entities) { this.delegate.deleteAll(entities); } + @Override public void deleteAll() { this.delegate.deleteAll(); } diff --git a/src/test/java/org/springframework/data/auditing/AuditedUser.java b/src/test/java/org/springframework/data/auditing/AuditedUser.java index 33eb309483..70f59e15eb 100644 --- a/src/test/java/org/springframework/data/auditing/AuditedUser.java +++ b/src/test/java/org/springframework/data/auditing/AuditedUser.java @@ -44,34 +44,42 @@ public boolean isNew() { return id == null; } + @Override public Optional<AuditedUser> getCreatedBy() { return Optional.ofNullable(createdBy); } + @Override public void setCreatedBy(AuditedUser createdBy) { this.createdBy = createdBy; } + @Override public Optional<LocalDateTime> getCreatedDate() { return Optional.ofNullable(createdDate); } + @Override public void setCreatedDate(LocalDateTime creationDate) { this.createdDate = creationDate; } + @Override public Optional<AuditedUser> getLastModifiedBy() { return Optional.ofNullable(modifiedBy); } + @Override public void setLastModifiedBy(AuditedUser lastModifiedBy) { this.modifiedBy = lastModifiedBy; } + @Override public Optional<LocalDateTime> getLastModifiedDate() { return Optional.ofNullable(modifiedDate); } + @Override public void setLastModifiedDate(LocalDateTime lastModifiedDate) { this.modifiedDate = lastModifiedDate; } diff --git a/src/test/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupportUnitTests.java b/src/test/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupportUnitTests.java index 064753b327..b03716e183 100755 --- a/src/test/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupportUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupportUnitTests.java @@ -90,18 +90,22 @@ protected Class<? extends Annotation> getAnnotation() { protected AuditingConfiguration getConfiguration(AnnotationMetadata annotationMetadata) { return new AuditingConfiguration() { + @Override public String getAuditorAwareRef() { return "auditor"; } + @Override public boolean isSetDates() { return true; } + @Override public String getDateTimeProviderRef() { return "dateTimeProvider"; } + @Override public boolean isModifyOnCreate() { return true; } diff --git a/src/test/java/org/springframework/data/mapping/model/AbstractPersistentPropertyUnitTests.java b/src/test/java/org/springframework/data/mapping/model/AbstractPersistentPropertyUnitTests.java index e399c7818d..52a0455ecd 100755 --- a/src/test/java/org/springframework/data/mapping/model/AbstractPersistentPropertyUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/AbstractPersistentPropertyUnitTests.java @@ -358,10 +358,12 @@ public SamplePersistentProperty(Property property, PersistentEntity<?, SamplePer super(property, owner, simpleTypeHolder); } + @Override public boolean isIdProperty() { return false; } + @Override public boolean isVersionProperty() { return false; } diff --git a/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactoryUnitTests.java b/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactoryUnitTests.java index ea2665bcae..cf091d901d 100755 --- a/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactoryUnitTests.java @@ -129,6 +129,7 @@ void rejectsPredicateResolutionIfDomainTypeCantBeAutoDetected() { static class SpecificBinding implements QuerydslBinderCustomizer<QUser> { + @Override public void customize(QuerydslBindings bindings, QUser user) { bindings.bind(user.firstname).firstOptional((path, value) -> value.map(it -> path.eq(it.toUpperCase()))); diff --git a/src/test/java/org/springframework/data/repository/config/DefaultRepositoryConfigurationUnitTests.java b/src/test/java/org/springframework/data/repository/config/DefaultRepositoryConfigurationUnitTests.java index 38548919a2..f1713f313d 100755 --- a/src/test/java/org/springframework/data/repository/config/DefaultRepositoryConfigurationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/DefaultRepositoryConfigurationUnitTests.java @@ -94,10 +94,12 @@ public SimplerRepositoryConfigurationExtension(String repositoryFactoryBeanClass this.modulePrefix = modulePrefix; } + @Override public String getRepositoryFactoryBeanClassName() { return this.repositoryFactoryBeanClassName; } + @Override public String getModulePrefix() { return this.modulePrefix; } diff --git a/src/test/java/org/springframework/data/repository/config/DummyConfigurationExtension.java b/src/test/java/org/springframework/data/repository/config/DummyConfigurationExtension.java index bde66ac87f..3e60d97357 100644 --- a/src/test/java/org/springframework/data/repository/config/DummyConfigurationExtension.java +++ b/src/test/java/org/springframework/data/repository/config/DummyConfigurationExtension.java @@ -23,6 +23,7 @@ */ class DummyConfigurationExtension extends RepositoryConfigurationExtensionSupport { + @Override public String getRepositoryFactoryBeanClassName() { return DummyRepositoryFactoryBean.class.getName(); } diff --git a/src/test/java/org/springframework/data/repository/config/ReactiveDummyConfigurationExtension.java b/src/test/java/org/springframework/data/repository/config/ReactiveDummyConfigurationExtension.java index 6f8e32990c..90242cd6f7 100644 --- a/src/test/java/org/springframework/data/repository/config/ReactiveDummyConfigurationExtension.java +++ b/src/test/java/org/springframework/data/repository/config/ReactiveDummyConfigurationExtension.java @@ -24,6 +24,7 @@ */ class ReactiveDummyConfigurationExtension extends RepositoryConfigurationExtensionSupport { + @Override public String getRepositoryFactoryBeanClassName() { return ReactiveDummyRepositoryFactoryBean.class.getName(); } diff --git a/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportUnitTests.java b/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportUnitTests.java index 2d015633af..983f41fbe8 100755 --- a/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportUnitTests.java @@ -181,6 +181,7 @@ protected RepositoryConfigurationExtension getExtension() { static class DummyConfigurationExtension extends RepositoryConfigurationExtensionSupport { + @Override public String getRepositoryFactoryBeanClassName() { return DummyRepositoryFactoryBean.class.getName(); } diff --git a/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationDelegateUnitTests.java b/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationDelegateUnitTests.java index 6ba7582203..529671b228 100644 --- a/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationDelegateUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationDelegateUnitTests.java @@ -324,6 +324,7 @@ static class AnnotatedBeanNamesConfig {} static class DummyConfigurationExtension extends RepositoryConfigurationExtensionSupport { + @Override public String getRepositoryFactoryBeanClassName() { return DummyRepositoryFactoryBean.class.getName(); } diff --git a/src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java index 64524d0c1c..0f39537132 100755 --- a/src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java @@ -238,10 +238,12 @@ interface RepositoryWithIterableDeleteOnly extends Repository<Domain, Serializab // DATACMNS-393 interface RepositoryWithAllCrudMethodOverloaded extends CrudRepository<Domain, Long> { + @Override List<Domain> findAll(); <S extends Domain> S save(S entity); + @Override void deleteById(Long id); Optional<Domain> findById(Long id); @@ -262,6 +264,7 @@ interface RepositoryWithAllCrudMethodOverloadedWrong extends CrudRepository<Doma // DATACMNS-539 interface RepositoryWithDeleteMethodForEntityOverloaded extends CrudRepository<Domain, Long> { + @Override void delete(Domain entity); } } diff --git a/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryInformationUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryInformationUnitTests.java index dccd6b15d6..951e0168b6 100755 --- a/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryInformationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryInformationUnitTests.java @@ -334,6 +334,7 @@ interface BaseRepository<S, ID> extends CrudRepository<S, ID> { <K extends S> K save(K entity); + @Override void delete(S entity); @MyQuery @@ -371,6 +372,7 @@ interface BossRepository extends CrudRepository<Boss, Long> {} interface CustomDefaultRepositoryMethodsRepository extends CrudRepository<User, Integer> { + @Override @MyQuery List<User> findAll(); } @@ -402,6 +404,7 @@ public <S extends T> S save(S entity) { return this.delegate.save(entity); } + @Override public <S extends T> Iterable<S> saveAll(Iterable<S> entities) { return this.delegate.saveAll(entities); } @@ -410,38 +413,47 @@ public Optional<T> findById(ID id) { return this.delegate.findById(id); } + @Override public boolean existsById(ID id) { return this.delegate.existsById(id); } + @Override public Iterable<T> findAll() { return this.delegate.findAll(); } + @Override public Iterable<T> findAllById(Iterable<ID> ids) { return this.delegate.findAllById(ids); } + @Override public long count() { return this.delegate.count(); } + @Override public void deleteById(ID id) { this.delegate.deleteById(id); } + @Override public void delete(T entity) { this.delegate.delete(entity); } + @Override public void deleteAllById(Iterable<? extends ID> ids) { this.delegate.deleteAllById(ids); } + @Override public void deleteAll(Iterable<? extends T> entities) { this.delegate.deleteAll(entities); } + @Override public void deleteAll() { this.delegate.deleteAll(); } diff --git a/src/test/java/org/springframework/data/repository/core/support/DummyEntityInformation.java b/src/test/java/org/springframework/data/repository/core/support/DummyEntityInformation.java index 0fb42e4d40..5a40e43a99 100644 --- a/src/test/java/org/springframework/data/repository/core/support/DummyEntityInformation.java +++ b/src/test/java/org/springframework/data/repository/core/support/DummyEntityInformation.java @@ -33,10 +33,12 @@ public DummyEntityInformation(Class<T> domainClass) { super(domainClass); } + @Override public Serializable getId(Object entity) { return entity == null ? null : entity.toString(); } + @Override public Class<Serializable> getIdType() { return Serializable.class; } diff --git a/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryInformation.java b/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryInformation.java index ad290765fb..6c8ae68a6d 100644 --- a/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryInformation.java +++ b/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryInformation.java @@ -37,14 +37,17 @@ public DummyRepositoryInformation(RepositoryMetadata metadata) { this.metadata = metadata; } + @Override public TypeInformation<?> getIdTypeInformation() { return metadata.getIdTypeInformation(); } + @Override public TypeInformation<?> getDomainTypeInformation() { return metadata.getDomainTypeInformation(); } + @Override public Class<?> getRepositoryInterface() { return metadata.getRepositoryInterface(); } @@ -54,38 +57,47 @@ public TypeInformation<?> getReturnType(Method method) { return metadata.getReturnType(method); } + @Override public Class<?> getReturnedDomainClass(Method method) { return getDomainType(); } + @Override public Class<?> getRepositoryBaseClass() { return getRepositoryInterface(); } + @Override public boolean hasCustomMethod() { return false; } + @Override public boolean isCustomMethod(Method method) { return false; } + @Override public boolean isQueryMethod(Method method) { return false; } + @Override public Streamable<Method> getQueryMethods() { return Streamable.empty(); } + @Override public Method getTargetClassMethod(Method method) { return method; } + @Override public boolean isBaseClassMethod(Method method) { return true; } + @Override public CrudMethods getCrudMethods() { return new DefaultCrudMethods(this); } diff --git a/src/test/java/org/springframework/data/repository/support/CrudRepositoryInvokerUnitTests.java b/src/test/java/org/springframework/data/repository/support/CrudRepositoryInvokerUnitTests.java index 40343392ae..8f0c2e1613 100755 --- a/src/test/java/org/springframework/data/repository/support/CrudRepositoryInvokerUnitTests.java +++ b/src/test/java/org/springframework/data/repository/support/CrudRepositoryInvokerUnitTests.java @@ -174,6 +174,7 @@ interface CrudWithFindAllWithPageable extends CrudRepository<Order, Long> { interface CrudWithRedeclaredDelete extends CrudRepository<Order, Long> { + @Override void deleteById(Long id); } } diff --git a/src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java b/src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java index 88c11eb139..5a38eb220d 100755 --- a/src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java +++ b/src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java @@ -270,19 +270,23 @@ static class SampleRepoFactoryInformation<T, S extends Serializable> implements this.mappingContext = new SampleMappingContext(); } + @Override @SuppressWarnings({ "unchecked", "rawtypes" }) public EntityInformation<T, S> getEntityInformation() { return new DummyEntityInformation(repositoryMetadata.getDomainType()); } + @Override public RepositoryInformation getRepositoryInformation() { return new DummyRepositoryInformation(repositoryMetadata); } + @Override public PersistentEntity<?, ?> getPersistentEntity() { return mappingContext.getRequiredPersistentEntity(repositoryMetadata.getDomainType()); } + @Override public List<QueryMethod> getQueryMethods() { return Collections.emptyList(); } diff --git a/src/test/java/org/springframework/data/transaction/ChainedTransactionManagerTests.java b/src/test/java/org/springframework/data/transaction/ChainedTransactionManagerTests.java index 1ca7f3b48c..88261b94e1 100755 --- a/src/test/java/org/springframework/data/transaction/ChainedTransactionManagerTests.java +++ b/src/test/java/org/springframework/data/transaction/ChainedTransactionManagerTests.java @@ -137,14 +137,17 @@ static class TestSynchronizationManager implements SynchronizationManager { private boolean synchronizationActive; + @Override public void initSynchronization() { synchronizationActive = true; } + @Override public boolean isSynchronizationActive() { return synchronizationActive; } + @Override public void clearSynchronization() { synchronizationActive = false; } diff --git a/src/test/java/org/springframework/data/util/ReflectionUtilsUnitTests.java b/src/test/java/org/springframework/data/util/ReflectionUtilsUnitTests.java index 3a12bd6ac9..b7b74b0598 100755 --- a/src/test/java/org/springframework/data/util/ReflectionUtilsUnitTests.java +++ b/src/test/java/org/springframework/data/util/ReflectionUtilsUnitTests.java @@ -178,6 +178,7 @@ public boolean matches(Field field) { return field.getName().equals(name); } + @Override public String getDescription() { return String.format("Filter for fields named %s", name); } diff --git a/src/test/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverUnitTests.java index 9a79983b66..9666573949 100755 --- a/src/test/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverUnitTests.java @@ -273,6 +273,7 @@ private static MethodParameter getMethodParameterFor(String methodName, Class<?> static class SpecificBinding implements QuerydslBinderCustomizer<QUser> { + @Override public void customize(QuerydslBindings bindings, QUser user) { bindings.bind(user.firstname).firstOptional((path, value) -> value.map(it -> path.eq(it.toUpperCase()))); diff --git a/src/test/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolverUnitTests.java index 33aae9b4aa..a39b1c650b 100755 --- a/src/test/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolverUnitTests.java @@ -142,6 +142,7 @@ private static MethodParameter getMethodParameterFor(String methodName, Class<?> static class SpecificBinding implements QuerydslBinderCustomizer<QUser> { + @Override public void customize(QuerydslBindings bindings, QUser user) { bindings.bind(user.firstname).firstOptional((path, value) -> value.map(it -> path.eq(it.toUpperCase()))); From 4ada6b9aaadc3e8bd5a920b2a773f0ac0e32f1d6 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Mon, 30 Sep 2024 09:23:19 +0200 Subject: [PATCH 051/108] Introduce `BasicPropertyDescriptor` to `KotlinBeanInfoFactory` to bypass early property type validation. Closes #3167 --- .../data/util/KotlinBeanInfoFactory.java | 50 ++++++++++++++++++- .../data/util/AbstractAuditable.java | 37 ++++++++++++++ .../util/KotlinBeanInfoFactoryUnitTests.kt | 11 ++++ 3 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 src/test/java/org/springframework/data/util/AbstractAuditable.java diff --git a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java index d7e0a6d29a..ae2bc6b48c 100644 --- a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java +++ b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java @@ -40,6 +40,7 @@ import org.springframework.core.Ordered; import org.springframework.lang.Nullable; import org.springframework.util.ClassUtils; +import org.springframework.util.ObjectUtils; import org.springframework.util.ReflectionUtils; import org.springframework.util.StringUtils; @@ -112,8 +113,13 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { for (PropertyDescriptor descriptor : javaPropertyDescriptors) { - descriptor = new PropertyDescriptor(descriptor.getName(), specialize(beanClass, descriptor.getReadMethod()), - specialize(beanClass, descriptor.getWriteMethod())); + Method getter = specialize(beanClass, descriptor.getReadMethod()); + Method setter = specialize(beanClass, descriptor.getWriteMethod()); + + if (!ObjectUtils.nullSafeEquals(descriptor.getReadMethod(), getter) + || !ObjectUtils.nullSafeEquals(descriptor.getWriteMethod(), setter)) { + descriptor = new BasicPropertyDescriptor(descriptor.getName(), getter, setter); + } descriptors.put(descriptor.getName(), descriptor); } } @@ -148,4 +154,44 @@ public int getOrder() { return LOWEST_PRECEDENCE - 10; // leave some space for customizations. } + /** + * PropertyDescriptor for {@link KotlinBeanInfoFactory}, not performing any early type determination for + * {@link #setReadMethod}/{@link #setWriteMethod}. + * + * @since 3.3.5 + */ + private static class BasicPropertyDescriptor extends PropertyDescriptor { + + private @Nullable Method readMethod; + + private @Nullable Method writeMethod; + + public BasicPropertyDescriptor(String propertyName, @Nullable Method readMethod, @Nullable Method writeMethod) + throws IntrospectionException { + + super(propertyName, readMethod, writeMethod); + } + + @Override + public void setReadMethod(@Nullable Method readMethod) { + this.readMethod = readMethod; + } + + @Override + @Nullable + public Method getReadMethod() { + return this.readMethod; + } + + @Override + public void setWriteMethod(@Nullable Method writeMethod) { + this.writeMethod = writeMethod; + } + + @Override + @Nullable + public Method getWriteMethod() { + return this.writeMethod; + } + } } diff --git a/src/test/java/org/springframework/data/util/AbstractAuditable.java b/src/test/java/org/springframework/data/util/AbstractAuditable.java new file mode 100644 index 0000000000..d5390b7ea2 --- /dev/null +++ b/src/test/java/org/springframework/data/util/AbstractAuditable.java @@ -0,0 +1,37 @@ +/* + * Copyright 2024 the original author or authors. + * + * 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 + * + * https://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. + */ +package org.springframework.data.util; + +import java.time.LocalDateTime; +import java.time.ZoneId; +import java.util.Date; +import java.util.Optional; + +import org.springframework.lang.Nullable; + +public abstract class AbstractAuditable { + + private @Nullable Date createdDate; + + public Optional<LocalDateTime> getCreatedDate() { + return null == createdDate ? Optional.empty() : Optional.of(LocalDateTime.now()); + } + + public void setCreatedDate(LocalDateTime createdDate) { + this.createdDate = Date.from(createdDate.atZone(ZoneId.systemDefault()).toInstant()); + } + +} diff --git a/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt index f02c98a87c..16e714dd3c 100644 --- a/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt @@ -130,6 +130,13 @@ class KotlinBeanInfoFactoryUnitTests { ) } + @Test // GH-3167 + internal fun supportsPropertiesWithDifferentAccessorTypes() { + + val pds = BeanUtils.getPropertyDescriptors(User::class.java) + assertThat(pds).isNotEmpty + } + data class SimpleDataClass(val id: String, var name: String) @JvmInline @@ -189,4 +196,8 @@ class KotlinBeanInfoFactoryUnitTests { return super.getName() } } + + class User : AbstractAuditable() { + var name: String? = null + } } From fb978b8220c898681811930ac0ef87d83e7effe9 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Mon, 30 Sep 2024 09:24:25 +0200 Subject: [PATCH 052/108] Polishing. See #3167 --- .../data/util/KotlinBeanInfoFactory.java | 41 ++++++++++++------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java index ae2bc6b48c..8d2104ae72 100644 --- a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java +++ b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java @@ -69,7 +69,28 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { Collection<KCallable<?>> members = kotlinClass.getMembers(); Map<String, PropertyDescriptor> descriptors = new LinkedHashMap<>(members.size(), 1.f); - for (KCallable<?> member : kotlinClass.getMembers()) { + collectKotlinProperties(beanClass, members, descriptors); + collectBasicJavaProperties(beanClass, descriptors); + + PropertyDescriptor[] propertyDescriptors = descriptors.values().toArray(new PropertyDescriptor[0]); + + return new SimpleBeanInfo() { + @Override + public BeanDescriptor getBeanDescriptor() { + return new BeanDescriptor(beanClass); + } + + @Override + public PropertyDescriptor[] getPropertyDescriptors() { + return propertyDescriptors; + } + }; + } + + private static void collectKotlinProperties(Class<?> beanClass, Collection<KCallable<?>> members, + Map<String, PropertyDescriptor> descriptors) throws IntrospectionException { + + for (KCallable<?> member : members) { if (member instanceof KProperty<?> property) { @@ -100,6 +121,10 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { descriptors.put(property.getName(), new PropertyDescriptor(property.getName(), getter, setter)); } } + } + + private static void collectBasicJavaProperties(Class<?> beanClass, Map<String, PropertyDescriptor> descriptors) + throws IntrospectionException { Class<?> javaClass = beanClass; do { @@ -123,20 +148,6 @@ public BeanInfo getBeanInfo(Class<?> beanClass) throws IntrospectionException { descriptors.put(descriptor.getName(), descriptor); } } - - PropertyDescriptor[] propertyDescriptors = descriptors.values().toArray(new PropertyDescriptor[0]); - - return new SimpleBeanInfo() { - @Override - public BeanDescriptor getBeanDescriptor() { - return new BeanDescriptor(beanClass); - } - - @Override - public PropertyDescriptor[] getPropertyDescriptors() { - return propertyDescriptors; - } - }; } @Nullable From ca462e733e9d79dd35ea43e7700c8a65de5a22c7 Mon Sep 17 00:00:00 2001 From: Christoph Strobl <christoph.strobl@broadcom.com> Date: Mon, 7 Oct 2024 09:53:18 +0200 Subject: [PATCH 053/108] Fix native image hints for web support. This commit adds a required native image reflection hint to allow Jackson object mapping to resolve and invoke the constructor of PageMetadata. It also fixes an issue that surfaced after changing the bean constructor argument for SpringDataWebSettings leading to failures during the native compilation. Closes: #3171 --- .../springframework/data/web/aot/WebRuntimeHints.java | 8 +++++++- .../data/web/aot/WebRuntimeHintsUnitTests.java | 11 ++++++----- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java b/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java index 3a9aee614b..68f01f4527 100644 --- a/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java +++ b/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java @@ -20,6 +20,7 @@ import org.springframework.aot.hint.RuntimeHintsRegistrar; import org.springframework.aot.hint.TypeReference; import org.springframework.data.web.PagedModel; +import org.springframework.data.web.config.EnableSpringDataWebSupport; import org.springframework.data.web.config.SpringDataJacksonConfiguration.PageModule; import org.springframework.lang.Nullable; import org.springframework.util.ClassUtils; @@ -35,12 +36,17 @@ class WebRuntimeHints implements RuntimeHintsRegistrar { @Override public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader) { + hints.reflection().registerType(org.springframework.data.web.config.SpringDataWebSettings.class, hint -> hint + .withMembers(MemberCategory.INVOKE_DECLARED_METHODS).onReachableType(EnableSpringDataWebSupport.class)); + if (ClassUtils.isPresent("com.fasterxml.jackson.databind.ObjectMapper", classLoader)) { // Page Model for Jackson Rendering hints.reflection().registerType(org.springframework.data.web.PagedModel.class, MemberCategory.INVOKE_PUBLIC_METHODS); - hints.reflection().registerType(PagedModel.PageMetadata.class, MemberCategory.INVOKE_PUBLIC_METHODS); + + hints.reflection().registerType(PagedModel.PageMetadata.class, MemberCategory.INVOKE_DECLARED_CONSTRUCTORS, + MemberCategory.INVOKE_PUBLIC_METHODS); // Type that might not be seen otherwise hints.reflection().registerType(TypeReference.of("org.springframework.data.domain.Unpaged"), diff --git a/src/test/java/org/springframework/data/web/aot/WebRuntimeHintsUnitTests.java b/src/test/java/org/springframework/data/web/aot/WebRuntimeHintsUnitTests.java index 72b20118f1..6a88781b55 100644 --- a/src/test/java/org/springframework/data/web/aot/WebRuntimeHintsUnitTests.java +++ b/src/test/java/org/springframework/data/web/aot/WebRuntimeHintsUnitTests.java @@ -15,11 +15,11 @@ */ package org.springframework.data.web.aot; -import static org.assertj.core.api.Assertions.*; -import static org.mockito.Mockito.*; +import static org.assertj.core.api.Assertions.assertThat; +import static org.mockito.Mockito.mock; +import static org.mockito.Mockito.when; import org.junit.jupiter.api.Test; - import org.springframework.aot.hint.ReflectionHints; import org.springframework.aot.hint.RuntimeHints; import org.springframework.aot.hint.TypeReference; @@ -46,7 +46,7 @@ void shouldRegisterRuntimeHintWhenJacksonPresent() { RuntimeHintsPredicates.reflection().onType(TypeReference.of("org.springframework.data.domain.Unpaged"))); } - @Test // GH-3033 + @Test // GH-3033, GH-3171 @ClassPathExclusions(packages = { "com.fasterxml.jackson.databind" }) void shouldRegisterRuntimeHintWithTypeNameWhenJacksonNotPresent() { @@ -56,6 +56,7 @@ void shouldRegisterRuntimeHintWithTypeNameWhenJacksonNotPresent() { new WebRuntimeHints().registerHints(runtimeHints, this.getClass().getClassLoader()); - assertThat(runtimeHints.reflection().typeHints()).isEmpty(); + assertThat(runtimeHints).matches(RuntimeHintsPredicates.reflection() + .onType(TypeReference.of("org.springframework.data.web.config.SpringDataWebSettings"))); } } From 38ac35dd3f9ee4493e9b6403e4918563f570bebb Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Wed, 9 Oct 2024 13:59:36 +0200 Subject: [PATCH 054/108] Use Docker in Docker CI setup. See #3151 --- Jenkinsfile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 52090cbcc9..87b3f57c35 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -37,9 +37,9 @@ pipeline { steps { script { docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { - docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { + docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.docker']) { sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + - "./mvnw -s settings.xml clean dependency:list verify -Dsort -B -U" + "./mvnw -s settings.xml -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-commons -Ddevelocity.storage.directory=/tmp/jenkins-home/.develocity-root clean dependency:list verify -Dsort -B -U" } } } @@ -67,9 +67,9 @@ pipeline { steps { script { docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { - docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.basic']) { + docker.image(p['docker.java.next.image']).inside(p['docker.java.inside.docker']) { sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + - "./mvnw -s settings.xml clean dependency:list verify -Dsort -B" + "./mvnw -s settings.xml -Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-commons -Ddevelocity.storage.directory=/tmp/jenkins-home/.develocity-root clean dependency:list verify -Dsort -B" } } } @@ -99,15 +99,17 @@ pipeline { steps { script { docker.withRegistry(p['docker.proxy.registry'], p['docker.proxy.credentials']) { - docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.basic']) { + docker.image(p['docker.java.main.image']).inside(p['docker.java.inside.docker']) { sh 'MAVEN_OPTS="-Duser.name=' + "${p['jenkins.user.name']}" + ' -Duser.home=/tmp/jenkins-home" ' + "./mvnw -s settings.xml -Pci,artifactory " + + "-Ddevelocity.storage.directory=/tmp/jenkins-home/.develocity-root " + "-Dartifactory.server=${p['artifactory.url']} " + "-Dartifactory.username=${ARTIFACTORY_USR} " + "-Dartifactory.password=${ARTIFACTORY_PSW} " + "-Dartifactory.staging-repository=${p['artifactory.repository.snapshot']} " + "-Dartifactory.build-name=spring-data-commons " + "-Dartifactory.build-number=spring-data-commons-${BRANCH_NAME}-build-${BUILD_NUMBER} " + + "-Dmaven.repo.local=/tmp/jenkins-home/.m2/spring-data-commons " + "-Dmaven.test.skip=true clean deploy -U -B" } } From 3b29a2ba6f677451250a07d32e1ea149fb4e0f30 Mon Sep 17 00:00:00 2001 From: imcb <joelsgp@protonmail.com> Date: Fri, 11 Oct 2024 09:39:04 +0100 Subject: [PATCH 055/108] Fix typo in definition.adoc. Closes #3147 --- src/main/antora/modules/ROOT/pages/repositories/definition.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/repositories/definition.adoc b/src/main/antora/modules/ROOT/pages/repositories/definition.adoc index 3b6f92ae88..44de48c585 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/definition.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/definition.adoc @@ -18,7 +18,7 @@ If you are using a reactive store you might choose `ReactiveCrudRepository`, or If you are using Kotlin you might pick `CoroutineCrudRepository` which utilizes Kotlin's coroutines. -Additional you can extend `PagingAndSortingRepository`, `ReactiveSortingRepository`, `RxJava3SortingRepository`, or `CoroutineSortingRepository` if you need methods that allow to specify a `Sort` abstraction or in the first case a `Pageable` abstraction. +Additionally you can extend `PagingAndSortingRepository`, `ReactiveSortingRepository`, `RxJava3SortingRepository`, or `CoroutineSortingRepository` if you need methods that allow to specify a `Sort` abstraction or in the first case a `Pageable` abstraction. Note that the various sorting repositories no longer extended their respective CRUD repository as they did in Spring Data Versions pre 3.0. Therefore, you need to extend both interfaces if you want functionality of both. From 2aaa809b648735030e260f7879c3202c798999b7 Mon Sep 17 00:00:00 2001 From: Hosam Aly <hosamaly6@gmail.com> Date: Mon, 7 Oct 2024 19:28:12 +0100 Subject: [PATCH 056/108] Fix typo in query-methods-details.adoc. Fix a typo: Priced => Product Closes #3172 --- .../modules/ROOT/pages/repositories/query-methods-details.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc index 72eb51c260..40c9e9b53f 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc @@ -198,7 +198,7 @@ class Products implements Streamable<Product> { <2> public MonetaryAmount getTotal() { <3> return streamable.stream() - .map(Priced::getPrice) + .map(Product::getPrice) .reduce(Money.of(0), MonetaryAmount::add); } From 0107c3909c2d8d7c3f8d570a86ee9a903d52b566 Mon Sep 17 00:00:00 2001 From: Christoph Strobl <christoph.strobl@broadcom.com> Date: Wed, 9 Oct 2024 10:00:54 +0200 Subject: [PATCH 057/108] Update documentation. Add section on reserved method names within repository interfaces. Closes #3173 Original pull request: #3174 --- .../pages/repositories/core-concepts.adoc | 5 +++ .../query-keywords-reference.adoc | 14 +++++++++ .../repositories/query-methods-details.adoc | 31 +++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc b/src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc index b326df769f..7c56eb55ea 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc @@ -37,6 +37,11 @@ public interface CrudRepository<T, ID> extends Repository<T, ID> { The methods declared in this interface are commonly referred to as CRUD methods. `ListCrudRepository` offers equivalent methods, but they return `List` where the `CrudRepository` methods return an `Iterable`. +[IMPORTANT] +==== +The repository interface implies a few reserved methods like `findById(ID identifier)` that always target the domain types identifier property regardless of its property name. Read more about this in "`xref:repositories/query-methods-details.adoc#repositories.query-methods.reserved-methods[Defining Query Methods]`". +==== + NOTE: We also provide persistence technology-specific abstractions, such as `JpaRepository` or `MongoRepository`. Those interfaces extend `CrudRepository` and expose the capabilities of the underlying persistence technology in addition to the rather generic persistence technology-agnostic interfaces such as `CrudRepository`. diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc index 8b08388c53..7c47b81188 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc @@ -21,6 +21,20 @@ Consult the store-specific documentation for the exact list of supported keyword |`…Distinct…`| Use a distinct query to return only unique results. Consult the store-specific documentation whether that feature is supported. This keyword can occur in any place of the subject between `find` (and the other keywords) and `by`. |=============== +[[appendix.query.method.reserved]] +== Reserved methods + +The following table lists reserved methods that use predefined functionality which is directly invoked on the backing (store specific) implementation of the repository proxy. See also "`xref:repositories/query-methods-details.adoc#repositories.query-methods.reserved-methods[Defining Query Methods]`". + +.Reserved methods +|=============== +|`deleteAllById(Iterable<ID> identifiers)` +|`deleteById(ID identifier)` +|`existsById(ID identifier)` +|`findAllById(Iterable<ID> identifiers)` +|`findById(ID identifier)` +|=============== + [[appendix.query.method.predicate]] == Supported query method predicate keywords and modifiers diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc index 40c9e9b53f..73a0d7c3b7 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc @@ -86,6 +86,37 @@ Whether ignoring cases is supported may vary by store, so consult the relevant s - You can apply static ordering by appending an `OrderBy` clause to the query method that references a property and by providing a sorting direction (`Asc` or `Desc`). To create a query method that supports dynamic sorting, see "`xref:repositories/query-methods-details.adoc#repositories.special-parameters[Paging, Iterating Large Results, Sorting & Limiting]`". +[[repositories.query-methods.reserved-methods]] +== Reserved Methods + +While repository methods typically bind to properties by name, there are a few exceptions to this rule when it comes to certain method names targeting the _identifier_ property. Those _reserved methods_ like `CrudRepository#findById` or just `findById` are targeting the _identifier_ property independent of the actual property name used in the declared method. + +Consider the following domain type holding a property `pk` marked as the identifier via `@Id` and a property called `id`. In this case you need to pay close attention to the naming of your lookup methods as they may collide with predefined signatures. + +==== +[source,java] +---- +public class User { + @Id + Long pk; <1> + Long id; <2> + // ... +} + +public interface UserRepository extends Repository<User, Long> { + Optional<User> findById(Long id); <3> + Optional<User> findByPk(Long pk); <4> + Optional<User> findUserById(Long id); <5> +} +---- +<1> The identifier property / primary key. +<2> A property called id, but not the identifying one. +<3> Targets the `User#pk` property (the one marked with `@Id` which is considered to be the identifier) instead of `User#id` as the property name would suggest because it is one of the _reserved methods_. +<4> Targets the `User#pk` property by name. +<5> Targets the `User#id` property by using the descriptive token between `find` and `by` to avoid collisions with _reserved methods_. +==== + +This special behaviour not only targets lookup methods but also applies to the `exits` and `delete` ones. Please refer to the "`xref:repositories/query-keywords-reference.adoc#appendix.query.method.reserved[Repository query keywords]`" for the list of methods. + [[repositories.query-methods.query-property-expressions]] == Property Expressions From 45187792329725376af68ec3ead2c7b8d06e4761 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 10 Oct 2024 11:49:52 +0200 Subject: [PATCH 058/108] Polishing. Add DDD context. Explain identifier to domain object relationship. Tweak wording. See #3173 Original pull request: #3174 --- .../pages/repositories/core-concepts.adoc | 18 +++++++- .../query-keywords-reference.adoc | 4 +- .../repositories/query-methods-details.adoc | 44 ++++++++++++------- 3 files changed, 47 insertions(+), 19 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc b/src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc index 7c56eb55ea..1f77b5ee0e 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/core-concepts.adoc @@ -4,6 +4,18 @@ The central interface in the Spring Data repository abstraction is `Repository`. It takes the domain class to manage as well as the identifier type of the domain class as type arguments. This interface acts primarily as a marker interface to capture the types to work with and to help you to discover interfaces that extend this one. + +[TIP] +==== +Spring Data considers domain types to be entities, more specifically aggregates. +So you will see the term "entity" used throughout the documentation that can be interchanged with the term "domain type" or "aggregate". + +As you might have noticed in the introduction it already hinted towards domain-driven concepts. +We consider domain objects in the sense of DDD. +Domain objects have identifiers (otherwise these would be identity-less value objects), and we somehow need to refer to identifiers when working with certain patterns to access data. +Referring to identifiers will become more meaningful as we talk about repositories and query methods. +==== + The {spring-data-commons-javadoc-base}/org/springframework/data/repository/CrudRepository.html[`CrudRepository`] and {spring-data-commons-javadoc-base}/org/springframework/data/repository/ListCrudRepository.html[`ListCrudRepository`] interfaces provide sophisticated CRUD functionality for the entity class that is being managed. [[repositories.repository]] @@ -39,7 +51,11 @@ The methods declared in this interface are commonly referred to as CRUD methods. [IMPORTANT] ==== -The repository interface implies a few reserved methods like `findById(ID identifier)` that always target the domain types identifier property regardless of its property name. Read more about this in "`xref:repositories/query-methods-details.adoc#repositories.query-methods.reserved-methods[Defining Query Methods]`". +The repository interface implies a few reserved methods like `findById(ID identifier)` that target the domain type identifier property regardless of its property name. +Read more about this in "`xref:repositories/query-methods-details.adoc#repositories.query-methods.reserved-methods[Defining Query Methods]`". + +You can annotate your query method with `@Query` to provide a custom query if a property named `Id` doesn't refer to the identifier. +Following that path can easily lead to confusion and is discouraged as you will quickly hit type limits if the `ID` type and the type of your `Id` property deviate. ==== NOTE: We also provide persistence technology-specific abstractions, such as `JpaRepository` or `MongoRepository`. diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc index 7c47b81188..737b8818d3 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-keywords-reference.adoc @@ -24,7 +24,9 @@ Consult the store-specific documentation for the exact list of supported keyword [[appendix.query.method.reserved]] == Reserved methods -The following table lists reserved methods that use predefined functionality which is directly invoked on the backing (store specific) implementation of the repository proxy. See also "`xref:repositories/query-methods-details.adoc#repositories.query-methods.reserved-methods[Defining Query Methods]`". +The following table lists reserved methods that use predefined functionality (as defined in `CrudRepository`). +These methods are directly invoked on the backing (store-specific) implementation of the repository proxy. +See also "`xref:repositories/query-methods-details.adoc#repositories.query-methods.reserved-methods[Defining Query Methods]`". .Reserved methods |=============== diff --git a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc index 73a0d7c3b7..17042746bb 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/query-methods-details.adoc @@ -87,35 +87,45 @@ Whether ignoring cases is supported may vary by store, so consult the relevant s To create a query method that supports dynamic sorting, see "`xref:repositories/query-methods-details.adoc#repositories.special-parameters[Paging, Iterating Large Results, Sorting & Limiting]`". [[repositories.query-methods.reserved-methods]] -== Reserved Methods +== Reserved Method Names -While repository methods typically bind to properties by name, there are a few exceptions to this rule when it comes to certain method names targeting the _identifier_ property. Those _reserved methods_ like `CrudRepository#findById` or just `findById` are targeting the _identifier_ property independent of the actual property name used in the declared method. + -Consider the following domain type holding a property `pk` marked as the identifier via `@Id` and a property called `id`. In this case you need to pay close attention to the naming of your lookup methods as they may collide with predefined signatures. +While derived repository methods bind to properties by name, there are a few exceptions to this rule when it comes to certain method names inherited from the base repository targeting the _identifier_ property. +Those _reserved methods_ like `CrudRepository#findById` (or just `findById`) are targeting the _identifier_ property regardless of the actual property name used in the declared method. + +Consider the following domain type holding a property `pk` marked as the identifier via `@Id` and a property called `id`. +In this case you need to pay close attention to the naming of your lookup methods as they may collide with predefined signatures: ==== [source,java] ---- -public class User { - @Id - Long pk; <1> - Long id; <2> - // ... +class User { + @Id Long pk; <1> + + Long id; <2> + + // … } -public interface UserRepository extends Repository<User, Long> { - Optional<User> findById(Long id); <3> - Optional<User> findByPk(Long pk); <4> +interface UserRepository extends Repository<User, Long> { + + Optional<User> findById(Long id); <3> + + Optional<User> findByPk(Long pk); <4> + Optional<User> findUserById(Long id); <5> } ---- -<1> The identifier property / primary key. -<2> A property called id, but not the identifying one. -<3> Targets the `User#pk` property (the one marked with `@Id` which is considered to be the identifier) instead of `User#id` as the property name would suggest because it is one of the _reserved methods_. -<4> Targets the `User#pk` property by name. -<5> Targets the `User#id` property by using the descriptive token between `find` and `by` to avoid collisions with _reserved methods_. + +<1> The identifier property (primary key). +<2> A property named `id`, but not the identifier. +<3> Targets the `pk` property (the one marked with `@Id` which is considered to be the identifier) as it refers to a `CrudRepository` base repository method. +Therefore, it is not a derived query using of `id` as the property name would suggest because it is one of the _reserved methods_. +<4> Targets the `pk` property by name as it is a derived query. +<5> Targets the `id` property by using the descriptive token between `find` and `by` to avoid collisions with _reserved methods_. ==== -This special behaviour not only targets lookup methods but also applies to the `exits` and `delete` ones. Please refer to the "`xref:repositories/query-keywords-reference.adoc#appendix.query.method.reserved[Repository query keywords]`" for the list of methods. +This special behaviour not only targets lookup methods but also applies to the `exits` and `delete` ones. +Please refer to the "`xref:repositories/query-keywords-reference.adoc#appendix.query.method.reserved[Repository query keywords]`" for the list of methods. [[repositories.query-methods.query-property-expressions]] == Property Expressions From a84821f2a4601dbd2e5afb01372437025a28cca4 Mon Sep 17 00:00:00 2001 From: serv-inc <serv-inc@users.noreply.github.com> Date: Thu, 17 Oct 2024 11:35:21 +0200 Subject: [PATCH 059/108] Fix typo in `EnableSpringDataWebSupport`. Closes #3178 --- .../data/web/config/EnableSpringDataWebSupport.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java index 32635ef3a4..9a6d4df0c8 100644 --- a/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java +++ b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java @@ -77,7 +77,7 @@ @Import({ EnableSpringDataWebSupport.SpringDataWebConfigurationImportSelector.class, EnableSpringDataWebSupport.QuerydslActivator.class, - EnableSpringDataWebSupport.SpringDataWebSettingsRegistar.class + EnableSpringDataWebSupport.SpringDataWebSettingsRegistrar.class }) public @interface EnableSpringDataWebSupport { @@ -175,7 +175,7 @@ public String[] selectImports(AnnotationMetadata importingClassMetadata) { * @soundtrack Norah Jones - Chasing Pirates * @since 3.3 */ - static class SpringDataWebSettingsRegistar implements ImportBeanDefinitionRegistrar { + static class SpringDataWebSettingsRegistrar implements ImportBeanDefinitionRegistrar { /* * (non-Javadoc) From a8a67c3c01cc7ee1d5404454ccdf125325d40e38 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 17 Oct 2024 15:26:02 +0200 Subject: [PATCH 060/108] Polishing. Remove unnecessary static keywords. See #3178 --- .../data/web/config/EnableSpringDataWebSupport.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java index 9a6d4df0c8..7b115d2d2e 100644 --- a/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java +++ b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java @@ -119,7 +119,7 @@ enum PageSerializationMode { * @author Oliver Gierke * @author Jens Schauder */ - static class SpringDataWebConfigurationImportSelector implements ImportSelector, ResourceLoaderAware { + class SpringDataWebConfigurationImportSelector implements ImportSelector, ResourceLoaderAware { private Optional<ClassLoader> resourceLoader = Optional.empty(); @@ -157,7 +157,7 @@ public String[] selectImports(AnnotationMetadata importingClassMetadata) { * @soundtrack Anika Nilles - Chary Life * @since 1.11 */ - static class QuerydslActivator implements ImportSelector { + class QuerydslActivator implements ImportSelector { @Override public String[] selectImports(AnnotationMetadata importingClassMetadata) { @@ -175,7 +175,7 @@ public String[] selectImports(AnnotationMetadata importingClassMetadata) { * @soundtrack Norah Jones - Chasing Pirates * @since 3.3 */ - static class SpringDataWebSettingsRegistrar implements ImportBeanDefinitionRegistrar { + class SpringDataWebSettingsRegistrar implements ImportBeanDefinitionRegistrar { /* * (non-Javadoc) From ac7d52d829d2bc98cf4136a520c9bfc1ebdc5c1f Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 18 Oct 2024 11:36:15 +0200 Subject: [PATCH 061/108] Prepare 3.3.5 (2024.0.5). See #3150 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index a049212dff..456be002b8 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.5-SNAPSHOT</version> + <version>3.3.5</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index e561912d7e..9780950725 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3.4 (2024.0.4) +Spring Data Commons 3.3.5 (2024.0.5) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -57,5 +57,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From 36cf952c203c86455b27a97f26d2195ab1170726 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 18 Oct 2024 11:36:33 +0200 Subject: [PATCH 062/108] Release version 3.3.5 (2024.0.5). See #3150 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 456be002b8..9c06a7dcb6 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.5-SNAPSHOT</version> + <version>3.3.5</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 8306d60aaf08252e42b81129e7d5254a9b8a503d Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 18 Oct 2024 11:39:04 +0200 Subject: [PATCH 063/108] Prepare next development iteration. See #3150 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 9c06a7dcb6..a758d2c9ba 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.5</version> + <version>3.3.6-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 7fa3ac8243b3b6f0b1b96533b1dcedd46270372c Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 18 Oct 2024 11:39:05 +0200 Subject: [PATCH 064/108] After release cleanups. See #3150 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index a758d2c9ba..7e5de3e2df 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.5</version> + <version>3.3.6-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From b070a46c08d6ac047b2efdc4b2723eb8f44f4426 Mon Sep 17 00:00:00 2001 From: LajosPolya <lajospolya94@gmail.com> Date: Sun, 27 Oct 2024 19:14:17 -0400 Subject: [PATCH 065/108] Fix spelling SimplePropertyValueConversions javadoc. Closes #3189 --- .../data/convert/SimplePropertyValueConversions.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java b/src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java index 23ce6f792d..c4942cf2d5 100644 --- a/src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java +++ b/src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java @@ -27,7 +27,7 @@ /** * {@link PropertyValueConversions} implementation allowing a {@link PropertyValueConverterFactory} creating - * {@link PropertyValueConverter converters} to be chosen. Activating {@link #setConverterCacheEnabled(boolean) cahing} + * {@link PropertyValueConverter converters} to be chosen. Activating {@link #setConverterCacheEnabled(boolean) caching} * allows converters to be reused. * <p> * Providing a {@link SimplePropertyValueConverterRegistry} adds path configured converter instances. From 8099e88c969758d7e2fdd771e9ff54ec3803c29f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 09:16:23 +0100 Subject: [PATCH 066/108] Upgrade org.codehaus.groovy:groovy-all to 2.4.21. Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Closes #3180 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 7e5de3e2df..5a6ee08b78 100644 --- a/pom.xml +++ b/pom.xml @@ -234,7 +234,7 @@ <dependency> <groupId>org.codehaus.groovy</groupId> <artifactId>groovy-all</artifactId> - <version>2.4.4</version> + <version>2.4.21</version> <scope>test</scope> </dependency> From 1e8dc218a55927b53ecfe7d6dc591421322208d3 Mon Sep 17 00:00:00 2001 From: Sergey Zolotarev <sryze@protonmail.com> Date: Fri, 25 Oct 2024 00:11:31 +0600 Subject: [PATCH 067/108] Remove outdated information from Javadoc for `PageableHandlerMethodArgumentResolver`. Closes #3188 --- .../data/web/PageableHandlerMethodArgumentResolver.java | 3 +-- .../data/web/PageableHandlerMethodArgumentResolverSupport.java | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java index a14faf616a..246903ae5f 100644 --- a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java @@ -26,8 +26,7 @@ /** * Extracts paging information from web requests and thus allows injecting {@link Pageable} instances into controller - * methods. Request properties to be parsed can be configured. Default configuration uses request parameters beginning - * with {@link #DEFAULT_PAGE_PARAMETER}{@link #DEFAULT_QUALIFIER_DELIMITER}. + * methods. Request properties to be parsed can be configured. * * @author Oliver Gierke * @author Nick Williams diff --git a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java index 71bca8a152..ea423f93fd 100644 --- a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java +++ b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java @@ -34,8 +34,7 @@ /** * Base class providing methods for handler method argument resolvers to create paging information from web requests and * thus allows injecting {@link Pageable} instances into controller methods. Request properties to be parsed can be - * configured. Default configuration uses request parameters beginning with - * {@link #DEFAULT_PAGE_PARAMETER}{@link #DEFAULT_QUALIFIER_DELIMITER}. + * configured. * * @author Mark Paluch * @author Vedran Pavic From 579701a793d22809923043b458a8dd11d70afe72 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 29 Oct 2024 09:25:16 +0100 Subject: [PATCH 068/108] Polishing. Refine Javadoc and update ReactivePageableHandlerMethodArgumentResolver. Fix nullability annotations. See #3188 --- .../PageableHandlerMethodArgumentResolver.java | 9 +++++++-- ...eableHandlerMethodArgumentResolverSupport.java | 15 +++++++++------ ...tivePageableHandlerMethodArgumentResolver.java | 9 ++++++--- 3 files changed, 22 insertions(+), 11 deletions(-) diff --git a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java index 246903ae5f..49c4460c20 100644 --- a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java @@ -26,7 +26,11 @@ /** * Extracts paging information from web requests and thus allows injecting {@link Pageable} instances into controller - * methods. Request properties to be parsed can be configured. + * methods. Request properties to be parsed can be configured defaulting to {@code page} for the page number and + * {@code size} for the page size. + * <p> + * Parameters can be {@link #setPrefix(String) prefixed} to disambiguate from other parameters in the request if + * necessary. * * @author Oliver Gierke * @author Nick Williams @@ -39,7 +43,8 @@ public class PageableHandlerMethodArgumentResolver extends PageableHandlerMethod implements PageableArgumentResolver { private static final SortHandlerMethodArgumentResolver DEFAULT_SORT_RESOLVER = new SortHandlerMethodArgumentResolver(); - private SortArgumentResolver sortResolver; + + private final SortArgumentResolver sortResolver; /** * Constructs an instance of this resolved with a default {@link SortHandlerMethodArgumentResolver}. diff --git a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java index ea423f93fd..5b085e0360 100644 --- a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java +++ b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java @@ -34,7 +34,10 @@ /** * Base class providing methods for handler method argument resolvers to create paging information from web requests and * thus allows injecting {@link Pageable} instances into controller methods. Request properties to be parsed can be - * configured. + * configured defaulting to {@code page} for the page number and {@code size} for the page size. + * <p> + * Parameters can be {@link #setPrefix(String) prefixed} to disambiguate from other parameters in the request if + * necessary. * * @author Mark Paluch * @author Vedran Pavic @@ -153,7 +156,7 @@ protected String getSizeParameterName() { * * @param prefix the prefix to be used or {@literal null} to reset to the default. */ - public void setPrefix(String prefix) { + public void setPrefix(@Nullable String prefix) { this.prefix = prefix == null ? DEFAULT_PREFIX : prefix; } @@ -163,7 +166,7 @@ public void setPrefix(String prefix) { * * @param qualifierDelimiter the delimiter to be used or {@literal null} to reset to the default. */ - public void setQualifierDelimiter(String qualifierDelimiter) { + public void setQualifierDelimiter(@Nullable String qualifierDelimiter) { this.qualifierDelimiter = qualifierDelimiter == null ? DEFAULT_QUALIFIER_DELIMITER : qualifierDelimiter; } @@ -198,7 +201,7 @@ protected Pageable getPageable(MethodParameter methodParameter, @Nullable String Optional<Integer> page = parseAndApplyBoundaries(pageString, Integer.MAX_VALUE, true); Optional<Integer> pageSize = parseAndApplyBoundaries(pageSizeString, maxPageSize, false); - if (!(page.isPresent() && pageSize.isPresent()) && !defaultOrFallback.isPresent()) { + if (!(page.isPresent() && pageSize.isPresent()) && defaultOrFallback.isEmpty()) { return Pageable.unpaged(); } @@ -210,7 +213,7 @@ protected Pageable getPageable(MethodParameter methodParameter, @Nullable String // Limit lower bound ps = ps < 1 ? defaultOrFallback.map(Pageable::getPageSize).orElseThrow(IllegalStateException::new) : ps; // Limit upper bound - ps = ps > maxPageSize ? maxPageSize : ps; + ps = Math.min(ps, maxPageSize); return PageRequest.of(p, ps, defaultOrFallback.map(Pageable::getSort).orElseGet(Sort::unsorted)); } @@ -286,7 +289,7 @@ private Optional<Integer> parseAndApplyBoundaries(@Nullable String parameter, in try { int parsed = Integer.parseInt(parameter) - (oneIndexedParameters && shiftIndex ? 1 : 0); - return Optional.of(parsed < 0 ? 0 : parsed > upper ? upper : parsed); + return Optional.of(parsed < 0 ? 0 : Math.min(parsed, upper)); } catch (NumberFormatException e) { return Optional.of(0); } diff --git a/src/main/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolver.java index 438e83e0dc..6f24737f40 100644 --- a/src/main/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolver.java @@ -28,8 +28,11 @@ /** * Extracts paging information from web requests and thus allows injecting {@link Pageable} instances into WebFlux - * controller methods. Request properties to be parsed can be configured. Default configuration uses request parameters - * beginning with {@link #DEFAULT_PAGE_PARAMETER}{@link #DEFAULT_QUALIFIER_DELIMITER}. + * controller methods. Request properties to be parsed can be configured defaulting to {@code page} for the page number + * and {@code size} for the page size. + * <p> + * Parameters can be {@link #setPrefix(String) prefixed} to disambiguate from other parameters in the request if + * necessary. * * @since 2.2 * @author Mark Paluch @@ -40,7 +43,7 @@ public class ReactivePageableHandlerMethodArgumentResolver extends PageableHandl private static final ReactiveSortHandlerMethodArgumentResolver DEFAULT_SORT_RESOLVER = new ReactiveSortHandlerMethodArgumentResolver(); - private ReactiveSortHandlerMethodArgumentResolver sortResolver; + private final ReactiveSortHandlerMethodArgumentResolver sortResolver; /** * Constructs an instance of this resolved with a default {@link ReactiveSortHandlerMethodArgumentResolver}. From 39ee4ad9ff5a699bfc6d9d6f89f0635e3b0d3d0c Mon Sep 17 00:00:00 2001 From: Stefano Cordio <stefano_cordio@epam.com> Date: Thu, 31 Oct 2024 00:47:33 +0100 Subject: [PATCH 069/108] Minor improvements in `BootstrapMode` Javadoc. Closes #3191 --- .../springframework/data/repository/config/BootstrapMode.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/data/repository/config/BootstrapMode.java b/src/main/java/org/springframework/data/repository/config/BootstrapMode.java index 62d06eb0d3..7573ac4372 100644 --- a/src/main/java/org/springframework/data/repository/config/BootstrapMode.java +++ b/src/main/java/org/springframework/data/repository/config/BootstrapMode.java @@ -38,7 +38,7 @@ public enum BootstrapMode { DEFERRED, /** - * Repository bean definitions are considered lazy, lazily inject and only initialized on first use, i.e. the + * Repository bean definitions are considered lazy, lazily injected and initialized only on first use, i.e., the * application might have fully started without the repositories initialized. */ LAZY; From 3558788392f98349dc4a0b369ccc76e36765e5a8 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Mon, 4 Nov 2024 09:36:09 +0100 Subject: [PATCH 070/108] Refine Scrolling refdocs. Closes #3192 --- .../antora/modules/ROOT/pages/repositories/scrolling.adoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc b/src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc index 0e79413e37..88996de64a 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/scrolling.adoc @@ -30,6 +30,14 @@ Query execution treats the position parameter _exclusive_, results will start _a `ScrollPosition#offset()` and `ScrollPosition#keyset()` as special incarnations of a `ScrollPosition` indicating the start of a scroll operation. ==== +[NOTE] +==== +The above example shows static sorting and limiting. +You can define query methods alternatively that accept a `Sort` object define a more complex sorting order or sorting on a per-request basis. +In a similar way, providing a `Limit` object allows you to define a dynamic limit on a per-request basis instead of applying a static limitation. +Read more on dynamic sorting and limiting in the xref:repositories/query-methods-details.adoc#repositories.special-parameters[Query Methods Details]. +==== + `WindowIterator` provides a utility to simplify scrolling across ``Window``s by removing the need to check for the presence of a next `Window` and applying the `ScrollPosition`. [source,java] From 30c4aa57f39878f83d5b5c16ea28926f6b0325d6 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 7 Nov 2024 09:48:02 +0100 Subject: [PATCH 071/108] Upgrade to Maven Wrapper 3.9.9. See #3198 --- .mvn/wrapper/maven-wrapper.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.mvn/wrapper/maven-wrapper.properties b/.mvn/wrapper/maven-wrapper.properties index 9375ebd1d9..4b8c22d8a2 100755 --- a/.mvn/wrapper/maven-wrapper.properties +++ b/.mvn/wrapper/maven-wrapper.properties @@ -1,2 +1,2 @@ -#Thu Aug 08 10:18:12 CEST 2024 -distributionUrl=https\://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.8/apache-maven-3.9.8-bin.zip +#Thu Nov 07 09:48:02 CET 2024 +distributionUrl=https\://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.9/apache-maven-3.9.9-bin.zip From 33f286a9235c167f7921504c930ce324e168d709 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 7 Nov 2024 09:59:10 +0100 Subject: [PATCH 072/108] Update CI Properties. See #3182 --- ci/pipeline.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/pipeline.properties b/ci/pipeline.properties index 40bb349196..6dff72206e 100644 --- a/ci/pipeline.properties +++ b/ci/pipeline.properties @@ -1,5 +1,5 @@ # Java versions -java.main.tag=17.0.12_7-jdk-focal +java.main.tag=17.0.13_11-jdk-focal java.next.tag=22.0.2_9-jdk-jammy # Docker container images - standard From feab68f6df67742fb7e8e4325512a4ba6bfefb5c Mon Sep 17 00:00:00 2001 From: Christoph Strobl <christoph.strobl@broadcom.com> Date: Mon, 11 Nov 2024 12:46:04 +0100 Subject: [PATCH 073/108] Update custom repository extension section. Closes #3200 Original pull request: #3201 --- .../pages/repositories/custom-implementations.adoc | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/main/antora/modules/ROOT/pages/repositories/custom-implementations.adoc b/src/main/antora/modules/ROOT/pages/repositories/custom-implementations.adoc index b4c84fcf00..61a4b4824c 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/custom-implementations.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/custom-implementations.adoc @@ -29,7 +29,19 @@ class CustomizedUserRepositoryImpl implements CustomizedUserRepository { } ---- -NOTE: The most important part of the class name that corresponds to the fragment interface is the `Impl` postfix. +[NOTE] +==== +The most important part of the class name that corresponds to the fragment interface is the `Impl` postfix. +You can customize the store specific postfix by setting `@Enable<StoreModule>Repositories#repositoryImplementationPostfix`. +==== + +[WARNING] +==== +Historically Spring Data custom repository behaviour followed a https://docs.spring.io/spring-data/commons/docs/1.9.0.RELEASE/reference/html/#repositories.single-repository-behaviour[different naming pattern] that is not recommended but still supported. +A type located in the same package as the repository interface, matching _repository interface name_ + _implementation postfix_, is considered a custom implementation and will be treated as such. +This can lead to unexpected failures. + +Please consider the old extension strategy deprecated, with the intention of removal in the next major version. +==== The implementation itself does not depend on Spring Data and can be a regular Spring bean. Consequently, you can use standard dependency injection behavior to inject references to other beans (such as a `JdbcTemplate`), take part in aspects, and so on. From f527c8a37da59647178e61611a73de67139ba5a8 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Mon, 11 Nov 2024 14:25:30 +0100 Subject: [PATCH 074/108] Polishing. Tweak wording. Add Override annotations. See #3200 Original pull request: #3201 --- .../repositories/custom-implementations.adoc | 22 ++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/repositories/custom-implementations.adoc b/src/main/antora/modules/ROOT/pages/repositories/custom-implementations.adoc index 61a4b4824c..42b09d9c73 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/custom-implementations.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/custom-implementations.adoc @@ -23,6 +23,7 @@ interface CustomizedUserRepository { ---- class CustomizedUserRepositoryImpl implements CustomizedUserRepository { + @Override public void someCustomMethod(User user) { // Your custom implementation } @@ -32,15 +33,21 @@ class CustomizedUserRepositoryImpl implements CustomizedUserRepository { [NOTE] ==== The most important part of the class name that corresponds to the fragment interface is the `Impl` postfix. -You can customize the store specific postfix by setting `@Enable<StoreModule>Repositories#repositoryImplementationPostfix`. +You can customize the store-specific postfix by setting `@Enable<StoreModule>Repositories(repositoryImplementationPostfix = …)`. ==== [WARNING] ==== -Historically Spring Data custom repository behaviour followed a https://docs.spring.io/spring-data/commons/docs/1.9.0.RELEASE/reference/html/#repositories.single-repository-behaviour[different naming pattern] that is not recommended but still supported. -A type located in the same package as the repository interface, matching _repository interface name_ + _implementation postfix_, is considered a custom implementation and will be treated as such. -This can lead to unexpected failures. + -Please consider the old extension strategy deprecated, with the intention of removal in the next major version. +Historically, Spring Data custom repository implementation discovery followed a +https://docs.spring.io/spring-data/commons/docs/1.9.0.RELEASE/reference/html/#repositories.single-repository-behaviour[naming pattern] +that derived the custom implementation class name from the repository allowing effectively a single custom implementation. + +A type located in the same package as the repository interface, matching _repository interface name_ followed by _implementation postfix_, +is considered a custom implementation and will be treated as a custom implementation. +A class following that name can lead to undesired behavior. + +We consider the single-custom implementation naming deprecated and recommend not using this pattern. +Instead, migrate to a fragment-based programming model. ==== The implementation itself does not depend on Spring Data and can be a regular Spring bean. @@ -75,6 +82,7 @@ interface HumanRepository { class HumanRepositoryImpl implements HumanRepository { + @Override public void someHumanMethod(User user) { // Your custom implementation } @@ -89,10 +97,12 @@ interface ContactRepository { class ContactRepositoryImpl implements ContactRepository { + @Override public void someContactMethod(User user) { // Your custom implementation } + @Override public User anotherContactMethod(User user) { // Your custom implementation } @@ -127,6 +137,7 @@ interface CustomizedSave<T> { class CustomizedSaveImpl<T> implements CustomizedSave<T> { + @Override public <S extends T> S save(S entity) { // Your custom implementation } @@ -273,6 +284,7 @@ class MyRepositoryImpl<T, ID> this.entityManager = entityManager; } + @Override @Transactional public <S extends T> S save(S entity) { // implementation goes here From 4a1d11c618fd6b2d9b5024615ee8e5c4d7846677 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 15 Nov 2024 11:45:22 +0100 Subject: [PATCH 075/108] Prepare 3.3.6 (2024.0.6). See #3182 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 5a6ee08b78..c761baccf5 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.6-SNAPSHOT</version> + <version>3.3.6</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index 9780950725..7d10621afd 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3.5 (2024.0.5) +Spring Data Commons 3.3.6 (2024.0.6) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -58,5 +58,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From 3cd8e25962996ed7d3d38588e046c54fe3694caa Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 15 Nov 2024 11:45:37 +0100 Subject: [PATCH 076/108] Release version 3.3.6 (2024.0.6). See #3182 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c761baccf5..16288670a9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.6-SNAPSHOT</version> + <version>3.3.6</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 3399875c0687736c6d079d7e211278a4781e4592 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 15 Nov 2024 11:47:56 +0100 Subject: [PATCH 077/108] Prepare next development iteration. See #3182 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 16288670a9..e5dd8985b1 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.6</version> + <version>3.3.7-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 2c0e541e03f9e8e71876f3173a731d3db85f1168 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 15 Nov 2024 11:47:58 +0100 Subject: [PATCH 078/108] After release cleanups. See #3182 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index e5dd8985b1..7a00a093fc 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.6</version> + <version>3.3.7-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From 5247ce6c3c25ba584efcb8542370ddf0d37929d2 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 29 Nov 2024 09:42:21 +0100 Subject: [PATCH 079/108] Refine Value Expression documentation. Closes #3214 --- .../modules/ROOT/pages/value-expressions.adoc | 37 +++++++++++++++++-- 1 file changed, 34 insertions(+), 3 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/value-expressions.adoc b/src/main/antora/modules/ROOT/pages/value-expressions.adoc index 752d3d69ec..370682e7e0 100644 --- a/src/main/antora/modules/ROOT/pages/value-expressions.adoc +++ b/src/main/antora/modules/ROOT/pages/value-expressions.adoc @@ -1,14 +1,22 @@ [[valueexpressions.fundamentals]] = Value Expressions Fundamentals -Value Expressions are a combination of {spring-framework-docs}/core/expressions.html[Spring Expression Language (SpEL)] and {spring-framework-docs}/core/beans/environment.html#beans-placeholder-resolution-in-statements[Property Placeholder Resolution]. +Value Expressions are a combination of {spring-framework-docs}/core/expressions.html[Spring Expression Language (SpEL)] and {spring-framework-docs}/core/beans/annotation-config/value-annotations.html[Property Placeholder Resolution]. They combine powerful evaluation of programmatic expressions with the simplicity to resort to property-placeholder resolution to obtain values from the `Environment` such as configuration properties. Expressions are expected to be defined by a trusted input such as an annotation value and not to be determined from user input. -The following code demonstrates how to use expressions in the context of annotations. +== Scope -.Annotation Usage +Value Expressions are used in contexts across annotations. +Spring Data offers Value Expression evaluation in two main contexts: + +* *Mapping Model Annotations*: such as `@Document`, `@Field`, `@Value` and other annotations in Spring Data modules that ship with their own mapping models respective Entity Readers such as MongoDB, Elasticsearch, Cassandra, Neo4j. +Modules that build on libraries providing their own mapping models (JPA, LDAP) do not support Value Expressions in mapping annotations. ++ +The following code demonstrates how to use expressions in the context of mapping model annotations. ++ +.`@Document` Annotation Usage ==== [source,java] ---- @@ -19,6 +27,27 @@ class Order { ---- ==== +* *Repository Query Methods*: primarily through `@Query`. ++ +The following code demonstrates how to use expressions in the context of repository query methods. ++ +.`@Query` Annotation Usage +==== +[source,java] +---- +class OrderRepository extends Repository<Order, String> { + + @Query("select u from User u where u.tenant = ?${spring.application.name:unknown} and u.firstname like %?#{escape([0])}% escape ?#{escapeCharacter()}") + List<Order> findContainingEscaped(String namePart); +} +---- +==== + +NOTE: Consult your module's documentation to determine the actual parameter by-name/by-index binding syntax. +Typically, expressions are prefixed with `:#{…}`/`:${…}` or `?#{…}`/`?${…}`. + +== Expression Syntax + Value Expressions can be defined from a sole SpEL Expression, a Property Placeholder or a composite expression mixing various expressions including literals. .Expression Examples @@ -42,6 +71,8 @@ orders-${tenant-config.suffix} <4> NOTE: Using value expressions introduces a lot of flexibility to your code. Doing so requires evaluation of the expression on each usage and, therefore, value expression evaluation has an impact on the performance profile. +{spring-framework-docs}/core/expressions/language-ref.html[Spring Expression Language (SpEL)] and {spring-framework-docs}/core/beans/annotation-config/value-annotations.html[Property Placeholder Resolution] explain the syntax and capabilities of SpEL and Property Placeholders in detail. + [[valueexpressions.api]] == Parsing and Evaluation From fe2081f729292a3c3f3f26410dcc307115ea72d1 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Mon, 2 Dec 2024 08:57:18 +0100 Subject: [PATCH 080/108] Resolve bridged method when projected PropertyDescriptor resolves to a bridge method. We now skip synthetic bridge methods when resolving a PropertyDescriptor from a called interface method on the target type and resolve the bridged method. Closes #3215 --- .../PropertyAccessingMethodInterceptor.java | 16 ++++++-- ...tyAccessingMethodInterceptorUnitTests.java | 39 +++++++++++++++++++ 2 files changed, 51 insertions(+), 4 deletions(-) diff --git a/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java b/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java index 6f19a9d06d..9586948ac4 100644 --- a/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java +++ b/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java @@ -20,8 +20,10 @@ import org.aopalliance.intercept.MethodInterceptor; import org.aopalliance.intercept.MethodInvocation; + import org.springframework.beans.BeanUtils; import org.springframework.beans.BeanWrapper; +import org.springframework.core.BridgeMethodResolver; import org.springframework.data.util.DirectFieldAccessFallbackBeanWrapper; import org.springframework.lang.Nullable; import org.springframework.util.Assert; @@ -63,7 +65,8 @@ public Object invoke(@SuppressWarnings("null") MethodInvocation invocation) thro PropertyDescriptor descriptor = BeanUtils.findPropertyForMethod(method); if (descriptor == null) { - throw new IllegalStateException("Invoked method is not a property accessor"); + throw new IllegalStateException("Invoked method '%s' is not a property accessor on '%s'" + .formatted(invocation.getMethod(), target.getWrappedClass().getName())); } if (!isSetterMethod(method, descriptor)) { @@ -84,9 +87,14 @@ private static boolean isSetterMethod(Method method, PropertyDescriptor descript private static Method lookupTargetMethod(MethodInvocation invocation, Class<?> targetType) { - Method method = BeanUtils.findMethod(targetType, invocation.getMethod().getName(), - invocation.getMethod().getParameterTypes()); + Method invokedMethod = invocation.getMethod(); + Method method = BeanUtils.findMethod(targetType, invokedMethod.getName(), invokedMethod.getParameterTypes()); + + if (method == null) { + return invokedMethod; + } - return method != null ? method : invocation.getMethod(); + return BridgeMethodResolver.findBridgedMethod(method); } + } diff --git a/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java index d09f4b1ea6..ddd71cc57e 100755 --- a/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java @@ -121,6 +121,19 @@ void detectsKotlinPropertiesWithLeadingIsOnTargetType() throws Throwable { assertThat(new PropertyAccessingMethodInterceptor(source).invoke(invocation)).isEqualTo(true); } + @Test // GH-3697 + void considersPropertyDescriptorsFromPackageProtectedSuperclass() throws Throwable { + + var source = new SomeExposedClass(); + source.setFirstname("Walter"); + + when(invocation.getMethod()).thenReturn(Projection.class.getMethod("getFirstname")); + + Object result = new PropertyAccessingMethodInterceptor(source).invoke(invocation); + + assertThat(result).isEqualTo(source.getFirstname()); + } + static class Source { String firstname; @@ -138,4 +151,30 @@ interface Projection { String someGarbage(); } + + static class SomeBaseclass { + + private String firstname; + + public String getFirstname() { + return firstname; + } + + public void setFirstname(String firstname) { + this.firstname = firstname; + } + } + + public static class SomeExposedClass extends SomeBaseclass { + + private String lastname; + + public String getLastname() { + return lastname; + } + + public void setLastname(String lastname) { + this.lastname = lastname; + } + } } From b4edacbe02ef50018fdba6d1a854be4f59e19a3a Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Mon, 2 Dec 2024 09:09:46 +0100 Subject: [PATCH 081/108] Polishing. Fix ticket reference. See #3215 --- .../projection/PropertyAccessingMethodInterceptorUnitTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java index ddd71cc57e..999ec03343 100755 --- a/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java @@ -121,7 +121,7 @@ void detectsKotlinPropertiesWithLeadingIsOnTargetType() throws Throwable { assertThat(new PropertyAccessingMethodInterceptor(source).invoke(invocation)).isEqualTo(true); } - @Test // GH-3697 + @Test // GH-3215 void considersPropertyDescriptorsFromPackageProtectedSuperclass() throws Throwable { var source = new SomeExposedClass(); From 5bbc24fcc401562a5b86de1c6a67be25284bd58f Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 3 Dec 2024 11:00:22 +0100 Subject: [PATCH 082/108] Update Projection section in reference documentation. Closes #3216 --- .../pages/repositories/projections-class.adoc | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/main/antora/modules/ROOT/pages/repositories/projections-class.adoc b/src/main/antora/modules/ROOT/pages/repositories/projections-class.adoc index e07bb86d4a..f6c1d1817d 100644 --- a/src/main/antora/modules/ROOT/pages/repositories/projections-class.adoc +++ b/src/main/antora/modules/ROOT/pages/repositories/projections-class.adoc @@ -57,3 +57,29 @@ void someMethod(PersonRepository people) { NOTE: Query parameters of type `Class` are inspected whether they qualify as dynamic projection parameter. If the actual return type of the query equals the generic parameter type of the `Class` parameter, then the matching `Class` parameter is not available for usage within the query or SpEL expressions. If you want to use a `Class` parameter as query argument then make sure to use a different generic parameter, for example `Class<?>`. + +[NOTE] +==== +When using <<projections.dtos,Class-based projection>>, types must declare a single constructor so that Spring Data can determine their input properties. +If your class defines more than one constructor, then you cannot use the type without further hints for DTO projections. +In such a case annotate the desired constructor with `@PersistenceCreator` as outlined below so that Spring Data can determine which properties to select: + +[source,java] +---- +public class NamesOnly { + + private final String firstname; + private final String lastname; + + protected NamesOnly() { } + + @PersistenceCreator + public NamesOnly(String firstname, String lastname) { + this.firstname = firstname; + this.lastname = lastname; + } + + // ... +} +---- +==== From 7d8d41555f96a16f47a3fc74170750636db48610 Mon Sep 17 00:00:00 2001 From: Christoph Strobl <christoph.strobl@broadcom.com> Date: Fri, 13 Dec 2024 10:50:49 +0100 Subject: [PATCH 083/108] Prepare 3.3.7 (2024.0.7). See #3203 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 7a00a093fc..99eb3c3d06 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.7-SNAPSHOT</version> + <version>3.3.7</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index 7d10621afd..824fbf2535 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3.6 (2024.0.6) +Spring Data Commons 3.3.7 (2024.0.7) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -59,5 +59,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From 571149735149d2616911cb9a4f6adb8bd1feac3e Mon Sep 17 00:00:00 2001 From: Christoph Strobl <christoph.strobl@broadcom.com> Date: Fri, 13 Dec 2024 10:51:12 +0100 Subject: [PATCH 084/108] Release version 3.3.7 (2024.0.7). See #3203 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 99eb3c3d06..336161bde8 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.7-SNAPSHOT</version> + <version>3.3.7</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 5f632e88b941756d55d0420088934ed8a57b1b97 Mon Sep 17 00:00:00 2001 From: Christoph Strobl <christoph.strobl@broadcom.com> Date: Fri, 13 Dec 2024 10:54:20 +0100 Subject: [PATCH 085/108] Prepare next development iteration. See #3203 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 336161bde8..99914d548d 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.7</version> + <version>3.3.8-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From c192d137eea7fce3dc7ed2919c6eef9ce93cd0c7 Mon Sep 17 00:00:00 2001 From: Christoph Strobl <christoph.strobl@broadcom.com> Date: Fri, 13 Dec 2024 10:54:22 +0100 Subject: [PATCH 086/108] After release cleanups. See #3203 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 99914d548d..3d5f76b165 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.7</version> + <version>3.3.8-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From 044c20d2ea58aeeb1f6459a38d3eca3d9dbadc3e Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Wed, 8 Jan 2025 09:55:51 +0100 Subject: [PATCH 087/108] Extend license header copyright years to 2025. See #3227 --- src/main/antora/modules/ROOT/pages/index.adoc | 2 +- .../java/org/springframework/data/annotation/AccessType.java | 2 +- .../java/org/springframework/data/annotation/CreatedBy.java | 2 +- .../java/org/springframework/data/annotation/CreatedDate.java | 2 +- src/main/java/org/springframework/data/annotation/Id.java | 2 +- .../java/org/springframework/data/annotation/Immutable.java | 2 +- .../org/springframework/data/annotation/LastModifiedBy.java | 2 +- .../org/springframework/data/annotation/LastModifiedDate.java | 2 +- .../springframework/data/annotation/PersistenceConstructor.java | 2 +- .../org/springframework/data/annotation/PersistenceCreator.java | 2 +- .../java/org/springframework/data/annotation/Persistent.java | 2 +- .../org/springframework/data/annotation/QueryAnnotation.java | 2 +- .../org/springframework/data/annotation/ReadOnlyProperty.java | 2 +- .../java/org/springframework/data/annotation/Reference.java | 2 +- .../java/org/springframework/data/annotation/Transient.java | 2 +- .../java/org/springframework/data/annotation/TypeAlias.java | 2 +- src/main/java/org/springframework/data/annotation/Version.java | 2 +- src/main/java/org/springframework/data/aot/AotContext.java | 2 +- .../data/aot/AuditingBeanRegistrationAotProcessor.java | 2 +- .../java/org/springframework/data/aot/DefaultAotContext.java | 2 +- .../aot/ManagedTypesBeanFactoryInitializationAotProcessor.java | 2 +- .../data/aot/ManagedTypesBeanRegistrationAotProcessor.java | 2 +- .../data/aot/ManagedTypesRegistrationAotContribution.java | 2 +- .../data/aot/PublicMethodReflectiveProcessor.java | 2 +- .../springframework/data/aot/RegisteredBeanAotContribution.java | 2 +- .../data/auditing/AnnotationAuditingMetadata.java | 2 +- .../org/springframework/data/auditing/AuditableBeanWrapper.java | 2 +- .../data/auditing/AuditableBeanWrapperFactory.java | 2 +- .../java/org/springframework/data/auditing/AuditingHandler.java | 2 +- .../springframework/data/auditing/AuditingHandlerSupport.java | 2 +- src/main/java/org/springframework/data/auditing/Auditor.java | 2 +- .../springframework/data/auditing/CurrentDateTimeProvider.java | 2 +- .../org/springframework/data/auditing/DateTimeProvider.java | 2 +- .../data/auditing/DefaultAuditableBeanWrapperFactory.java | 2 +- .../data/auditing/IsNewAwareAuditingHandler.java | 2 +- .../data/auditing/MappingAuditableBeanWrapperFactory.java | 2 +- .../springframework/data/auditing/ReactiveAuditingHandler.java | 2 +- .../data/auditing/ReactiveIsNewAwareAuditingHandler.java | 2 +- .../data/auditing/config/AnnotationAuditingConfiguration.java | 2 +- .../auditing/config/AuditingBeanDefinitionRegistrarSupport.java | 2 +- .../data/auditing/config/AuditingConfiguration.java | 2 +- .../auditing/config/AuditingHandlerBeanDefinitionParser.java | 2 +- .../config/IsNewAwareAuditingHandlerBeanDefinitionParser.java | 2 +- .../data/config/BeanComponentDefinitionBuilder.java | 2 +- .../org/springframework/data/config/ConfigurationUtils.java | 2 +- src/main/java/org/springframework/data/config/ParsingUtils.java | 2 +- .../java/org/springframework/data/config/TypeFilterParser.java | 2 +- .../data/convert/AnnotatedPropertyValueConverterAccessor.java | 2 +- .../data/convert/ConfigurableTypeInformationMapper.java | 2 +- .../java/org/springframework/data/convert/ConverterBuilder.java | 2 +- .../org/springframework/data/convert/CustomConversions.java | 2 +- .../springframework/data/convert/DefaultConverterBuilder.java | 2 +- .../org/springframework/data/convert/DefaultTypeMapper.java | 2 +- .../springframework/data/convert/DtoInstantiatingConverter.java | 2 +- .../java/org/springframework/data/convert/EntityConverter.java | 2 +- .../java/org/springframework/data/convert/EntityReader.java | 2 +- .../java/org/springframework/data/convert/EntityWriter.java | 2 +- .../org/springframework/data/convert/JMoleculesConverters.java | 2 +- .../java/org/springframework/data/convert/Jsr310Converters.java | 2 +- .../data/convert/MappingContextTypeInformationMapper.java | 2 +- .../data/convert/PropertyValueConversionService.java | 2 +- .../springframework/data/convert/PropertyValueConversions.java | 2 +- .../springframework/data/convert/PropertyValueConverter.java | 2 +- .../data/convert/PropertyValueConverterFactories.java | 2 +- .../data/convert/PropertyValueConverterFactory.java | 2 +- .../data/convert/PropertyValueConverterRegistrar.java | 2 +- .../java/org/springframework/data/convert/ReadingConverter.java | 2 +- .../data/convert/SimplePropertyValueConversions.java | 2 +- .../data/convert/SimplePropertyValueConverterRegistry.java | 2 +- .../data/convert/SimpleTypeInformationMapper.java | 2 +- .../org/springframework/data/convert/TypeAliasAccessor.java | 2 +- .../org/springframework/data/convert/TypeInformationMapper.java | 2 +- src/main/java/org/springframework/data/convert/TypeMapper.java | 2 +- .../springframework/data/convert/ValueConversionContext.java | 2 +- .../java/org/springframework/data/convert/ValueConverter.java | 2 +- .../springframework/data/convert/ValueConverterRegistry.java | 2 +- .../java/org/springframework/data/convert/WritingConverter.java | 2 +- .../java/org/springframework/data/crossstore/ChangeSet.java | 2 +- .../org/springframework/data/crossstore/ChangeSetBacked.java | 2 +- .../crossstore/ChangeSetBackedTransactionSynchronization.java | 2 +- .../org/springframework/data/crossstore/ChangeSetPersister.java | 2 +- .../org/springframework/data/domain/AbstractAggregateRoot.java | 2 +- .../org/springframework/data/domain/AbstractPageRequest.java | 2 +- .../data/domain/AfterDomainEventPublication.java | 2 +- src/main/java/org/springframework/data/domain/Auditable.java | 2 +- src/main/java/org/springframework/data/domain/AuditorAware.java | 2 +- src/main/java/org/springframework/data/domain/Chunk.java | 2 +- src/main/java/org/springframework/data/domain/DomainEvents.java | 2 +- src/main/java/org/springframework/data/domain/Example.java | 2 +- .../java/org/springframework/data/domain/ExampleMatcher.java | 2 +- .../org/springframework/data/domain/KeysetScrollPosition.java | 2 +- src/main/java/org/springframework/data/domain/Limit.java | 2 +- src/main/java/org/springframework/data/domain/ManagedTypes.java | 2 +- .../org/springframework/data/domain/OffsetScrollPosition.java | 2 +- src/main/java/org/springframework/data/domain/Page.java | 2 +- src/main/java/org/springframework/data/domain/PageImpl.java | 2 +- src/main/java/org/springframework/data/domain/PageRequest.java | 2 +- src/main/java/org/springframework/data/domain/Pageable.java | 2 +- src/main/java/org/springframework/data/domain/Persistable.java | 2 +- src/main/java/org/springframework/data/domain/Range.java | 2 +- .../org/springframework/data/domain/ReactiveAuditorAware.java | 2 +- .../java/org/springframework/data/domain/ScrollPosition.java | 2 +- src/main/java/org/springframework/data/domain/Slice.java | 2 +- src/main/java/org/springframework/data/domain/SliceImpl.java | 2 +- src/main/java/org/springframework/data/domain/Sort.java | 2 +- src/main/java/org/springframework/data/domain/TypedExample.java | 2 +- .../org/springframework/data/domain/TypedExampleMatcher.java | 2 +- src/main/java/org/springframework/data/domain/Unpaged.java | 2 +- src/main/java/org/springframework/data/domain/Window.java | 2 +- src/main/java/org/springframework/data/domain/WindowImpl.java | 2 +- .../java/org/springframework/data/domain/jaxb/OrderAdapter.java | 2 +- .../java/org/springframework/data/domain/jaxb/PageAdapter.java | 2 +- .../org/springframework/data/domain/jaxb/PageableAdapter.java | 2 +- .../java/org/springframework/data/domain/jaxb/SortAdapter.java | 2 +- .../org/springframework/data/domain/jaxb/SpringDataJaxb.java | 2 +- .../data/expression/CompositeValueExpression.java | 2 +- .../data/expression/DefaultValueEvaluationContext.java | 2 +- .../data/expression/DefaultValueExpressionParser.java | 2 +- .../springframework/data/expression/ExpressionExpression.java | 2 +- .../springframework/data/expression/LiteralValueExpression.java | 2 +- .../springframework/data/expression/PlaceholderExpression.java | 2 +- .../springframework/data/expression/ValueEvaluationContext.java | 2 +- .../data/expression/ValueEvaluationContextProvider.java | 2 +- .../org/springframework/data/expression/ValueExpression.java | 2 +- .../springframework/data/expression/ValueExpressionParser.java | 2 +- .../data/expression/ValueParserConfiguration.java | 2 +- src/main/java/org/springframework/data/geo/Box.java | 2 +- src/main/java/org/springframework/data/geo/Circle.java | 2 +- src/main/java/org/springframework/data/geo/CustomMetric.java | 2 +- src/main/java/org/springframework/data/geo/Distance.java | 2 +- src/main/java/org/springframework/data/geo/GeoModule.java | 2 +- src/main/java/org/springframework/data/geo/GeoPage.java | 2 +- src/main/java/org/springframework/data/geo/GeoResult.java | 2 +- src/main/java/org/springframework/data/geo/GeoResults.java | 2 +- src/main/java/org/springframework/data/geo/Metric.java | 2 +- src/main/java/org/springframework/data/geo/Metrics.java | 2 +- src/main/java/org/springframework/data/geo/Point.java | 2 +- src/main/java/org/springframework/data/geo/Polygon.java | 2 +- src/main/java/org/springframework/data/geo/Shape.java | 2 +- .../org/springframework/data/geo/format/DistanceFormatter.java | 2 +- .../org/springframework/data/geo/format/PointFormatter.java | 2 +- .../data/history/AnnotationRevisionMetadata.java | 2 +- src/main/java/org/springframework/data/history/Revision.java | 2 +- .../java/org/springframework/data/history/RevisionMetadata.java | 2 +- .../java/org/springframework/data/history/RevisionSort.java | 2 +- src/main/java/org/springframework/data/history/Revisions.java | 2 +- .../java/org/springframework/data/mapping/AccessOptions.java | 2 +- src/main/java/org/springframework/data/mapping/Alias.java | 2 +- src/main/java/org/springframework/data/mapping/Association.java | 2 +- .../org/springframework/data/mapping/AssociationHandler.java | 2 +- .../java/org/springframework/data/mapping/FactoryMethod.java | 2 +- .../org/springframework/data/mapping/IdentifierAccessor.java | 2 +- .../springframework/data/mapping/InstanceCreatorMetadata.java | 2 +- .../data/mapping/InstanceCreatorMetadataSupport.java | 2 +- .../java/org/springframework/data/mapping/MappingException.java | 2 +- src/main/java/org/springframework/data/mapping/Parameter.java | 2 +- .../java/org/springframework/data/mapping/PersistentEntity.java | 2 +- .../org/springframework/data/mapping/PersistentProperty.java | 2 +- .../data/mapping/PersistentPropertyAccessor.java | 2 +- .../springframework/data/mapping/PersistentPropertyPath.java | 2 +- .../data/mapping/PersistentPropertyPathAccessor.java | 2 +- .../springframework/data/mapping/PersistentPropertyPaths.java | 2 +- .../org/springframework/data/mapping/PreferredConstructor.java | 2 +- .../java/org/springframework/data/mapping/PropertyHandler.java | 2 +- .../java/org/springframework/data/mapping/PropertyPath.java | 2 +- .../data/mapping/PropertyReferenceException.java | 2 +- .../springframework/data/mapping/SimpleAssociationHandler.java | 2 +- .../org/springframework/data/mapping/SimplePropertyHandler.java | 2 +- .../data/mapping/TargetAwareIdentifierAccessor.java | 2 +- .../data/mapping/callback/DefaultEntityCallbacks.java | 2 +- .../data/mapping/callback/DefaultReactiveEntityCallbacks.java | 2 +- .../springframework/data/mapping/callback/EntityCallback.java | 2 +- .../data/mapping/callback/EntityCallbackDiscoverer.java | 2 +- .../data/mapping/callback/EntityCallbackInvoker.java | 2 +- .../springframework/data/mapping/callback/EntityCallbacks.java | 2 +- .../data/mapping/callback/ReactiveEntityCallbackInvoker.java | 2 +- .../data/mapping/callback/ReactiveEntityCallbacks.java | 2 +- .../data/mapping/context/AbstractMappingContext.java | 2 +- .../data/mapping/context/DefaultPersistentPropertyPath.java | 2 +- .../data/mapping/context/InvalidPersistentPropertyPath.java | 2 +- .../springframework/data/mapping/context/MappingContext.java | 2 +- .../data/mapping/context/MappingContextEvent.java | 2 +- .../data/mapping/context/PersistentEntities.java | 2 +- .../data/mapping/context/PersistentPropertyPathFactory.java | 2 +- .../data/mapping/model/AbstractPersistentProperty.java | 2 +- .../data/mapping/model/AnnotationBasedPersistentProperty.java | 2 +- .../data/mapping/model/BasicPersistentEntity.java | 2 +- .../org/springframework/data/mapping/model/BeanWrapper.java | 2 +- .../data/mapping/model/BeanWrapperPropertyAccessorFactory.java | 2 +- .../org/springframework/data/mapping/model/BytecodeUtil.java | 2 +- .../mapping/model/CachingValueExpressionEvaluatorFactory.java | 2 +- .../mapping/model/CamelCaseAbbreviatingFieldNamingStrategy.java | 2 +- .../mapping/model/CamelCaseSplittingFieldNamingStrategy.java | 2 +- .../data/mapping/model/ClassGeneratingEntityInstantiator.java | 2 +- .../mapping/model/ClassGeneratingPropertyAccessorFactory.java | 2 +- .../data/mapping/model/ConvertingPropertyAccessor.java | 2 +- .../data/mapping/model/DefaultSpELExpressionEvaluator.java | 2 +- .../springframework/data/mapping/model/EntityInstantiator.java | 2 +- .../springframework/data/mapping/model/EntityInstantiators.java | 2 +- .../springframework/data/mapping/model/FieldNamingStrategy.java | 2 +- .../data/mapping/model/IdPropertyIdentifierAccessor.java | 2 +- .../data/mapping/model/InstanceCreatorMetadataDiscoverer.java | 2 +- .../data/mapping/model/InstantiationAwarePropertyAccessor.java | 2 +- .../model/InstantiationAwarePropertyAccessorFactory.java | 2 +- .../mapping/model/KotlinClassGeneratingEntityInstantiator.java | 2 +- .../springframework/data/mapping/model/KotlinCopyMethod.java | 2 +- .../springframework/data/mapping/model/KotlinDefaultMask.java | 2 +- .../data/mapping/model/KotlinInstantiationDelegate.java | 2 +- .../springframework/data/mapping/model/KotlinValueUtils.java | 2 +- .../data/mapping/model/MappingInstantiationException.java | 2 +- .../data/mapping/model/MutablePersistentEntity.java | 2 +- .../data/mapping/model/ParameterValueProvider.java | 2 +- .../data/mapping/model/PersistableIdentifierAccessor.java | 2 +- .../data/mapping/model/PersistentEntityIsNewStrategy.java | 2 +- .../mapping/model/PersistentEntityParameterValueProvider.java | 2 +- .../data/mapping/model/PersistentPropertyAccessorFactory.java | 2 +- .../data/mapping/model/PreferredConstructorDiscoverer.java | 2 +- .../java/org/springframework/data/mapping/model/Property.java | 2 +- .../data/mapping/model/PropertyNameFieldNamingStrategy.java | 2 +- .../data/mapping/model/PropertyValueProvider.java | 2 +- .../data/mapping/model/ReflectionEntityInstantiator.java | 2 +- .../mapping/model/SimplePersistentPropertyPathAccessor.java | 2 +- .../springframework/data/mapping/model/SimpleTypeHolder.java | 2 +- .../data/mapping/model/SnakeCaseFieldNamingStrategy.java | 2 +- .../org/springframework/data/mapping/model/SpELContext.java | 2 +- .../data/mapping/model/SpELExpressionEvaluator.java | 2 +- .../mapping/model/SpELExpressionParameterValueProvider.java | 2 +- .../data/mapping/model/ValueExpressionEvaluator.java | 2 +- .../mapping/model/ValueExpressionParameterValueProvider.java | 2 +- src/main/java/org/springframework/data/projection/Accessor.java | 2 +- .../data/projection/DefaultMethodInvokingMethodInterceptor.java | 2 +- .../data/projection/DefaultProjectionInformation.java | 2 +- .../org/springframework/data/projection/EntityProjection.java | 2 +- .../data/projection/EntityProjectionIntrospector.java | 2 +- .../data/projection/MapAccessingMethodInterceptor.java | 2 +- .../data/projection/MethodInterceptorFactory.java | 2 +- .../data/projection/ProjectingMethodInterceptor.java | 2 +- .../org/springframework/data/projection/ProjectionFactory.java | 2 +- .../springframework/data/projection/ProjectionInformation.java | 2 +- .../data/projection/PropertyAccessingMethodInterceptor.java | 2 +- .../springframework/data/projection/ProxyProjectionFactory.java | 2 +- .../data/projection/SpelAwareProxyProjectionFactory.java | 2 +- .../data/projection/SpelEvaluatingMethodInterceptor.java | 2 +- .../java/org/springframework/data/projection/TargetAware.java | 2 +- .../org/springframework/data/querydsl/EntityPathResolver.java | 2 +- .../data/querydsl/ListQuerydslPredicateExecutor.java | 2 +- .../java/org/springframework/data/querydsl/QPageRequest.java | 2 +- src/main/java/org/springframework/data/querydsl/QSort.java | 2 +- .../data/querydsl/QuerydslPredicateExecutor.java | 2 +- .../data/querydsl/QuerydslRepositoryInvokerAdapter.java | 2 +- .../java/org/springframework/data/querydsl/QuerydslUtils.java | 2 +- .../data/querydsl/ReactiveQuerydslPredicateExecutor.java | 2 +- .../springframework/data/querydsl/SimpleEntityPathResolver.java | 2 +- .../org/springframework/data/querydsl/aot/QuerydslHints.java | 2 +- .../data/querydsl/binding/MultiValueBinding.java | 2 +- .../data/querydsl/binding/OptionalValueBinding.java | 2 +- .../springframework/data/querydsl/binding/PathInformation.java | 2 +- .../data/querydsl/binding/PropertyPathInformation.java | 2 +- .../data/querydsl/binding/QuerydslBinderCustomizer.java | 2 +- .../data/querydsl/binding/QuerydslBinderCustomizerDefaults.java | 2 +- .../springframework/data/querydsl/binding/QuerydslBindings.java | 2 +- .../data/querydsl/binding/QuerydslBindingsFactory.java | 2 +- .../data/querydsl/binding/QuerydslDefaultBinding.java | 2 +- .../data/querydsl/binding/QuerydslPathInformation.java | 2 +- .../data/querydsl/binding/QuerydslPredicate.java | 2 +- .../data/querydsl/binding/QuerydslPredicateBuilder.java | 2 +- .../data/querydsl/binding/SingleValueBinding.java | 2 +- .../org/springframework/data/repository/CrudRepository.java | 2 +- .../org/springframework/data/repository/ListCrudRepository.java | 2 +- .../data/repository/ListPagingAndSortingRepository.java | 2 +- .../org/springframework/data/repository/NoRepositoryBean.java | 2 +- .../data/repository/PagingAndSortingRepository.java | 2 +- .../java/org/springframework/data/repository/Repository.java | 2 +- .../springframework/data/repository/RepositoryDefinition.java | 2 +- .../data/repository/aot/hint/RepositoryRuntimeHints.java | 2 +- .../springframework/data/repository/cdi/CdiRepositoryBean.java | 2 +- .../data/repository/cdi/CdiRepositoryConfiguration.java | 2 +- .../data/repository/cdi/CdiRepositoryContext.java | 2 +- .../data/repository/cdi/CdiRepositoryExtensionSupport.java | 2 +- .../java/org/springframework/data/repository/cdi/Eager.java | 2 +- .../config/AnnotationRepositoryConfigurationSource.java | 2 +- .../data/repository/config/AotRepositoryContext.java | 2 +- .../springframework/data/repository/config/BootstrapMode.java | 2 +- .../config/CustomRepositoryImplementationDetector.java | 2 +- .../config/DefaultImplementationLookupConfiguration.java | 2 +- .../data/repository/config/DefaultRepositoryBaseClass.java | 2 +- .../data/repository/config/DefaultRepositoryConfiguration.java | 2 +- .../config/DeferredRepositoryInitializationListener.java | 2 +- .../data/repository/config/FragmentMetadata.java | 2 +- .../repository/config/ImplementationDetectionConfiguration.java | 2 +- .../repository/config/ImplementationLookupConfiguration.java | 2 +- .../repository/config/NamedQueriesBeanDefinitionBuilder.java | 2 +- .../repository/config/NamedQueriesBeanDefinitionParser.java | 2 +- .../data/repository/config/PersistentEntitiesFactoryBean.java | 2 +- .../config/PropertiesBasedNamedQueriesFactoryBean.java | 2 +- .../data/repository/config/RepositoryBeanDefinitionBuilder.java | 2 +- .../data/repository/config/RepositoryBeanDefinitionParser.java | 2 +- .../config/RepositoryBeanDefinitionRegistrarSupport.java | 2 +- .../data/repository/config/RepositoryBeanNameGenerator.java | 2 +- .../data/repository/config/RepositoryComponentProvider.java | 2 +- .../data/repository/config/RepositoryConfiguration.java | 2 +- .../data/repository/config/RepositoryConfigurationAdapter.java | 2 +- .../data/repository/config/RepositoryConfigurationDelegate.java | 2 +- .../repository/config/RepositoryConfigurationExtension.java | 2 +- .../config/RepositoryConfigurationExtensionSupport.java | 2 +- .../data/repository/config/RepositoryConfigurationSource.java | 2 +- .../repository/config/RepositoryConfigurationSourceSupport.java | 2 +- .../data/repository/config/RepositoryConfigurationUtils.java | 2 +- .../data/repository/config/RepositoryFragmentConfiguration.java | 2 +- .../config/RepositoryFragmentConfigurationProvider.java | 2 +- .../data/repository/config/RepositoryNameSpaceHandler.java | 2 +- .../config/RepositoryRegistrationAotContribution.java | 2 +- .../repository/config/RepositoryRegistrationAotProcessor.java | 2 +- .../ResourceReaderRepositoryPopulatorBeanDefinitionParser.java | 2 +- .../springframework/data/repository/config/SelectionSet.java | 2 +- .../repository/config/XmlRepositoryConfigurationSource.java | 2 +- .../org/springframework/data/repository/core/CrudMethods.java | 2 +- .../springframework/data/repository/core/EntityInformation.java | 2 +- .../springframework/data/repository/core/EntityMetadata.java | 2 +- .../org/springframework/data/repository/core/NamedQueries.java | 2 +- .../data/repository/core/RepositoryCreationException.java | 2 +- .../data/repository/core/RepositoryInformation.java | 2 +- .../data/repository/core/RepositoryInformationSupport.java | 2 +- .../data/repository/core/RepositoryMetadata.java | 2 +- .../data/repository/core/support/AbstractEntityInformation.java | 2 +- .../repository/core/support/AbstractRepositoryMetadata.java | 2 +- .../repository/core/support/AnnotationRepositoryMetadata.java | 2 +- .../data/repository/core/support/DefaultCrudMethods.java | 2 +- .../repository/core/support/DefaultRepositoryInformation.java | 2 +- .../data/repository/core/support/DefaultRepositoryMetadata.java | 2 +- .../repository/core/support/DelegatingEntityInformation.java | 2 +- .../support/EventPublishingRepositoryProxyPostProcessor.java | 2 +- .../core/support/FragmentNotImplementedException.java | 2 +- .../core/support/IncompleteRepositoryCompositionException.java | 2 +- .../data/repository/core/support/MethodInvocationValidator.java | 2 +- .../data/repository/core/support/MethodLookup.java | 2 +- .../data/repository/core/support/MethodLookups.java | 2 +- ...istenceExceptionTranslationRepositoryProxyPostProcessor.java | 2 +- .../repository/core/support/PersistentEntityInformation.java | 2 +- .../repository/core/support/PropertiesBasedNamedQueries.java | 2 +- .../data/repository/core/support/QueryCreationListener.java | 2 +- .../repository/core/support/QueryExecutionResultHandler.java | 2 +- .../repository/core/support/QueryExecutorMethodInterceptor.java | 2 +- .../core/support/ReactiveRepositoryFactorySupport.java | 2 +- .../data/repository/core/support/RepositoryComposition.java | 2 +- .../repository/core/support/RepositoryFactoryBeanSupport.java | 2 +- .../repository/core/support/RepositoryFactoryCustomizer.java | 2 +- .../repository/core/support/RepositoryFactoryInformation.java | 2 +- .../data/repository/core/support/RepositoryFactorySupport.java | 2 +- .../data/repository/core/support/RepositoryFragment.java | 2 +- .../repository/core/support/RepositoryFragmentsFactoryBean.java | 2 +- .../core/support/RepositoryInvocationMulticaster.java | 2 +- .../core/support/RepositoryMethodInvocationListener.java | 2 +- .../data/repository/core/support/RepositoryMethodInvoker.java | 2 +- .../repository/core/support/RepositoryProxyPostProcessor.java | 2 +- .../SurroundingTransactionDetectorMethodInterceptor.java | 2 +- .../core/support/TransactionalRepositoryFactoryBeanSupport.java | 2 +- .../core/support/TransactionalRepositoryProxyPostProcessor.java | 2 +- .../repository/core/support/UnsupportedFragmentException.java | 2 +- .../data/repository/history/RevisionRepository.java | 2 +- .../repository/history/support/RevisionEntityInformation.java | 2 +- .../repository/init/AbstractRepositoryPopulatorFactoryBean.java | 2 +- .../repository/init/Jackson2RepositoryPopulatorFactoryBean.java | 2 +- .../data/repository/init/Jackson2ResourceReader.java | 2 +- .../data/repository/init/RepositoriesPopulatedEvent.java | 2 +- .../data/repository/init/RepositoryPopulator.java | 2 +- .../springframework/data/repository/init/ResourceReader.java | 2 +- .../data/repository/init/ResourceReaderRepositoryPopulator.java | 2 +- .../init/UnmarshallerRepositoryPopulatorFactoryBean.java | 2 +- .../data/repository/init/UnmarshallingResourceReader.java | 2 +- .../data/repository/query/DefaultParameters.java | 2 +- .../ExtensionAwareQueryMethodEvaluationContextProvider.java | 2 +- .../org/springframework/data/repository/query/FluentQuery.java | 2 +- .../data/repository/query/ListQueryByExampleExecutor.java | 2 +- .../java/org/springframework/data/repository/query/Param.java | 2 +- .../org/springframework/data/repository/query/Parameter.java | 2 +- .../data/repository/query/ParameterAccessor.java | 2 +- .../data/repository/query/ParameterOutOfBoundsException.java | 2 +- .../org/springframework/data/repository/query/Parameters.java | 2 +- .../data/repository/query/ParametersParameterAccessor.java | 2 +- .../springframework/data/repository/query/ParametersSource.java | 2 +- .../data/repository/query/QueryByExampleExecutor.java | 2 +- .../data/repository/query/QueryCreationException.java | 2 +- .../data/repository/query/QueryLookupStrategy.java | 2 +- .../org/springframework/data/repository/query/QueryMethod.java | 2 +- .../repository/query/QueryMethodEvaluationContextProvider.java | 2 +- ...ctiveExtensionAwareQueryMethodEvaluationContextProvider.java | 2 +- .../data/repository/query/ReactiveQueryByExampleExecutor.java | 2 +- .../query/ReactiveQueryMethodEvaluationContextProvider.java | 2 +- .../springframework/data/repository/query/RepositoryQuery.java | 2 +- .../springframework/data/repository/query/ResultProcessor.java | 2 +- .../org/springframework/data/repository/query/ReturnedType.java | 2 +- .../springframework/data/repository/query/SpelEvaluator.java | 2 +- .../springframework/data/repository/query/SpelQueryContext.java | 2 +- .../data/repository/query/parser/AbstractQueryCreator.java | 2 +- .../data/repository/query/parser/OrderBySource.java | 2 +- .../org/springframework/data/repository/query/parser/Part.java | 2 +- .../springframework/data/repository/query/parser/PartTree.java | 2 +- .../data/repository/reactive/ReactiveCrudRepository.java | 2 +- .../data/repository/reactive/ReactiveSortingRepository.java | 2 +- .../data/repository/reactive/RxJava3CrudRepository.java | 2 +- .../data/repository/reactive/RxJava3SortingRepository.java | 2 +- .../data/repository/support/AnnotationAttribute.java | 2 +- .../data/repository/support/CrudRepositoryInvoker.java | 2 +- .../repository/support/DefaultRepositoryInvokerFactory.java | 2 +- .../data/repository/support/DomainClassConverter.java | 2 +- .../data/repository/support/MethodParameters.java | 2 +- .../repository/support/PagingAndSortingRepositoryInvoker.java | 2 +- .../support/QueryMethodParameterConversionException.java | 2 +- .../data/repository/support/ReflectionRepositoryInvoker.java | 2 +- .../springframework/data/repository/support/Repositories.java | 2 +- .../repository/support/RepositoryInvocationInformation.java | 2 +- .../data/repository/support/RepositoryInvoker.java | 2 +- .../data/repository/support/RepositoryInvokerFactory.java | 2 +- .../org/springframework/data/repository/util/ClassUtils.java | 2 +- .../data/repository/util/QueryExecutionConverters.java | 2 +- .../data/repository/util/ReactiveWrapperConverters.java | 2 +- .../springframework/data/repository/util/ReactiveWrappers.java | 2 +- .../java/org/springframework/data/repository/util/TxUtils.java | 2 +- .../data/spel/EvaluationContextExtensionInformation.java | 2 +- .../springframework/data/spel/EvaluationContextProvider.java | 2 +- .../org/springframework/data/spel/ExpressionDependencies.java | 2 +- .../data/spel/ExtensionAwareEvaluationContextProvider.java | 2 +- src/main/java/org/springframework/data/spel/Functions.java | 2 +- .../data/spel/ReactiveEvaluationContextProvider.java | 2 +- .../spel/ReactiveExtensionAwareEvaluationContextProvider.java | 2 +- .../data/spel/spi/EvaluationContextExtension.java | 2 +- .../org/springframework/data/spel/spi/ExtensionIdAware.java | 2 +- src/main/java/org/springframework/data/spel/spi/Function.java | 2 +- .../data/spel/spi/ReactiveEvaluationContextExtension.java | 2 +- .../springframework/data/support/ExampleMatcherAccessor.java | 2 +- .../java/org/springframework/data/support/IsNewStrategy.java | 2 +- .../springframework/data/support/PageableExecutionUtils.java | 2 +- .../springframework/data/support/PersistableIsNewStrategy.java | 2 +- .../org/springframework/data/support/PlaceholderResolver.java | 2 +- .../java/org/springframework/data/support/WindowIterator.java | 2 +- .../data/transaction/ChainedTransactionManager.java | 2 +- .../data/transaction/MultiTransactionStatus.java | 2 +- .../transaction/SpringTransactionSynchronizationManager.java | 2 +- .../data/transaction/SynchronizationManager.java | 2 +- .../java/org/springframework/data/type/MethodsMetadata.java | 2 +- .../data/type/classreading/MethodsMetadataReader.java | 2 +- .../data/type/classreading/MethodsMetadataReaderFactory.java | 2 +- .../org/springframework/data/util/AnnotatedTypeScanner.java | 2 +- .../data/util/AnnotationDetectionFieldCallback.java | 2 +- .../data/util/AnnotationDetectionMethodCallback.java | 2 +- src/main/java/org/springframework/data/util/BeanLookup.java | 2 +- src/main/java/org/springframework/data/util/CastUtils.java | 2 +- .../org/springframework/data/util/ClassTypeInformation.java | 2 +- .../java/org/springframework/data/util/CloseableIterator.java | 2 +- .../springframework/data/util/CustomCollectionRegistrar.java | 2 +- .../java/org/springframework/data/util/CustomCollections.java | 2 +- src/main/java/org/springframework/data/util/DefaultLock.java | 2 +- .../org/springframework/data/util/DefaultReadWriteLock.java | 2 +- .../org/springframework/data/util/DelegatingTypeScanner.java | 2 +- .../data/util/DirectFieldAccessFallbackBeanWrapper.java | 2 +- .../java/org/springframework/data/util/IteratorSpliterator.java | 2 +- .../org/springframework/data/util/KotlinBeanInfoFactory.java | 2 +- .../org/springframework/data/util/KotlinReflectionUtils.java | 2 +- src/main/java/org/springframework/data/util/Lazy.java | 2 +- src/main/java/org/springframework/data/util/LazyStreamable.java | 2 +- src/main/java/org/springframework/data/util/Lock.java | 2 +- .../org/springframework/data/util/MethodInvocationRecorder.java | 2 +- .../org/springframework/data/util/MultiValueMapCollector.java | 2 +- src/main/java/org/springframework/data/util/NullableUtils.java | 2 +- .../java/org/springframework/data/util/NullableWrapper.java | 2 +- .../springframework/data/util/NullableWrapperConverters.java | 2 +- src/main/java/org/springframework/data/util/Optionals.java | 2 +- src/main/java/org/springframework/data/util/Pair.java | 2 +- src/main/java/org/springframework/data/util/ParameterTypes.java | 2 +- src/main/java/org/springframework/data/util/ParsingUtils.java | 2 +- src/main/java/org/springframework/data/util/Predicates.java | 2 +- src/main/java/org/springframework/data/util/ProxyUtils.java | 2 +- .../java/org/springframework/data/util/QTypeContributor.java | 2 +- .../java/org/springframework/data/util/ReactiveWrappers.java | 2 +- src/main/java/org/springframework/data/util/ReadWriteLock.java | 2 +- .../java/org/springframework/data/util/ReflectionUtils.java | 2 +- src/main/java/org/springframework/data/util/StreamUtils.java | 2 +- src/main/java/org/springframework/data/util/Streamable.java | 2 +- src/main/java/org/springframework/data/util/TypeCollector.java | 2 +- .../java/org/springframework/data/util/TypeContributor.java | 2 +- src/main/java/org/springframework/data/util/TypeDiscoverer.java | 2 +- .../java/org/springframework/data/util/TypeInformation.java | 2 +- src/main/java/org/springframework/data/util/TypeScanner.java | 2 +- src/main/java/org/springframework/data/util/TypeUtils.java | 2 +- src/main/java/org/springframework/data/util/Version.java | 2 +- .../data/web/HateoasPageableHandlerMethodArgumentResolver.java | 2 +- .../data/web/HateoasSortHandlerMethodArgumentResolver.java | 2 +- src/main/java/org/springframework/data/web/JsonPath.java | 2 +- .../data/web/JsonProjectingMethodInterceptorFactory.java | 2 +- src/main/java/org/springframework/data/web/MapDataBinder.java | 2 +- .../data/web/OffsetScrollPositionArgumentResolver.java | 2 +- .../web/OffsetScrollPositionHandlerMethodArgumentResolver.java | 2 +- ...ffsetScrollPositionHandlerMethodArgumentResolverSupport.java | 2 +- .../org/springframework/data/web/PageableArgumentResolver.java | 2 +- src/main/java/org/springframework/data/web/PageableDefault.java | 2 +- .../data/web/PageableHandlerMethodArgumentResolver.java | 2 +- .../data/web/PageableHandlerMethodArgumentResolverSupport.java | 2 +- .../springframework/data/web/PageableMethodParameterUtils.java | 2 +- src/main/java/org/springframework/data/web/PagedModel.java | 2 +- .../org/springframework/data/web/PagedResourcesAssembler.java | 2 +- .../data/web/PagedResourcesAssemblerArgumentResolver.java | 2 +- .../java/org/springframework/data/web/ProjectedPayload.java | 2 +- .../data/web/ProjectingJackson2HttpMessageConverter.java | 2 +- .../data/web/ProxyingHandlerMethodArgumentResolver.java | 2 +- ...activeOffsetScrollPositionHandlerMethodArgumentResolver.java | 2 +- .../data/web/ReactivePageableHandlerMethodArgumentResolver.java | 2 +- .../data/web/ReactiveSortHandlerMethodArgumentResolver.java | 2 +- .../org/springframework/data/web/SlicedResourcesAssembler.java | 2 +- .../data/web/SlicedResourcesAssemblerArgumentResolver.java | 2 +- .../java/org/springframework/data/web/SortArgumentResolver.java | 2 +- src/main/java/org/springframework/data/web/SortDefault.java | 2 +- .../data/web/SortHandlerMethodArgumentResolver.java | 2 +- .../data/web/SortHandlerMethodArgumentResolverSupport.java | 2 +- .../org/springframework/data/web/SpringDataAnnotationUtils.java | 2 +- .../springframework/data/web/XmlBeamHttpMessageConverter.java | 2 +- .../java/org/springframework/data/web/aot/WebRuntimeHints.java | 2 +- .../data/web/config/EnableSpringDataWebSupport.java | 2 +- .../data/web/config/HateoasAwareSpringDataWebConfiguration.java | 2 +- ...etScrollPositionHandlerMethodArgumentResolverCustomizer.java | 2 +- .../config/PageableHandlerMethodArgumentResolverCustomizer.java | 2 +- .../data/web/config/ProjectingArgumentResolverRegistrar.java | 2 +- .../data/web/config/QuerydslWebConfiguration.java | 2 +- .../data/web/config/ReactiveQuerydslWebConfiguration.java | 2 +- .../web/config/SortHandlerMethodArgumentResolverCustomizer.java | 2 +- .../data/web/config/SpringDataJacksonConfiguration.java | 2 +- .../data/web/config/SpringDataJacksonModules.java | 2 +- .../data/web/config/SpringDataWebConfiguration.java | 2 +- .../springframework/data/web/config/SpringDataWebSettings.java | 2 +- .../data/web/querydsl/QuerydslPredicateArgumentResolver.java | 2 +- .../web/querydsl/QuerydslPredicateArgumentResolverSupport.java | 2 +- .../web/querydsl/ReactiveQuerydslPredicateArgumentResolver.java | 2 +- .../kotlin/org/springframework/data/mapping/KPropertyPath.kt | 2 +- .../org/springframework/data/mapping/KPropertyPathExtensions.kt | 2 +- .../springframework/data/repository/CrudRepositoryExtensions.kt | 2 +- .../data/repository/kotlin/CoroutineCrudRepository.kt | 2 +- .../data/repository/kotlin/CoroutineSortingRepository.kt | 2 +- .../data/convert/PropertyValueConversionServiceUnitTests.java | 2 +- src/test/java/TypeInDefaultPackage.java | 2 +- src/test/java/example/SampleInterface.java | 2 +- src/test/java/org/springframework/data/DependencyTests.java | 2 +- .../org/springframework/data/annotation/TypeAliasUnitTests.java | 2 +- .../data/aot/AotTestCodeContributionBuilder.java | 2 +- .../data/aot/AuditingBeanRegistrationAotProcessorUnitTests.java | 2 +- .../data/aot/BeanRegistrationContributionAssert.java | 2 +- .../org/springframework/data/aot/CodeContributionAssert.java | 2 +- .../java/org/springframework/data/aot/DeferredTypeBuilder.java | 2 +- src/test/java/org/springframework/data/aot/JdkProxyAssert.java | 2 +- ...agedTypesBeanFactoryInitializationAotProcessorUnitTests.java | 2 +- .../aot/ManagedTypesBeanRegistrationAotProcessorUnitTests.java | 2 +- .../org/springframework/data/aot/MockBeanRegistrationCode.java | 2 +- .../org/springframework/data/aot/TypeCollectorUnitTests.java | 2 +- .../data/aot/sample/ConfigWithCustomFactoryBeanBaseClass.java | 2 +- .../data/aot/sample/ConfigWithCustomImplementation.java | 2 +- .../data/aot/sample/ConfigWithCustomRepositoryBaseClass.java | 2 +- .../springframework/data/aot/sample/ConfigWithFragments.java | 2 +- .../springframework/data/aot/sample/ConfigWithQueryMethods.java | 2 +- .../data/aot/sample/ConfigWithQuerydslPredicateExecutor.java | 2 +- .../data/aot/sample/ConfigWithSimpleCrudRepository.java | 2 +- .../data/aot/sample/ConfigWithTransactionManagerPresent.java | 2 +- ...nsactionManagerPresentAndAtComponentAnnotatedRepository.java | 2 +- .../aot/sample/QConfigWithQuerydslPredicateExecutor_Person.java | 2 +- .../org/springframework/data/aot/sample/ReactiveConfig.java | 2 +- .../java/org/springframework/data/aot/types/AbstractType.java | 2 +- src/test/java/org/springframework/data/aot/types/Address.java | 2 +- .../java/org/springframework/data/aot/types/BaseEntity.java | 2 +- src/test/java/org/springframework/data/aot/types/Customer.java | 2 +- .../java/org/springframework/data/aot/types/CyclicGenerics.java | 2 +- .../org/springframework/data/aot/types/CyclicPropertiesA.java | 2 +- .../org/springframework/data/aot/types/CyclicPropertiesB.java | 2 +- .../springframework/data/aot/types/CyclicPropertiesSelf.java | 2 +- .../data/aot/types/DomainObjectWithSimpleTypesOnly.java | 2 +- .../java/org/springframework/data/aot/types/EmptyType1.java | 2 +- .../java/org/springframework/data/aot/types/EmptyType2.java | 2 +- .../org/springframework/data/aot/types/FieldsAndMethods.java | 2 +- .../java/org/springframework/data/aot/types/InterfaceType.java | 2 +- .../java/org/springframework/data/aot/types/LocationHolder.java | 2 +- .../org/springframework/data/aot/types/ProjectionInterface.java | 2 +- .../springframework/data/aot/types/TypesInMethodSignatures.java | 2 +- .../org/springframework/data/aot/types/WithDeclaredClass.java | 2 +- .../java/org/springframework/data/auditing/AnnotatedUser.java | 2 +- .../data/auditing/AnnotationAuditingMetadataUnitTests.java | 2 +- .../java/org/springframework/data/auditing/AuditedUser.java | 2 +- .../springframework/data/auditing/AuditingHandlerUnitTests.java | 2 +- .../org/springframework/data/auditing/AuditorUnitTests.java | 2 +- .../auditing/DefaultAuditableBeanWrapperFactoryUnitTests.java | 2 +- .../java/org/springframework/data/auditing/EnableAuditing.java | 2 +- .../data/auditing/IsNewAwareAuditingHandlerUnitTests.java | 2 +- .../org/springframework/data/auditing/Jsr310AuditedUser.java | 2 +- .../auditing/MappingAuditableBeanWrapperFactoryUnitTests.java | 2 +- .../data/auditing/ReactiveAuditingHandlerUnitTests.java | 2 +- .../data/auditing/ReflectionAuditingBeanWrapperUnitTests.java | 2 +- .../config/AuditingBeanDefinitionRegistrarSupportUnitTests.java | 2 +- .../data/classloadersupport/HidingClassLoader.java | 2 +- .../springframework/data/config/TypeFilterParserUnitTests.java | 2 +- .../convert/ConfigurableTypeInformationMapperUnitTests.java | 2 +- .../springframework/data/convert/ConverterBuilderUnitTests.java | 2 +- .../data/convert/CustomConversionsUnitTests.java | 2 +- .../data/convert/DefaultTypeMapperUnitTests.java | 2 +- .../data/convert/DtoInstantiatingConverterUnitTests.java | 2 +- .../springframework/data/convert/Jsr310ConvertersUnitTests.java | 2 +- .../convert/MappingContextTypeInformationMapperUnitTests.java | 2 +- .../data/convert/PropertyValueConverterFactoryUnitTests.java | 2 +- .../data/convert/PropertyValueConverterRegistrarUnitTests.java | 2 +- .../data/convert/SimplePropertyValueConversionsUnitTests.java | 2 +- .../convert/SimplePropertyValueConverterRegistryUnitTests.java | 2 +- .../data/convert/SimpleTypeInformationMapperUnitTests.java | 2 +- .../data/domain/AbstractAggregateRootUnitTests.java | 2 +- .../data/domain/AbstractPageRequestUnitTests.java | 2 +- .../org/springframework/data/domain/DirectionUnitTests.java | 2 +- .../springframework/data/domain/ExampleMatcherUnitTests.java | 2 +- .../java/org/springframework/data/domain/ExampleUnitTests.java | 2 +- .../java/org/springframework/data/domain/LimitUnitTests.java | 2 +- .../org/springframework/data/domain/ManagedTypesUnitTests.java | 2 +- .../java/org/springframework/data/domain/PageImplUnitTests.java | 2 +- .../org/springframework/data/domain/PageRequestUnitTests.java | 2 +- .../java/org/springframework/data/domain/RangeUnitTests.java | 2 +- .../springframework/data/domain/ScrollPositionUnitTests.java | 2 +- .../java/org/springframework/data/domain/SortUnitTests.java | 2 +- .../java/org/springframework/data/domain/UnitTestUtils.java | 2 +- .../springframework/data/domain/WindowIteratorUnitTests.java | 2 +- .../java/org/springframework/data/domain/WindowUnitTests.java | 2 +- .../data/domain/jaxb/SpringDataJaxbUnitTests.java | 2 +- .../data/expression/ValueEvaluationUnitTests.java | 2 +- src/test/java/org/springframework/data/geo/BoxUnitTests.java | 2 +- src/test/java/org/springframework/data/geo/CircleUnitTests.java | 2 +- .../java/org/springframework/data/geo/DistanceUnitTests.java | 2 +- .../org/springframework/data/geo/GeoModuleIntegrationTests.java | 2 +- .../java/org/springframework/data/geo/GeoResultUnitTests.java | 2 +- .../java/org/springframework/data/geo/GeoResultsUnitTests.java | 2 +- src/test/java/org/springframework/data/geo/PointUnitTests.java | 2 +- .../java/org/springframework/data/geo/PolygonUnitTests.java | 2 +- .../data/geo/format/DistanceFormatterUnitTests.java | 2 +- .../data/geo/format/PointFormatterUnitTests.java | 2 +- .../data/history/AnnotationRevisionMetadataUnitTests.java | 2 +- .../org/springframework/data/history/RevisionUnitTests.java | 2 +- .../org/springframework/data/history/RevisionsUnitTests.java | 2 +- src/test/java/org/springframework/data/mapping/Child.java | 2 +- src/test/java/org/springframework/data/mapping/Document.java | 2 +- .../InstantiationAwarePersistentPropertyAccessorUnitTests.java | 2 +- .../java/org/springframework/data/mapping/KotlinModelTypes.kt | 2 +- .../org/springframework/data/mapping/MappingMetadataTests.java | 2 +- .../org/springframework/data/mapping/ParameterUnitTests.java | 2 +- .../org/springframework/data/mapping/PersistentEntitySpec.java | 2 +- .../data/mapping/PersistentPropertyAccessorUnitTests.java | 2 +- src/test/java/org/springframework/data/mapping/Person.java | 2 +- .../java/org/springframework/data/mapping/PersonDocument.java | 2 +- src/test/java/org/springframework/data/mapping/PersonNoId.java | 2 +- .../java/org/springframework/data/mapping/PersonPersistent.java | 2 +- .../org/springframework/data/mapping/PersonWithChildren.java | 2 +- .../java/org/springframework/data/mapping/PersonWithId.java | 2 +- .../data/mapping/PreferredConstructorDiscovererUnitTests.java | 2 +- .../org/springframework/data/mapping/PropertyPathUnitTests.java | 2 +- .../data/mapping/PropertyReferenceExceptionUnitTests.java | 2 +- .../springframework/data/mapping/SimpleTypeHolderUnitTests.java | 2 +- .../data/mapping/TargetAwareIdentifierAccessorUnitTests.java | 2 +- .../data/mapping/callback/CapturingEntityCallback.java | 2 +- .../data/mapping/callback/DefaultEntityCallbacksUnitTests.java | 2 +- .../callback/DefaultReactiveEntityCallbacksUnitTests.java | 2 +- .../mapping/callback/EntityCallbackDiscovererUnitTests.java | 2 +- .../mapping/context/AbstractMappingContextIntegrationTests.java | 2 +- .../data/mapping/context/AbstractMappingContextUnitTests.java | 2 +- .../mapping/context/DefaultPersistentPropertyPathUnitTests.java | 2 +- .../mapping/context/EntityProjectionIntrospectorUnitTests.java | 2 +- .../data/mapping/context/MappingContextEventUnitTests.java | 2 +- .../data/mapping/context/PersistentEntitiesUnitTests.java | 2 +- .../mapping/context/PersistentPropertyPathFactoryUnitTests.java | 2 +- .../data/mapping/context/PropertyMatchUnitTests.java | 2 +- .../data/mapping/context/SampleMappingContext.java | 2 +- .../data/mapping/context/SamplePersistentProperty.java | 2 +- .../data/mapping/model/AbstractPersistentPropertyUnitTests.java | 2 +- .../model/AnnotationBasedPersistentPropertyUnitTests.java | 2 +- .../data/mapping/model/BasicPersistentEntityUnitTests.java | 2 +- .../model/CachingValueExpressionEvaluatorFactoryUnitTests.java | 2 +- .../CamelCaseAbbreviatingFieldNamingStrategyUnitTests.java | 2 +- .../model/ClassGeneratingEntityInstantiatorUnitTests.java | 2 +- .../ClassGeneratingPropertyAccessorFactoryDatatypeTests.java | 2 +- .../ClassGeneratingPropertyAccessorFactoryEntityTypeTests.java | 2 +- .../model/ClassGeneratingPropertyAccessorFactoryTests.java | 2 +- .../ClassGeneratingPropertyAccessorPackageDefaultType.java | 2 +- .../model/ClassGeneratingPropertyAccessorPublicType.java | 2 +- .../data/mapping/model/ConvertingPropertyAccessorUnitTests.java | 2 +- .../mapping/model/EntityCreatorMetadataDiscovererUnitTests.java | 2 +- .../data/mapping/model/EntityInstantiatorsUnitTests.java | 2 +- .../data/mapping/model/FactoryMethodUnitTests.java | 2 +- .../mapping/model/IdPropertyIdentifierAccessorUnitTests.java | 2 +- .../model/InstanceCreatorMetadataDiscovererUnitTests.java | 2 +- .../data/mapping/model/KotlinCopyMethodUnitTests.java | 2 +- .../data/mapping/model/KotlinPropertyAccessorFactoryTests.java | 2 +- .../mapping/model/ParameterizedKotlinInstantiatorUnitTests.java | 2 +- .../mapping/model/PersistentEntityIsNewStrategyUnitTests.java | 2 +- .../model/PersistentEntityParameterValueProviderUnitTests.java | 2 +- .../data/mapping/model/PersistentPropertyAccessorTests.java | 2 +- .../mapping/model/PropertyAccessorClassGeneratorUnitTests.java | 2 +- .../springframework/data/mapping/model/PropertyUnitTests.java | 2 +- .../mapping/model/ReflectionEntityInstantiatorUnitTests.java | 2 +- .../model/SimplePersistentPropertyPathAccessorUnitTests.java | 2 +- .../mapping/model/SnakeCaseFieldNamingStrategyUnitTests.java | 2 +- .../mapping/model/SpelExpressionParameterProviderUnitTests.java | 2 +- .../model/ValueExpressionParameterValueProviderUnitTests.java | 2 +- .../data/mapping/model/subpackage/TypeInOtherPackage.java | 2 +- .../DefaultMethodInvokingMethodInterceptorUnitTests.java | 2 +- .../data/projection/DefaultProjectionInformationUnitTests.java | 2 +- .../data/projection/MapAccessingMethodInterceptorUnitTests.java | 2 +- .../data/projection/ProjectingMethodInterceptorUnitTests.java | 2 +- .../data/projection/ProjectionIntegrationTests.java | 2 +- .../projection/PropertyAccessingMethodInterceptorUnitTests.java | 2 +- .../data/projection/ProxyProjectionFactoryUnitTests.java | 2 +- .../projection/SpelAwareProxyProjectionFactoryUnitTests.java | 2 +- .../projection/SpelEvaluatingMethodInterceptorUnitTests.java | 2 +- src/test/java/org/springframework/data/querydsl/Address.java | 2 +- .../springframework/data/querydsl/QPageRequestUnitTests.java | 2 +- .../java/org/springframework/data/querydsl/QSortUnitTests.java | 2 +- .../querydsl/QuerydslRepositoryInvokerAdapterUnitTests.java | 2 +- .../springframework/data/querydsl/QuerydslUtilsUnitTests.java | 2 +- .../data/querydsl/SimpleEntityPathResolverUnitTests.java | 2 +- src/test/java/org/springframework/data/querydsl/User.java | 2 +- .../java/org/springframework/data/querydsl/UserWrapper.java | 2 +- src/test/java/org/springframework/data/querydsl/Users.java | 2 +- .../data/querydsl/binding/PropertyPathInformationUnitTests.java | 2 +- .../data/querydsl/binding/QuerydslBindingsFactoryUnitTests.java | 2 +- .../data/querydsl/binding/QuerydslBindingsUnitTests.java | 2 +- .../data/querydsl/binding/QuerydslDefaultBindingUnitTests.java | 2 +- .../querydsl/binding/QuerydslPredicateBuilderUnitTests.java | 2 +- .../java/org/springframework/data/querydsl/suffix/QUser.java | 2 +- .../aot/RepositoryRegistrationAotContributionAssert.java | 2 +- .../aot/RepositoryRegistrationAotProcessorIntegrationTests.java | 2 +- .../data/repository/cdi/AnotherFragmentInterface.java | 2 +- .../data/repository/cdi/AnotherFragmentInterfaceImpl.java | 2 +- .../springframework/data/repository/cdi/AnotherRepository.java | 2 +- .../data/repository/cdi/AnotherRepositoryCustom.java | 2 +- .../data/repository/cdi/AnotherRepositoryImpl.java | 2 +- .../data/repository/cdi/CdiConfigurationIntegrationTests.java | 2 +- .../data/repository/cdi/CdiRepositoryBeanUnitTests.java | 2 +- .../cdi/CdiRepositoryExtensionSupportIntegrationTests.java | 2 +- .../springframework/data/repository/cdi/ComposedRepository.java | 2 +- .../data/repository/cdi/ComposedRepositoryCustom.java | 2 +- .../data/repository/cdi/ComposedRepositoryImpl.java | 2 +- .../springframework/data/repository/cdi/DummyCdiExtension.java | 2 +- .../springframework/data/repository/cdi/FragmentInterface.java | 2 +- .../data/repository/cdi/FragmentInterfaceImpl.java | 2 +- .../springframework/data/repository/cdi/RepositoryClient.java | 2 +- .../data/repository/cdi/RepositoryFragments.java | 2 +- .../repository/cdi/RepositoryFragmentsIntegrationTests.java | 2 +- .../springframework/data/repository/cdi/SampleRepository.java | 2 +- .../data/repository/cdi/StereotypeAnnotation.java | 2 +- .../WebbeansCdiRepositoryExtensionSupportIntegrationTests.java | 2 +- .../data/repository/cdi/isolated/FragmentInterface.java | 2 +- .../data/repository/cdi/isolated/FragmentInterfaceFoo.java | 2 +- .../repository/cdi/isolated/IsolatedComposedRepository.java | 2 +- .../data/repository/cdi/isolated/MyCdiConfiguration.java | 2 +- .../AnnotationRepositoryConfigurationSourceUnitTests.java | 2 +- .../data/repository/config/ComposedRepository.java | 2 +- .../config/CustomRepositoryImplementationDetectorUnitTests.java | 2 +- .../DefaultImplementationLookupConfigurationUnitTests.java | 2 +- .../config/DefaultRepositoryConfigurationUnitTests.java | 2 +- .../data/repository/config/DummyConfigurationExtension.java | 2 +- .../springframework/data/repository/config/DummyRegistrar.java | 2 +- .../data/repository/config/EnableReactiveRepositories.java | 2 +- .../data/repository/config/EnableRepositories.java | 2 +- .../data/repository/config/ExcludedRepository.java | 2 +- .../data/repository/config/ExcludedRepositoryImpl.java | 2 +- .../config/ImplementationDetectionConfigurationUnitTests.java | 2 +- .../java/org/springframework/data/repository/config/Mixin.java | 2 +- .../org/springframework/data/repository/config/MixinImpl.java | 2 +- .../data/repository/config/MyOtherRepository.java | 2 +- .../data/repository/config/MyOtherRepositoryExtensions.java | 2 +- .../data/repository/config/MyOtherRepositoryImpl.java | 2 +- .../springframework/data/repository/config/MyRepository.java | 2 +- .../repository/config/PrimaryRepositoryIntegrationTests.java | 2 +- .../data/repository/config/ProfileRepository.java | 2 +- .../repository/config/ReactiveDummyConfigurationExtension.java | 2 +- .../data/repository/config/ReactiveDummyRegistrar.java | 2 +- ...epositoryBeanDefinitionRegistrarSupportIntegrationTests.java | 2 +- .../RepositoryBeanDefinitionRegistrarSupportUnitTests.java | 2 +- .../repository/config/RepositoryBeanNameGeneratorUnitTests.java | 2 +- .../repository/config/RepositoryComponentProviderUnitTests.java | 2 +- .../config/RepositoryConfigurationDelegateUnitTests.java | 2 +- .../RepositoryConfigurationExtensionSupportUnitTests.java | 2 +- .../config/RepositoryFragmentConfigurationUnitTests.java | 2 +- .../data/repository/config/RepositoryWithFragmentExclusion.java | 2 +- ...RepositoryPopulatorBeanDefinitionParserIntegrationTests.java | 2 +- .../data/repository/config/SampleConfiguration.java | 2 +- .../data/repository/config/SelectionSetUnitTests.java | 2 +- .../config/XmlRepositoryConfigurationSourceUnitTests.java | 2 +- .../data/repository/config/annotated/MyAnnotatedRepository.java | 2 +- .../repository/config/annotated/MyAnnotatedRepositoryImpl.java | 2 +- .../data/repository/config/annotated/MyFragment.java | 2 +- .../data/repository/config/annotated/MyFragmentImpl.java | 2 +- .../data/repository/config/basepackage/FragmentImpl.java | 2 +- .../data/repository/config/basepackage/repo/Fragment.java | 2 +- .../repository/config/basepackage/repo/PersonRepository.java | 2 +- .../data/repository/config/excluded/MyOtherRepositoryImpl.java | 2 +- .../repository/config/stereotype/MyStereotypeRepository.java | 2 +- .../config/stereotype/MyStereotypeRepositoryImpl.java | 2 +- .../core/support/AbstractEntityInformationUnitTests.java | 2 +- .../core/support/AbstractRepositoryMetadataUnitTests.java | 2 +- .../core/support/AnnotationRepositoryMetadataUnitTests.java | 2 +- .../repository/core/support/DefaultCrudMethodsUnitTests.java | 2 +- .../core/support/DefaultRepositoryInformationUnitTests.java | 2 +- .../core/support/DefaultRepositoryMetadataUnitTests.java | 2 +- .../data/repository/core/support/DummyEntityInformation.java | 2 +- .../repository/core/support/DummyReactiveRepositoryFactory.java | 2 +- .../data/repository/core/support/DummyRepositoryFactory.java | 2 +- .../repository/core/support/DummyRepositoryFactoryBean.java | 2 +- .../repository/core/support/DummyRepositoryInformation.java | 2 +- .../EventPublishingRepositoryProxyPostProcessorUnitTests.java | 2 +- .../core/support/ExampleSpecificationAccessorUnitTests.java | 2 +- ...ceptionTranslationRepositoryProxyPostProcessorUnitTests.java | 2 +- .../core/support/PersistentEntityInformationUnitTests.java | 2 +- .../core/support/QueryExecutionResultHandlerUnitTests.java | 2 +- .../core/support/QueryExecutorMethodInterceptorUnitTests.java | 2 +- .../repository/core/support/ReactiveDummyRepositoryFactory.java | 2 +- .../core/support/ReactiveDummyRepositoryFactoryBean.java | 2 +- .../core/support/ReactiveRepositoryInformationUnitTests.java | 2 +- .../ReactiveWrapperRepositoryFactorySupportUnitTests.java | 2 +- .../repository/core/support/RepositoryCompositionUnitTests.java | 2 +- .../core/support/RepositoryFactoryBeanSupportUnitTests.java | 2 +- .../core/support/RepositoryFactorySupportUnitTests.java | 2 +- .../repository/core/support/RepositoryFragmentUnitTests.java | 2 +- ...PreferringAnnotationTransactionAttributeSourceUnitTests.java | 2 +- .../core/support/RepositoryMethodInvokerUnitTests.java | 2 +- ...urroundingTransactionDetectorMethodInterceptorUnitTests.java | 2 +- .../TransactionRepositoryFactoryBeanSupportUnitTests.java | 2 +- .../TransactionRepositoryProxyPostProcessorUnitTests.java | 2 +- .../repository/init/Jackson2ResourceReaderIntegrationTests.java | 2 +- .../java/org/springframework/data/repository/init/Person.java | 2 +- .../init/ResourceReaderRepositoryInitializerUnitTests.java | 2 +- .../query/ExtensionAwareEvaluationContextProviderUnitTests.java | 2 +- .../data/repository/query/ParameterUnitTests.java | 2 +- .../repository/query/ParametersParameterAccessorUnitTests.java | 2 +- .../data/repository/query/ParametersUnitTests.java | 2 +- .../data/repository/query/QueryMethodUnitTests.java | 2 +- .../data/repository/query/QuotationMapUnitTests.java | 2 +- .../data/repository/query/ResultProcessorUnitTests.java | 2 +- .../data/repository/query/ReturnedTypeUnitTests.java | 2 +- .../data/repository/query/SimpleParameterAccessorUnitTests.java | 2 +- .../data/repository/query/SpelEvaluatorUnitTests.java | 2 +- .../data/repository/query/SpelExtractorUnitTests.java | 2 +- .../data/repository/query/SpelQueryContextUnitTests.java | 2 +- .../data/repository/query/parser/OrderBySourceUnitTests.java | 2 +- .../data/repository/query/parser/PartTreeUnitTests.java | 2 +- .../data/repository/sample/AddressRepository.java | 2 +- .../data/repository/sample/AddressRepositoryClient.java | 2 +- .../org/springframework/data/repository/sample/Product.java | 2 +- .../data/repository/sample/ProductRepository.java | 2 +- .../data/repository/sample/SampleAnnotatedRepository.java | 2 +- .../data/repository/sample/SampleConfiguration.java | 2 +- .../java/org/springframework/data/repository/sample/User.java | 2 +- .../springframework/data/repository/sample/UserRepository.java | 2 +- .../data/repository/support/AnnotationAttributeUnitTests.java | 2 +- .../data/repository/support/CrudRepositoryInvokerUnitTests.java | 2 +- .../DefaultRepositoryInvokerFactoryIntegrationTests.java | 2 +- .../support/DomainClassConverterIntegrationTests.java | 2 +- .../data/repository/support/DomainClassConverterUnitTests.java | 2 +- .../data/repository/support/MethodParametersUnitTests.java | 2 +- .../support/ReflectionRepositoryInvokerUnitTests.java | 2 +- .../data/repository/support/RepositoriesIntegrationTests.java | 2 +- .../data/repository/support/RepositoriesUnitTests.java | 2 +- .../data/repository/support/RepositoryInvocationTestUtils.java | 2 +- .../data/repository/util/ClassUtilsUnitTests.java | 2 +- .../data/repository/util/QueryExecutionConvertersUnitTests.java | 2 +- .../repository/util/ReactiveWrapperConvertersUnitTests.java | 2 +- .../spel/EvaluationContextExtensionInformationUnitTests.java | 2 +- .../data/spel/ExpressionDependenciesUnitTests.java | 2 +- ...eactiveExtensionAwareEvaluationContextProviderUnitTests.java | 2 +- .../org/springframework/data/spel/spi/FunctionUnitTests.java | 2 +- .../data/support/PageableExecutionUtilsUnitTests.java | 2 +- .../data/support/PersistableIsNewStrategyUnitTests.java | 2 +- .../org/springframework/data/test/util/ClassPathExclusions.java | 2 +- .../data/test/util/ClassPathExclusionsExtension.java | 2 +- .../data/test/util/PackageExcludingClassLoader.java | 2 +- .../data/transaction/ChainedTransactionManagerTests.java | 2 +- .../classreading/DefaultMethodsMetadataReaderUnitTests.java | 2 +- .../classreading/MethodsMetadataReaderFactoryUnitTests.java | 2 +- .../java/org/springframework/data/util/AbstractAuditable.java | 2 +- src/test/java/org/springframework/data/util/Animal.java | 2 +- .../data/util/AnnotatedTypeScannerUnitTests.java | 2 +- .../data/util/AnnotationDetectionFieldCallbackUnitTests.java | 2 +- .../data/util/AnnotationDetectionMethodCallbackUnitTests.java | 2 +- .../java/org/springframework/data/util/BeanLookupUnitTests.java | 2 +- .../data/util/ClassTypeInformationUnitTests.java | 2 +- .../springframework/data/util/CloseableIteratorUnitTests.java | 2 +- .../springframework/data/util/CustomCollectionsUnitTests.java | 2 +- .../java/org/springframework/data/util/DataCmns511Tests.java | 2 +- .../util/DirectFieldAccessFallbackBeanWrapperUnitTests.java | 2 +- .../data/util/KotlinReflectionUtilsUnitTests.java | 2 +- src/test/java/org/springframework/data/util/LazyUnitTests.java | 2 +- src/test/java/org/springframework/data/util/LockUnitTests.java | 2 +- .../data/util/MethodInvocationRecorderUnitTests.java | 2 +- .../org/springframework/data/util/NullableUtilsUnitTests.java | 2 +- .../data/util/NullableWrapperConvertersUnitTests.java | 2 +- src/test/java/org/springframework/data/util/PairUnitTests.java | 2 +- .../org/springframework/data/util/ParameterTypesUnitTests.java | 2 +- .../org/springframework/data/util/ParsingUtilsUnitTests.java | 2 +- .../java/org/springframework/data/util/ProxyUtilsUnitTests.java | 2 +- .../springframework/data/util/QTypeContributorUnitTests.java | 2 +- .../springframework/data/util/ReactiveWrappersUnitTests.java | 2 +- .../org/springframework/data/util/ReflectionUtilsUnitTests.java | 2 +- .../java/org/springframework/data/util/StreamUtilsTests.java | 2 +- .../java/org/springframework/data/util/StreamableUnitTests.java | 2 +- .../org/springframework/data/util/TypeDiscovererUnitTests.java | 2 +- .../org/springframework/data/util/TypeScannerUnitTests.java | 2 +- .../java/org/springframework/data/util/VersionUnitTests.java | 2 +- .../data/util/nonnull/NullableAnnotatedType.java | 2 +- .../data/util/nonnull/packagelevel/NonNullOnPackage.java | 2 +- .../data/util/nonnull/type/CustomAnnotatedType.java | 2 +- .../data/util/nonnull/type/CustomNonNullAnnotation.java | 2 +- .../data/util/nonnull/type/Jsr305NonnullAnnotatedType.java | 2 +- .../data/util/nonnull/type/NonAnnotatedType.java | 2 +- .../data/util/nonnull/type/NonNullableParameters.java | 2 +- .../HateoasPageableHandlerMethodArgumentResolverUnitTests.java | 2 +- .../web/HateoasSortHandlerMethodArgumentResolverUnitTests.java | 2 +- .../web/JsonProjectingMethodInterceptorFactoryUnitTests.java | 2 +- .../org/springframework/data/web/MapDataBinderUnitTests.java | 2 +- ...setScrollPositionHandlerMethodArgumentResolverUnitTests.java | 2 +- .../data/web/PageImplJsonSerializationUnitTests.java | 2 +- .../org/springframework/data/web/PageableDefaultUnitTests.java | 2 +- .../web/PageableHandlerMethodArgumentResolverUnitTests.java | 2 +- .../web/PagedResourcesAssemblerArgumentResolverUnitTests.java | 2 +- .../data/web/PagedResourcesAssemblerUnitTests.java | 2 +- .../web/ProjectingJackson2HttpMessageConverterUnitTests.java | 2 +- .../web/ProxyingHandlerMethodArgumentResolverUnitTests.java | 2 +- ...setScrollPositionHandlerMethodArgumentResolverUnitTests.java | 2 +- .../ReactivePageableHandlerMethodArgumentResolverUnitTests.java | 2 +- .../web/ReactiveSortHandlerMethodArgumentResolverUnitTests.java | 2 +- .../web/SlicedResourcesAssemblerArgumentResolverUnitTest.java | 2 +- .../data/web/SlicedResourcesAssemblerUnitTest.java | 2 +- .../java/org/springframework/data/web/SortDefaultUnitTests.java | 2 +- .../data/web/SortHandlerMethodArgumentResolverUnitTests.java | 2 +- src/test/java/org/springframework/data/web/TestQualifier.java | 2 +- src/test/java/org/springframework/data/web/TestUtils.java | 2 +- src/test/java/org/springframework/data/web/WebTestUtils.java | 2 +- .../data/web/XmlBeamHttpMessageConverterUnitTests.java | 2 +- .../springframework/data/web/aot/WebRuntimeHintsUnitTests.java | 2 +- .../web/config/EnableSpringDataWebSupportIntegrationTests.java | 2 +- .../springframework/data/web/config/PageSampleController.java | 2 +- .../web/config/PageableResourcesAssemblerIntegrationTests.java | 2 +- .../org/springframework/data/web/config/SampleController.java | 2 +- .../java/org/springframework/data/web/config/SampleMixin.java | 2 +- .../web/config/SpringDataWebConfigurationIntegrationTests.java | 2 +- .../querydsl/QuerydslPredicateArgumentResolverUnitTests.java | 2 +- .../ReactiveQuerydslPredicateArgumentResolverUnitTests.java | 2 +- .../org/springframework/data/mapping/KPropertyPathTests.kt | 2 +- .../org/springframework/data/mapping/context/SimpleDataClass.kt | 2 +- .../data/mapping/context/TypeCreatingSyntheticClass.kt | 2 +- .../org/springframework/data/mapping/model/DataClasses.kt | 2 +- .../org/springframework/data/mapping/model/InlineClasses.kt | 2 +- .../model/KotlinClassGeneratingEntityInstantiatorUnitTests.kt | 2 +- .../data/mapping/model/KotlinValueUtilsUnitTests.kt | 2 +- .../mapping/model/PreferredConstructorDiscovererUnitTests.kt | 2 +- .../model/ReflectionEntityInstantiatorDataClassUnitTests.kt | 2 +- .../model/ReflectionEntityInstantiatorInlineClassUnitTests.kt | 2 +- .../data/mapping/model/TypeCreatingSyntheticClass.kt | 2 +- .../org/springframework/data/mapping/model/UnusedCustomCopy.kt | 2 +- .../org/springframework/data/mapping/model/ValueClassKt.kt | 2 +- .../kotlin/org/springframework/data/mapping/model/With32Args.kt | 2 +- .../kotlin/org/springframework/data/mapping/model/With33Args.kt | 2 +- .../org/springframework/data/projection/WithIsNamedProperty.kt | 2 +- .../data/repository/CrudRepositoryExtensionsTests.kt | 2 +- .../core/support/CoroutineRepositoryMetadataUnitTests.kt | 2 +- .../data/repository/core/support/KotlinUserRepository.kt | 2 +- .../CoroutineCrudRepositoryCustomImplementationUnitTests.kt | 2 +- .../data/repository/kotlin/CoroutineCrudRepositoryUnitTests.kt | 2 +- .../repository/kotlin/CoroutineRepositoryMetadataUnitTests.kt | 2 +- .../data/repository/query/KParameterUnitTests.kt | 2 +- src/test/kotlin/org/springframework/data/util/DummyInterface.kt | 2 +- .../org/springframework/data/util/InlineClassWithProperty.kt | 2 +- .../springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt | 2 +- .../org/springframework/data/util/TypeCreatingSyntheticClass.kt | 2 +- 970 files changed, 970 insertions(+), 970 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/index.adoc b/src/main/antora/modules/ROOT/pages/index.adoc index e617c82004..1427c06d2f 100644 --- a/src/main/antora/modules/ROOT/pages/index.adoc +++ b/src/main/antora/modules/ROOT/pages/index.adoc @@ -5,7 +5,7 @@ Oliver Gierke; Thomas Darimont; Christoph Strobl; Mark Pollack; Thomas Risberg; :revdate: {localdate} :feature-scroll: true -(C) 2008-2024 The original authors. +(C) 2008-2025 The original authors. NOTE: Copies of this document may be made for your own use and for distribution to others, provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice, whether distributed in print or electronically. diff --git a/src/main/java/org/springframework/data/annotation/AccessType.java b/src/main/java/org/springframework/data/annotation/AccessType.java index 53d97b65ee..dc9f2d60f0 100644 --- a/src/main/java/org/springframework/data/annotation/AccessType.java +++ b/src/main/java/org/springframework/data/annotation/AccessType.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/CreatedBy.java b/src/main/java/org/springframework/data/annotation/CreatedBy.java index 60378bd5a0..4605da8e6b 100644 --- a/src/main/java/org/springframework/data/annotation/CreatedBy.java +++ b/src/main/java/org/springframework/data/annotation/CreatedBy.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/CreatedDate.java b/src/main/java/org/springframework/data/annotation/CreatedDate.java index 48a71aab0d..39891e40e7 100644 --- a/src/main/java/org/springframework/data/annotation/CreatedDate.java +++ b/src/main/java/org/springframework/data/annotation/CreatedDate.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/Id.java b/src/main/java/org/springframework/data/annotation/Id.java index 40426dbc79..cc63721212 100644 --- a/src/main/java/org/springframework/data/annotation/Id.java +++ b/src/main/java/org/springframework/data/annotation/Id.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/Immutable.java b/src/main/java/org/springframework/data/annotation/Immutable.java index 587f9d9803..c5f198b0e8 100644 --- a/src/main/java/org/springframework/data/annotation/Immutable.java +++ b/src/main/java/org/springframework/data/annotation/Immutable.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/LastModifiedBy.java b/src/main/java/org/springframework/data/annotation/LastModifiedBy.java index c3394a28c5..7e47bb7a8a 100644 --- a/src/main/java/org/springframework/data/annotation/LastModifiedBy.java +++ b/src/main/java/org/springframework/data/annotation/LastModifiedBy.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/LastModifiedDate.java b/src/main/java/org/springframework/data/annotation/LastModifiedDate.java index 345fcfbc2b..7318f65cba 100644 --- a/src/main/java/org/springframework/data/annotation/LastModifiedDate.java +++ b/src/main/java/org/springframework/data/annotation/LastModifiedDate.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/PersistenceConstructor.java b/src/main/java/org/springframework/data/annotation/PersistenceConstructor.java index b7a7549b34..cb36e7d117 100644 --- a/src/main/java/org/springframework/data/annotation/PersistenceConstructor.java +++ b/src/main/java/org/springframework/data/annotation/PersistenceConstructor.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/PersistenceCreator.java b/src/main/java/org/springframework/data/annotation/PersistenceCreator.java index 53616aec42..3aa011a7b0 100644 --- a/src/main/java/org/springframework/data/annotation/PersistenceCreator.java +++ b/src/main/java/org/springframework/data/annotation/PersistenceCreator.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/Persistent.java b/src/main/java/org/springframework/data/annotation/Persistent.java index 9a09a30453..609a897964 100644 --- a/src/main/java/org/springframework/data/annotation/Persistent.java +++ b/src/main/java/org/springframework/data/annotation/Persistent.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/QueryAnnotation.java b/src/main/java/org/springframework/data/annotation/QueryAnnotation.java index 3d60342232..7fa9603328 100644 --- a/src/main/java/org/springframework/data/annotation/QueryAnnotation.java +++ b/src/main/java/org/springframework/data/annotation/QueryAnnotation.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/ReadOnlyProperty.java b/src/main/java/org/springframework/data/annotation/ReadOnlyProperty.java index 03991ae26b..02679abc1f 100644 --- a/src/main/java/org/springframework/data/annotation/ReadOnlyProperty.java +++ b/src/main/java/org/springframework/data/annotation/ReadOnlyProperty.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/Reference.java b/src/main/java/org/springframework/data/annotation/Reference.java index d29d86b615..d03d78e795 100644 --- a/src/main/java/org/springframework/data/annotation/Reference.java +++ b/src/main/java/org/springframework/data/annotation/Reference.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/Transient.java b/src/main/java/org/springframework/data/annotation/Transient.java index 90b2a398d5..4adb1869da 100644 --- a/src/main/java/org/springframework/data/annotation/Transient.java +++ b/src/main/java/org/springframework/data/annotation/Transient.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/TypeAlias.java b/src/main/java/org/springframework/data/annotation/TypeAlias.java index 782ac9c1e1..eda8dbc971 100644 --- a/src/main/java/org/springframework/data/annotation/TypeAlias.java +++ b/src/main/java/org/springframework/data/annotation/TypeAlias.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/annotation/Version.java b/src/main/java/org/springframework/data/annotation/Version.java index 45b3fbc485..f82effd723 100644 --- a/src/main/java/org/springframework/data/annotation/Version.java +++ b/src/main/java/org/springframework/data/annotation/Version.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/aot/AotContext.java b/src/main/java/org/springframework/data/aot/AotContext.java index 6e55a3bcdf..f6df3d1dc3 100644 --- a/src/main/java/org/springframework/data/aot/AotContext.java +++ b/src/main/java/org/springframework/data/aot/AotContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/aot/AuditingBeanRegistrationAotProcessor.java b/src/main/java/org/springframework/data/aot/AuditingBeanRegistrationAotProcessor.java index cfcce1126a..38bbca2dd0 100644 --- a/src/main/java/org/springframework/data/aot/AuditingBeanRegistrationAotProcessor.java +++ b/src/main/java/org/springframework/data/aot/AuditingBeanRegistrationAotProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/aot/DefaultAotContext.java b/src/main/java/org/springframework/data/aot/DefaultAotContext.java index 03649f5017..7c67e41c36 100644 --- a/src/main/java/org/springframework/data/aot/DefaultAotContext.java +++ b/src/main/java/org/springframework/data/aot/DefaultAotContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/aot/ManagedTypesBeanFactoryInitializationAotProcessor.java b/src/main/java/org/springframework/data/aot/ManagedTypesBeanFactoryInitializationAotProcessor.java index 7e3689c4ac..f057cedb6f 100644 --- a/src/main/java/org/springframework/data/aot/ManagedTypesBeanFactoryInitializationAotProcessor.java +++ b/src/main/java/org/springframework/data/aot/ManagedTypesBeanFactoryInitializationAotProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/aot/ManagedTypesBeanRegistrationAotProcessor.java b/src/main/java/org/springframework/data/aot/ManagedTypesBeanRegistrationAotProcessor.java index 72451b862b..5461e57c2d 100644 --- a/src/main/java/org/springframework/data/aot/ManagedTypesBeanRegistrationAotProcessor.java +++ b/src/main/java/org/springframework/data/aot/ManagedTypesBeanRegistrationAotProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/aot/ManagedTypesRegistrationAotContribution.java b/src/main/java/org/springframework/data/aot/ManagedTypesRegistrationAotContribution.java index 4b800afc51..c347f17b7c 100644 --- a/src/main/java/org/springframework/data/aot/ManagedTypesRegistrationAotContribution.java +++ b/src/main/java/org/springframework/data/aot/ManagedTypesRegistrationAotContribution.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/aot/PublicMethodReflectiveProcessor.java b/src/main/java/org/springframework/data/aot/PublicMethodReflectiveProcessor.java index d4384f506c..316913d328 100644 --- a/src/main/java/org/springframework/data/aot/PublicMethodReflectiveProcessor.java +++ b/src/main/java/org/springframework/data/aot/PublicMethodReflectiveProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/aot/RegisteredBeanAotContribution.java b/src/main/java/org/springframework/data/aot/RegisteredBeanAotContribution.java index fb964ee3a8..a121c8c90d 100644 --- a/src/main/java/org/springframework/data/aot/RegisteredBeanAotContribution.java +++ b/src/main/java/org/springframework/data/aot/RegisteredBeanAotContribution.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/AnnotationAuditingMetadata.java b/src/main/java/org/springframework/data/auditing/AnnotationAuditingMetadata.java index ac580b1d82..6e723f1118 100644 --- a/src/main/java/org/springframework/data/auditing/AnnotationAuditingMetadata.java +++ b/src/main/java/org/springframework/data/auditing/AnnotationAuditingMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/AuditableBeanWrapper.java b/src/main/java/org/springframework/data/auditing/AuditableBeanWrapper.java index 5be682e9e8..768bc61866 100644 --- a/src/main/java/org/springframework/data/auditing/AuditableBeanWrapper.java +++ b/src/main/java/org/springframework/data/auditing/AuditableBeanWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/AuditableBeanWrapperFactory.java b/src/main/java/org/springframework/data/auditing/AuditableBeanWrapperFactory.java index 5d21a48b32..d7d80846fc 100644 --- a/src/main/java/org/springframework/data/auditing/AuditableBeanWrapperFactory.java +++ b/src/main/java/org/springframework/data/auditing/AuditableBeanWrapperFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/AuditingHandler.java b/src/main/java/org/springframework/data/auditing/AuditingHandler.java index 91f7fd3ef1..b3f2d607c0 100644 --- a/src/main/java/org/springframework/data/auditing/AuditingHandler.java +++ b/src/main/java/org/springframework/data/auditing/AuditingHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/AuditingHandlerSupport.java b/src/main/java/org/springframework/data/auditing/AuditingHandlerSupport.java index 489a2e6457..02203144d0 100644 --- a/src/main/java/org/springframework/data/auditing/AuditingHandlerSupport.java +++ b/src/main/java/org/springframework/data/auditing/AuditingHandlerSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/Auditor.java b/src/main/java/org/springframework/data/auditing/Auditor.java index 2c6f775e6d..404c93f85f 100644 --- a/src/main/java/org/springframework/data/auditing/Auditor.java +++ b/src/main/java/org/springframework/data/auditing/Auditor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/CurrentDateTimeProvider.java b/src/main/java/org/springframework/data/auditing/CurrentDateTimeProvider.java index 67315d36c2..5c79bd3642 100644 --- a/src/main/java/org/springframework/data/auditing/CurrentDateTimeProvider.java +++ b/src/main/java/org/springframework/data/auditing/CurrentDateTimeProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/DateTimeProvider.java b/src/main/java/org/springframework/data/auditing/DateTimeProvider.java index fa5df32fa6..25d1cf5c6b 100644 --- a/src/main/java/org/springframework/data/auditing/DateTimeProvider.java +++ b/src/main/java/org/springframework/data/auditing/DateTimeProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/DefaultAuditableBeanWrapperFactory.java b/src/main/java/org/springframework/data/auditing/DefaultAuditableBeanWrapperFactory.java index d838d6ba6b..53d055354e 100644 --- a/src/main/java/org/springframework/data/auditing/DefaultAuditableBeanWrapperFactory.java +++ b/src/main/java/org/springframework/data/auditing/DefaultAuditableBeanWrapperFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/IsNewAwareAuditingHandler.java b/src/main/java/org/springframework/data/auditing/IsNewAwareAuditingHandler.java index 974b1cd305..42a6e9ef40 100644 --- a/src/main/java/org/springframework/data/auditing/IsNewAwareAuditingHandler.java +++ b/src/main/java/org/springframework/data/auditing/IsNewAwareAuditingHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/MappingAuditableBeanWrapperFactory.java b/src/main/java/org/springframework/data/auditing/MappingAuditableBeanWrapperFactory.java index 82d73d1610..fad7718b5a 100644 --- a/src/main/java/org/springframework/data/auditing/MappingAuditableBeanWrapperFactory.java +++ b/src/main/java/org/springframework/data/auditing/MappingAuditableBeanWrapperFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/ReactiveAuditingHandler.java b/src/main/java/org/springframework/data/auditing/ReactiveAuditingHandler.java index 93767ca2c2..6b2b7da58f 100644 --- a/src/main/java/org/springframework/data/auditing/ReactiveAuditingHandler.java +++ b/src/main/java/org/springframework/data/auditing/ReactiveAuditingHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/ReactiveIsNewAwareAuditingHandler.java b/src/main/java/org/springframework/data/auditing/ReactiveIsNewAwareAuditingHandler.java index 9903cb4e33..fe7e3641f8 100644 --- a/src/main/java/org/springframework/data/auditing/ReactiveIsNewAwareAuditingHandler.java +++ b/src/main/java/org/springframework/data/auditing/ReactiveIsNewAwareAuditingHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/config/AnnotationAuditingConfiguration.java b/src/main/java/org/springframework/data/auditing/config/AnnotationAuditingConfiguration.java index 221cb0a66e..4120e046fd 100644 --- a/src/main/java/org/springframework/data/auditing/config/AnnotationAuditingConfiguration.java +++ b/src/main/java/org/springframework/data/auditing/config/AnnotationAuditingConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupport.java b/src/main/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupport.java index c5dc3afed7..a22983af8c 100644 --- a/src/main/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupport.java +++ b/src/main/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/config/AuditingConfiguration.java b/src/main/java/org/springframework/data/auditing/config/AuditingConfiguration.java index b839c201c9..389c3fd434 100644 --- a/src/main/java/org/springframework/data/auditing/config/AuditingConfiguration.java +++ b/src/main/java/org/springframework/data/auditing/config/AuditingConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/config/AuditingHandlerBeanDefinitionParser.java b/src/main/java/org/springframework/data/auditing/config/AuditingHandlerBeanDefinitionParser.java index 7e89666dd2..c6f5880f83 100644 --- a/src/main/java/org/springframework/data/auditing/config/AuditingHandlerBeanDefinitionParser.java +++ b/src/main/java/org/springframework/data/auditing/config/AuditingHandlerBeanDefinitionParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/auditing/config/IsNewAwareAuditingHandlerBeanDefinitionParser.java b/src/main/java/org/springframework/data/auditing/config/IsNewAwareAuditingHandlerBeanDefinitionParser.java index f0aa4e8a3d..ca97ee5046 100644 --- a/src/main/java/org/springframework/data/auditing/config/IsNewAwareAuditingHandlerBeanDefinitionParser.java +++ b/src/main/java/org/springframework/data/auditing/config/IsNewAwareAuditingHandlerBeanDefinitionParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/config/BeanComponentDefinitionBuilder.java b/src/main/java/org/springframework/data/config/BeanComponentDefinitionBuilder.java index 661d7dacd1..8f461c1dc1 100644 --- a/src/main/java/org/springframework/data/config/BeanComponentDefinitionBuilder.java +++ b/src/main/java/org/springframework/data/config/BeanComponentDefinitionBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/config/ConfigurationUtils.java b/src/main/java/org/springframework/data/config/ConfigurationUtils.java index e737894033..99ff5e4e38 100644 --- a/src/main/java/org/springframework/data/config/ConfigurationUtils.java +++ b/src/main/java/org/springframework/data/config/ConfigurationUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/config/ParsingUtils.java b/src/main/java/org/springframework/data/config/ParsingUtils.java index 00e1a419e2..68729070a1 100644 --- a/src/main/java/org/springframework/data/config/ParsingUtils.java +++ b/src/main/java/org/springframework/data/config/ParsingUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/config/TypeFilterParser.java b/src/main/java/org/springframework/data/config/TypeFilterParser.java index b9926b14d5..2e56ee0a1c 100644 --- a/src/main/java/org/springframework/data/config/TypeFilterParser.java +++ b/src/main/java/org/springframework/data/config/TypeFilterParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 the original author or authors. + * Copyright 2010-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/AnnotatedPropertyValueConverterAccessor.java b/src/main/java/org/springframework/data/convert/AnnotatedPropertyValueConverterAccessor.java index d5460cf021..5539dcfc6e 100644 --- a/src/main/java/org/springframework/data/convert/AnnotatedPropertyValueConverterAccessor.java +++ b/src/main/java/org/springframework/data/convert/AnnotatedPropertyValueConverterAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/ConfigurableTypeInformationMapper.java b/src/main/java/org/springframework/data/convert/ConfigurableTypeInformationMapper.java index 0c61afa76c..f453ee2f84 100644 --- a/src/main/java/org/springframework/data/convert/ConfigurableTypeInformationMapper.java +++ b/src/main/java/org/springframework/data/convert/ConfigurableTypeInformationMapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/ConverterBuilder.java b/src/main/java/org/springframework/data/convert/ConverterBuilder.java index 8aa2763b82..0119827c05 100644 --- a/src/main/java/org/springframework/data/convert/ConverterBuilder.java +++ b/src/main/java/org/springframework/data/convert/ConverterBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/CustomConversions.java b/src/main/java/org/springframework/data/convert/CustomConversions.java index 45d70fe812..7f3575c535 100644 --- a/src/main/java/org/springframework/data/convert/CustomConversions.java +++ b/src/main/java/org/springframework/data/convert/CustomConversions.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/DefaultConverterBuilder.java b/src/main/java/org/springframework/data/convert/DefaultConverterBuilder.java index bb09323529..f421699ad1 100644 --- a/src/main/java/org/springframework/data/convert/DefaultConverterBuilder.java +++ b/src/main/java/org/springframework/data/convert/DefaultConverterBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/DefaultTypeMapper.java b/src/main/java/org/springframework/data/convert/DefaultTypeMapper.java index 35dec3f555..4a6f2b0ba6 100644 --- a/src/main/java/org/springframework/data/convert/DefaultTypeMapper.java +++ b/src/main/java/org/springframework/data/convert/DefaultTypeMapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/DtoInstantiatingConverter.java b/src/main/java/org/springframework/data/convert/DtoInstantiatingConverter.java index 103d36c18c..fcc3e66312 100644 --- a/src/main/java/org/springframework/data/convert/DtoInstantiatingConverter.java +++ b/src/main/java/org/springframework/data/convert/DtoInstantiatingConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/EntityConverter.java b/src/main/java/org/springframework/data/convert/EntityConverter.java index 0b980ce911..d368b370cf 100644 --- a/src/main/java/org/springframework/data/convert/EntityConverter.java +++ b/src/main/java/org/springframework/data/convert/EntityConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/EntityReader.java b/src/main/java/org/springframework/data/convert/EntityReader.java index 2b47906623..354e9ae84e 100644 --- a/src/main/java/org/springframework/data/convert/EntityReader.java +++ b/src/main/java/org/springframework/data/convert/EntityReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/EntityWriter.java b/src/main/java/org/springframework/data/convert/EntityWriter.java index b34f77f933..d6380924b4 100644 --- a/src/main/java/org/springframework/data/convert/EntityWriter.java +++ b/src/main/java/org/springframework/data/convert/EntityWriter.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/JMoleculesConverters.java b/src/main/java/org/springframework/data/convert/JMoleculesConverters.java index 88c18391d5..df5ce1a5b9 100644 --- a/src/main/java/org/springframework/data/convert/JMoleculesConverters.java +++ b/src/main/java/org/springframework/data/convert/JMoleculesConverters.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/Jsr310Converters.java b/src/main/java/org/springframework/data/convert/Jsr310Converters.java index 5ae730a82a..2e393ba006 100644 --- a/src/main/java/org/springframework/data/convert/Jsr310Converters.java +++ b/src/main/java/org/springframework/data/convert/Jsr310Converters.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/MappingContextTypeInformationMapper.java b/src/main/java/org/springframework/data/convert/MappingContextTypeInformationMapper.java index 7cddcc1ffa..72249a5e42 100644 --- a/src/main/java/org/springframework/data/convert/MappingContextTypeInformationMapper.java +++ b/src/main/java/org/springframework/data/convert/MappingContextTypeInformationMapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/PropertyValueConversionService.java b/src/main/java/org/springframework/data/convert/PropertyValueConversionService.java index 8ca61922c9..ba8ab6c8d9 100644 --- a/src/main/java/org/springframework/data/convert/PropertyValueConversionService.java +++ b/src/main/java/org/springframework/data/convert/PropertyValueConversionService.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/PropertyValueConversions.java b/src/main/java/org/springframework/data/convert/PropertyValueConversions.java index 4e8cb37a6c..3f83f4fea7 100644 --- a/src/main/java/org/springframework/data/convert/PropertyValueConversions.java +++ b/src/main/java/org/springframework/data/convert/PropertyValueConversions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/PropertyValueConverter.java b/src/main/java/org/springframework/data/convert/PropertyValueConverter.java index 0b04dcdd7a..e1e0c5c6ac 100644 --- a/src/main/java/org/springframework/data/convert/PropertyValueConverter.java +++ b/src/main/java/org/springframework/data/convert/PropertyValueConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/PropertyValueConverterFactories.java b/src/main/java/org/springframework/data/convert/PropertyValueConverterFactories.java index 1705cd118a..cc2a18548d 100644 --- a/src/main/java/org/springframework/data/convert/PropertyValueConverterFactories.java +++ b/src/main/java/org/springframework/data/convert/PropertyValueConverterFactories.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/PropertyValueConverterFactory.java b/src/main/java/org/springframework/data/convert/PropertyValueConverterFactory.java index 00f5661d70..b5df138a28 100644 --- a/src/main/java/org/springframework/data/convert/PropertyValueConverterFactory.java +++ b/src/main/java/org/springframework/data/convert/PropertyValueConverterFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/PropertyValueConverterRegistrar.java b/src/main/java/org/springframework/data/convert/PropertyValueConverterRegistrar.java index a63e455bd1..f67e1f2642 100644 --- a/src/main/java/org/springframework/data/convert/PropertyValueConverterRegistrar.java +++ b/src/main/java/org/springframework/data/convert/PropertyValueConverterRegistrar.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/ReadingConverter.java b/src/main/java/org/springframework/data/convert/ReadingConverter.java index 0603d71d35..0e628adc28 100644 --- a/src/main/java/org/springframework/data/convert/ReadingConverter.java +++ b/src/main/java/org/springframework/data/convert/ReadingConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java b/src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java index c4942cf2d5..1522eabde9 100644 --- a/src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java +++ b/src/main/java/org/springframework/data/convert/SimplePropertyValueConversions.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/SimplePropertyValueConverterRegistry.java b/src/main/java/org/springframework/data/convert/SimplePropertyValueConverterRegistry.java index 49f31d2f84..53e86ae1d0 100644 --- a/src/main/java/org/springframework/data/convert/SimplePropertyValueConverterRegistry.java +++ b/src/main/java/org/springframework/data/convert/SimplePropertyValueConverterRegistry.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/SimpleTypeInformationMapper.java b/src/main/java/org/springframework/data/convert/SimpleTypeInformationMapper.java index 853554b383..2132ba702e 100644 --- a/src/main/java/org/springframework/data/convert/SimpleTypeInformationMapper.java +++ b/src/main/java/org/springframework/data/convert/SimpleTypeInformationMapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/TypeAliasAccessor.java b/src/main/java/org/springframework/data/convert/TypeAliasAccessor.java index 04ea9f5037..0f6fc2c9f1 100644 --- a/src/main/java/org/springframework/data/convert/TypeAliasAccessor.java +++ b/src/main/java/org/springframework/data/convert/TypeAliasAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/TypeInformationMapper.java b/src/main/java/org/springframework/data/convert/TypeInformationMapper.java index a75af6b7b2..cdc4666403 100644 --- a/src/main/java/org/springframework/data/convert/TypeInformationMapper.java +++ b/src/main/java/org/springframework/data/convert/TypeInformationMapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/TypeMapper.java b/src/main/java/org/springframework/data/convert/TypeMapper.java index 92ba5faaf3..9f4c66db1b 100644 --- a/src/main/java/org/springframework/data/convert/TypeMapper.java +++ b/src/main/java/org/springframework/data/convert/TypeMapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/ValueConversionContext.java b/src/main/java/org/springframework/data/convert/ValueConversionContext.java index 03da4170d2..1d51117469 100644 --- a/src/main/java/org/springframework/data/convert/ValueConversionContext.java +++ b/src/main/java/org/springframework/data/convert/ValueConversionContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/ValueConverter.java b/src/main/java/org/springframework/data/convert/ValueConverter.java index 61d79dd9fe..07dfac9c75 100644 --- a/src/main/java/org/springframework/data/convert/ValueConverter.java +++ b/src/main/java/org/springframework/data/convert/ValueConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/ValueConverterRegistry.java b/src/main/java/org/springframework/data/convert/ValueConverterRegistry.java index fa754f1066..09822f6945 100644 --- a/src/main/java/org/springframework/data/convert/ValueConverterRegistry.java +++ b/src/main/java/org/springframework/data/convert/ValueConverterRegistry.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/convert/WritingConverter.java b/src/main/java/org/springframework/data/convert/WritingConverter.java index 3a53f2015f..5d598580f3 100644 --- a/src/main/java/org/springframework/data/convert/WritingConverter.java +++ b/src/main/java/org/springframework/data/convert/WritingConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/crossstore/ChangeSet.java b/src/main/java/org/springframework/data/crossstore/ChangeSet.java index edae328e99..dcd6a52d76 100644 --- a/src/main/java/org/springframework/data/crossstore/ChangeSet.java +++ b/src/main/java/org/springframework/data/crossstore/ChangeSet.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/crossstore/ChangeSetBacked.java b/src/main/java/org/springframework/data/crossstore/ChangeSetBacked.java index 729365c2d3..8278743c33 100644 --- a/src/main/java/org/springframework/data/crossstore/ChangeSetBacked.java +++ b/src/main/java/org/springframework/data/crossstore/ChangeSetBacked.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/crossstore/ChangeSetBackedTransactionSynchronization.java b/src/main/java/org/springframework/data/crossstore/ChangeSetBackedTransactionSynchronization.java index 8c5110e6d6..79b69224b5 100644 --- a/src/main/java/org/springframework/data/crossstore/ChangeSetBackedTransactionSynchronization.java +++ b/src/main/java/org/springframework/data/crossstore/ChangeSetBackedTransactionSynchronization.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/crossstore/ChangeSetPersister.java b/src/main/java/org/springframework/data/crossstore/ChangeSetPersister.java index 10d0a547bb..515ce2f7da 100644 --- a/src/main/java/org/springframework/data/crossstore/ChangeSetPersister.java +++ b/src/main/java/org/springframework/data/crossstore/ChangeSetPersister.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/AbstractAggregateRoot.java b/src/main/java/org/springframework/data/domain/AbstractAggregateRoot.java index 46ddd2545c..48def3fe2a 100644 --- a/src/main/java/org/springframework/data/domain/AbstractAggregateRoot.java +++ b/src/main/java/org/springframework/data/domain/AbstractAggregateRoot.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/AbstractPageRequest.java b/src/main/java/org/springframework/data/domain/AbstractPageRequest.java index 29de4bb355..9767e22885 100644 --- a/src/main/java/org/springframework/data/domain/AbstractPageRequest.java +++ b/src/main/java/org/springframework/data/domain/AbstractPageRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/AfterDomainEventPublication.java b/src/main/java/org/springframework/data/domain/AfterDomainEventPublication.java index af5a3e7c86..ebc2e4bcf1 100644 --- a/src/main/java/org/springframework/data/domain/AfterDomainEventPublication.java +++ b/src/main/java/org/springframework/data/domain/AfterDomainEventPublication.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Auditable.java b/src/main/java/org/springframework/data/domain/Auditable.java index c54e811c43..09dd71644b 100644 --- a/src/main/java/org/springframework/data/domain/Auditable.java +++ b/src/main/java/org/springframework/data/domain/Auditable.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/AuditorAware.java b/src/main/java/org/springframework/data/domain/AuditorAware.java index 05f3bc6e8a..2554d32e6a 100644 --- a/src/main/java/org/springframework/data/domain/AuditorAware.java +++ b/src/main/java/org/springframework/data/domain/AuditorAware.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Chunk.java b/src/main/java/org/springframework/data/domain/Chunk.java index 73f6c637c2..746922c21f 100644 --- a/src/main/java/org/springframework/data/domain/Chunk.java +++ b/src/main/java/org/springframework/data/domain/Chunk.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/DomainEvents.java b/src/main/java/org/springframework/data/domain/DomainEvents.java index ad115975ca..16b06e6181 100644 --- a/src/main/java/org/springframework/data/domain/DomainEvents.java +++ b/src/main/java/org/springframework/data/domain/DomainEvents.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Example.java b/src/main/java/org/springframework/data/domain/Example.java index 82bc30fa7a..1d384f6df8 100644 --- a/src/main/java/org/springframework/data/domain/Example.java +++ b/src/main/java/org/springframework/data/domain/Example.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/ExampleMatcher.java b/src/main/java/org/springframework/data/domain/ExampleMatcher.java index f152db25cc..fa477ef656 100644 --- a/src/main/java/org/springframework/data/domain/ExampleMatcher.java +++ b/src/main/java/org/springframework/data/domain/ExampleMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/KeysetScrollPosition.java b/src/main/java/org/springframework/data/domain/KeysetScrollPosition.java index 2750dec0ff..3e8b14c7dc 100644 --- a/src/main/java/org/springframework/data/domain/KeysetScrollPosition.java +++ b/src/main/java/org/springframework/data/domain/KeysetScrollPosition.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Limit.java b/src/main/java/org/springframework/data/domain/Limit.java index 662c9904b6..bddcc6b359 100644 --- a/src/main/java/org/springframework/data/domain/Limit.java +++ b/src/main/java/org/springframework/data/domain/Limit.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/ManagedTypes.java b/src/main/java/org/springframework/data/domain/ManagedTypes.java index 49d642caa0..17236b3ebc 100644 --- a/src/main/java/org/springframework/data/domain/ManagedTypes.java +++ b/src/main/java/org/springframework/data/domain/ManagedTypes.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/OffsetScrollPosition.java b/src/main/java/org/springframework/data/domain/OffsetScrollPosition.java index 2269f39d3f..a2f106d769 100644 --- a/src/main/java/org/springframework/data/domain/OffsetScrollPosition.java +++ b/src/main/java/org/springframework/data/domain/OffsetScrollPosition.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Page.java b/src/main/java/org/springframework/data/domain/Page.java index a4f5cf17ec..0d632cece1 100644 --- a/src/main/java/org/springframework/data/domain/Page.java +++ b/src/main/java/org/springframework/data/domain/Page.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/PageImpl.java b/src/main/java/org/springframework/data/domain/PageImpl.java index ca3595a28c..078c6a6b5f 100644 --- a/src/main/java/org/springframework/data/domain/PageImpl.java +++ b/src/main/java/org/springframework/data/domain/PageImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/PageRequest.java b/src/main/java/org/springframework/data/domain/PageRequest.java index 23bfbb6131..4502f83055 100644 --- a/src/main/java/org/springframework/data/domain/PageRequest.java +++ b/src/main/java/org/springframework/data/domain/PageRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Pageable.java b/src/main/java/org/springframework/data/domain/Pageable.java index f84b7822aa..66f4b6d32c 100644 --- a/src/main/java/org/springframework/data/domain/Pageable.java +++ b/src/main/java/org/springframework/data/domain/Pageable.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Persistable.java b/src/main/java/org/springframework/data/domain/Persistable.java index c7cc2ca506..641b8ccdb9 100644 --- a/src/main/java/org/springframework/data/domain/Persistable.java +++ b/src/main/java/org/springframework/data/domain/Persistable.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Range.java b/src/main/java/org/springframework/data/domain/Range.java index e34789f5e1..2146ebe650 100644 --- a/src/main/java/org/springframework/data/domain/Range.java +++ b/src/main/java/org/springframework/data/domain/Range.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/ReactiveAuditorAware.java b/src/main/java/org/springframework/data/domain/ReactiveAuditorAware.java index ccd8c52bf6..0392bda7c0 100644 --- a/src/main/java/org/springframework/data/domain/ReactiveAuditorAware.java +++ b/src/main/java/org/springframework/data/domain/ReactiveAuditorAware.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/ScrollPosition.java b/src/main/java/org/springframework/data/domain/ScrollPosition.java index 6612c71458..bf89e880d0 100644 --- a/src/main/java/org/springframework/data/domain/ScrollPosition.java +++ b/src/main/java/org/springframework/data/domain/ScrollPosition.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Slice.java b/src/main/java/org/springframework/data/domain/Slice.java index 624896d61f..3a0cb97cd4 100644 --- a/src/main/java/org/springframework/data/domain/Slice.java +++ b/src/main/java/org/springframework/data/domain/Slice.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/SliceImpl.java b/src/main/java/org/springframework/data/domain/SliceImpl.java index 018ab6814f..7d0a89ea8b 100644 --- a/src/main/java/org/springframework/data/domain/SliceImpl.java +++ b/src/main/java/org/springframework/data/domain/SliceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Sort.java b/src/main/java/org/springframework/data/domain/Sort.java index 70bb0d2166..8b72a44563 100644 --- a/src/main/java/org/springframework/data/domain/Sort.java +++ b/src/main/java/org/springframework/data/domain/Sort.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/TypedExample.java b/src/main/java/org/springframework/data/domain/TypedExample.java index 99029c0fdf..7a9cd92412 100644 --- a/src/main/java/org/springframework/data/domain/TypedExample.java +++ b/src/main/java/org/springframework/data/domain/TypedExample.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/TypedExampleMatcher.java b/src/main/java/org/springframework/data/domain/TypedExampleMatcher.java index dbc303fa13..9b60a7b545 100644 --- a/src/main/java/org/springframework/data/domain/TypedExampleMatcher.java +++ b/src/main/java/org/springframework/data/domain/TypedExampleMatcher.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Unpaged.java b/src/main/java/org/springframework/data/domain/Unpaged.java index 05125b6b90..347d9629c7 100644 --- a/src/main/java/org/springframework/data/domain/Unpaged.java +++ b/src/main/java/org/springframework/data/domain/Unpaged.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/Window.java b/src/main/java/org/springframework/data/domain/Window.java index d5c220b27c..30dea97301 100644 --- a/src/main/java/org/springframework/data/domain/Window.java +++ b/src/main/java/org/springframework/data/domain/Window.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/WindowImpl.java b/src/main/java/org/springframework/data/domain/WindowImpl.java index cd00006630..178a789579 100644 --- a/src/main/java/org/springframework/data/domain/WindowImpl.java +++ b/src/main/java/org/springframework/data/domain/WindowImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/jaxb/OrderAdapter.java b/src/main/java/org/springframework/data/domain/jaxb/OrderAdapter.java index e069a5c45c..b4e6d587c4 100644 --- a/src/main/java/org/springframework/data/domain/jaxb/OrderAdapter.java +++ b/src/main/java/org/springframework/data/domain/jaxb/OrderAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/jaxb/PageAdapter.java b/src/main/java/org/springframework/data/domain/jaxb/PageAdapter.java index ab213301c2..b896efe210 100644 --- a/src/main/java/org/springframework/data/domain/jaxb/PageAdapter.java +++ b/src/main/java/org/springframework/data/domain/jaxb/PageAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/jaxb/PageableAdapter.java b/src/main/java/org/springframework/data/domain/jaxb/PageableAdapter.java index 004505e11a..1d20f5bf6c 100644 --- a/src/main/java/org/springframework/data/domain/jaxb/PageableAdapter.java +++ b/src/main/java/org/springframework/data/domain/jaxb/PageableAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/jaxb/SortAdapter.java b/src/main/java/org/springframework/data/domain/jaxb/SortAdapter.java index 5032717374..26d2c7d700 100644 --- a/src/main/java/org/springframework/data/domain/jaxb/SortAdapter.java +++ b/src/main/java/org/springframework/data/domain/jaxb/SortAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/domain/jaxb/SpringDataJaxb.java b/src/main/java/org/springframework/data/domain/jaxb/SpringDataJaxb.java index 496395e9ca..8dd6054074 100644 --- a/src/main/java/org/springframework/data/domain/jaxb/SpringDataJaxb.java +++ b/src/main/java/org/springframework/data/domain/jaxb/SpringDataJaxb.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/CompositeValueExpression.java b/src/main/java/org/springframework/data/expression/CompositeValueExpression.java index d2dc64a48a..7aeac030a6 100644 --- a/src/main/java/org/springframework/data/expression/CompositeValueExpression.java +++ b/src/main/java/org/springframework/data/expression/CompositeValueExpression.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/DefaultValueEvaluationContext.java b/src/main/java/org/springframework/data/expression/DefaultValueEvaluationContext.java index d498560135..bf743d6b99 100644 --- a/src/main/java/org/springframework/data/expression/DefaultValueEvaluationContext.java +++ b/src/main/java/org/springframework/data/expression/DefaultValueEvaluationContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/DefaultValueExpressionParser.java b/src/main/java/org/springframework/data/expression/DefaultValueExpressionParser.java index ceea642641..f21ff533ed 100644 --- a/src/main/java/org/springframework/data/expression/DefaultValueExpressionParser.java +++ b/src/main/java/org/springframework/data/expression/DefaultValueExpressionParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/ExpressionExpression.java b/src/main/java/org/springframework/data/expression/ExpressionExpression.java index 83da26614e..30d5f004d9 100644 --- a/src/main/java/org/springframework/data/expression/ExpressionExpression.java +++ b/src/main/java/org/springframework/data/expression/ExpressionExpression.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/LiteralValueExpression.java b/src/main/java/org/springframework/data/expression/LiteralValueExpression.java index 764220bfc6..a42248aec8 100644 --- a/src/main/java/org/springframework/data/expression/LiteralValueExpression.java +++ b/src/main/java/org/springframework/data/expression/LiteralValueExpression.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/PlaceholderExpression.java b/src/main/java/org/springframework/data/expression/PlaceholderExpression.java index 1473f1ed28..35d1eae97a 100644 --- a/src/main/java/org/springframework/data/expression/PlaceholderExpression.java +++ b/src/main/java/org/springframework/data/expression/PlaceholderExpression.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/ValueEvaluationContext.java b/src/main/java/org/springframework/data/expression/ValueEvaluationContext.java index 5be091d8ca..1a8e18cdc0 100644 --- a/src/main/java/org/springframework/data/expression/ValueEvaluationContext.java +++ b/src/main/java/org/springframework/data/expression/ValueEvaluationContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/ValueEvaluationContextProvider.java b/src/main/java/org/springframework/data/expression/ValueEvaluationContextProvider.java index 05d7d4de2f..aad518be53 100644 --- a/src/main/java/org/springframework/data/expression/ValueEvaluationContextProvider.java +++ b/src/main/java/org/springframework/data/expression/ValueEvaluationContextProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/ValueExpression.java b/src/main/java/org/springframework/data/expression/ValueExpression.java index 8f4545bcd8..ae3bfd75a4 100644 --- a/src/main/java/org/springframework/data/expression/ValueExpression.java +++ b/src/main/java/org/springframework/data/expression/ValueExpression.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/ValueExpressionParser.java b/src/main/java/org/springframework/data/expression/ValueExpressionParser.java index 89f9f65cdc..0d42cf544b 100644 --- a/src/main/java/org/springframework/data/expression/ValueExpressionParser.java +++ b/src/main/java/org/springframework/data/expression/ValueExpressionParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/expression/ValueParserConfiguration.java b/src/main/java/org/springframework/data/expression/ValueParserConfiguration.java index 424ece5856..7f271bb463 100644 --- a/src/main/java/org/springframework/data/expression/ValueParserConfiguration.java +++ b/src/main/java/org/springframework/data/expression/ValueParserConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/Box.java b/src/main/java/org/springframework/data/geo/Box.java index 424ac930ae..82ddadefdf 100644 --- a/src/main/java/org/springframework/data/geo/Box.java +++ b/src/main/java/org/springframework/data/geo/Box.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 the original author or authors. + * Copyright 2010-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/Circle.java b/src/main/java/org/springframework/data/geo/Circle.java index 13bf640dbf..dc6f4e8499 100644 --- a/src/main/java/org/springframework/data/geo/Circle.java +++ b/src/main/java/org/springframework/data/geo/Circle.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 the original author or authors. + * Copyright 2010-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/CustomMetric.java b/src/main/java/org/springframework/data/geo/CustomMetric.java index 6e6dd83ab2..883a6ee823 100644 --- a/src/main/java/org/springframework/data/geo/CustomMetric.java +++ b/src/main/java/org/springframework/data/geo/CustomMetric.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/Distance.java b/src/main/java/org/springframework/data/geo/Distance.java index 246ecdd036..0cfd5bc2eb 100644 --- a/src/main/java/org/springframework/data/geo/Distance.java +++ b/src/main/java/org/springframework/data/geo/Distance.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 the original author or authors. + * Copyright 2010-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/GeoModule.java b/src/main/java/org/springframework/data/geo/GeoModule.java index 6e903c51ca..57b5fab251 100644 --- a/src/main/java/org/springframework/data/geo/GeoModule.java +++ b/src/main/java/org/springframework/data/geo/GeoModule.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/GeoPage.java b/src/main/java/org/springframework/data/geo/GeoPage.java index 7efedb6445..78ed5f6a97 100644 --- a/src/main/java/org/springframework/data/geo/GeoPage.java +++ b/src/main/java/org/springframework/data/geo/GeoPage.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/GeoResult.java b/src/main/java/org/springframework/data/geo/GeoResult.java index 4ff9fc6a67..15b1007a02 100644 --- a/src/main/java/org/springframework/data/geo/GeoResult.java +++ b/src/main/java/org/springframework/data/geo/GeoResult.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/GeoResults.java b/src/main/java/org/springframework/data/geo/GeoResults.java index 7913ecbf9b..ca15f68edf 100644 --- a/src/main/java/org/springframework/data/geo/GeoResults.java +++ b/src/main/java/org/springframework/data/geo/GeoResults.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/Metric.java b/src/main/java/org/springframework/data/geo/Metric.java index a15cdcdd70..6448f97586 100644 --- a/src/main/java/org/springframework/data/geo/Metric.java +++ b/src/main/java/org/springframework/data/geo/Metric.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/Metrics.java b/src/main/java/org/springframework/data/geo/Metrics.java index cc9776eb7c..c33d5ba0e5 100644 --- a/src/main/java/org/springframework/data/geo/Metrics.java +++ b/src/main/java/org/springframework/data/geo/Metrics.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/Point.java b/src/main/java/org/springframework/data/geo/Point.java index 8a79d509fa..7ce28d377e 100644 --- a/src/main/java/org/springframework/data/geo/Point.java +++ b/src/main/java/org/springframework/data/geo/Point.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 the original author or authors. + * Copyright 2010-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/Polygon.java b/src/main/java/org/springframework/data/geo/Polygon.java index 9759994a2e..5f4f9d70e8 100644 --- a/src/main/java/org/springframework/data/geo/Polygon.java +++ b/src/main/java/org/springframework/data/geo/Polygon.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/Shape.java b/src/main/java/org/springframework/data/geo/Shape.java index 45eb9095fb..239940e308 100644 --- a/src/main/java/org/springframework/data/geo/Shape.java +++ b/src/main/java/org/springframework/data/geo/Shape.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/format/DistanceFormatter.java b/src/main/java/org/springframework/data/geo/format/DistanceFormatter.java index 7246b8c5b0..74d2f21978 100644 --- a/src/main/java/org/springframework/data/geo/format/DistanceFormatter.java +++ b/src/main/java/org/springframework/data/geo/format/DistanceFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/geo/format/PointFormatter.java b/src/main/java/org/springframework/data/geo/format/PointFormatter.java index fb7b5d9d86..6ddb63957f 100644 --- a/src/main/java/org/springframework/data/geo/format/PointFormatter.java +++ b/src/main/java/org/springframework/data/geo/format/PointFormatter.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java b/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java index b88bd80464..531cafa7af 100755 --- a/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java +++ b/src/main/java/org/springframework/data/history/AnnotationRevisionMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/history/Revision.java b/src/main/java/org/springframework/data/history/Revision.java index 9114dd398d..87aaa676f6 100755 --- a/src/main/java/org/springframework/data/history/Revision.java +++ b/src/main/java/org/springframework/data/history/Revision.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/history/RevisionMetadata.java b/src/main/java/org/springframework/data/history/RevisionMetadata.java index 8eb7899ce4..6afdef394b 100755 --- a/src/main/java/org/springframework/data/history/RevisionMetadata.java +++ b/src/main/java/org/springframework/data/history/RevisionMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/history/RevisionSort.java b/src/main/java/org/springframework/data/history/RevisionSort.java index 5aee862498..94c6b10f16 100644 --- a/src/main/java/org/springframework/data/history/RevisionSort.java +++ b/src/main/java/org/springframework/data/history/RevisionSort.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/history/Revisions.java b/src/main/java/org/springframework/data/history/Revisions.java index 9bc9525b12..71b3ef321c 100644 --- a/src/main/java/org/springframework/data/history/Revisions.java +++ b/src/main/java/org/springframework/data/history/Revisions.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/AccessOptions.java b/src/main/java/org/springframework/data/mapping/AccessOptions.java index 69ae7c9e70..18846958b8 100644 --- a/src/main/java/org/springframework/data/mapping/AccessOptions.java +++ b/src/main/java/org/springframework/data/mapping/AccessOptions.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/Alias.java b/src/main/java/org/springframework/data/mapping/Alias.java index 7d581285b6..2e0a1f2d2e 100644 --- a/src/main/java/org/springframework/data/mapping/Alias.java +++ b/src/main/java/org/springframework/data/mapping/Alias.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/Association.java b/src/main/java/org/springframework/data/mapping/Association.java index 02533692b1..b77749f4e0 100644 --- a/src/main/java/org/springframework/data/mapping/Association.java +++ b/src/main/java/org/springframework/data/mapping/Association.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/AssociationHandler.java b/src/main/java/org/springframework/data/mapping/AssociationHandler.java index 9b7efdc039..83d3cc42d7 100644 --- a/src/main/java/org/springframework/data/mapping/AssociationHandler.java +++ b/src/main/java/org/springframework/data/mapping/AssociationHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/FactoryMethod.java b/src/main/java/org/springframework/data/mapping/FactoryMethod.java index ced2939423..c7ff4569b3 100644 --- a/src/main/java/org/springframework/data/mapping/FactoryMethod.java +++ b/src/main/java/org/springframework/data/mapping/FactoryMethod.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/IdentifierAccessor.java b/src/main/java/org/springframework/data/mapping/IdentifierAccessor.java index b87f8e5c18..f17dd1c2b2 100644 --- a/src/main/java/org/springframework/data/mapping/IdentifierAccessor.java +++ b/src/main/java/org/springframework/data/mapping/IdentifierAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadata.java b/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadata.java index 4a4d04c3fa..c0903a7703 100644 --- a/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadata.java +++ b/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadataSupport.java b/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadataSupport.java index 59b1823ef7..0512b6f45c 100644 --- a/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadataSupport.java +++ b/src/main/java/org/springframework/data/mapping/InstanceCreatorMetadataSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/MappingException.java b/src/main/java/org/springframework/data/mapping/MappingException.java index 7545ce9879..486133851d 100644 --- a/src/main/java/org/springframework/data/mapping/MappingException.java +++ b/src/main/java/org/springframework/data/mapping/MappingException.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/Parameter.java b/src/main/java/org/springframework/data/mapping/Parameter.java index 1254c2a37d..39f1a2686f 100644 --- a/src/main/java/org/springframework/data/mapping/Parameter.java +++ b/src/main/java/org/springframework/data/mapping/Parameter.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PersistentEntity.java b/src/main/java/org/springframework/data/mapping/PersistentEntity.java index b460f72f99..556c1b2294 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentEntity.java +++ b/src/main/java/org/springframework/data/mapping/PersistentEntity.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PersistentProperty.java b/src/main/java/org/springframework/data/mapping/PersistentProperty.java index 0187b21820..b61d1e1a8e 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentProperty.java +++ b/src/main/java/org/springframework/data/mapping/PersistentProperty.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java b/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java index 1de03966c6..2cc52e4e58 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java +++ b/src/main/java/org/springframework/data/mapping/PersistentPropertyAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PersistentPropertyPath.java b/src/main/java/org/springframework/data/mapping/PersistentPropertyPath.java index e1a3d28522..b1e8a01aec 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentPropertyPath.java +++ b/src/main/java/org/springframework/data/mapping/PersistentPropertyPath.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PersistentPropertyPathAccessor.java b/src/main/java/org/springframework/data/mapping/PersistentPropertyPathAccessor.java index 025de378f8..fd21629c0a 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentPropertyPathAccessor.java +++ b/src/main/java/org/springframework/data/mapping/PersistentPropertyPathAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PersistentPropertyPaths.java b/src/main/java/org/springframework/data/mapping/PersistentPropertyPaths.java index 2d96260e5b..eeb85aee7b 100644 --- a/src/main/java/org/springframework/data/mapping/PersistentPropertyPaths.java +++ b/src/main/java/org/springframework/data/mapping/PersistentPropertyPaths.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PreferredConstructor.java b/src/main/java/org/springframework/data/mapping/PreferredConstructor.java index 1cb52cf2b5..c45967a8aa 100644 --- a/src/main/java/org/springframework/data/mapping/PreferredConstructor.java +++ b/src/main/java/org/springframework/data/mapping/PreferredConstructor.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PropertyHandler.java b/src/main/java/org/springframework/data/mapping/PropertyHandler.java index da635f910d..fe171a0cae 100644 --- a/src/main/java/org/springframework/data/mapping/PropertyHandler.java +++ b/src/main/java/org/springframework/data/mapping/PropertyHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PropertyPath.java b/src/main/java/org/springframework/data/mapping/PropertyPath.java index 6349901b6b..e2d7c77cb7 100644 --- a/src/main/java/org/springframework/data/mapping/PropertyPath.java +++ b/src/main/java/org/springframework/data/mapping/PropertyPath.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/PropertyReferenceException.java b/src/main/java/org/springframework/data/mapping/PropertyReferenceException.java index 58784115d1..c6aac6e88b 100644 --- a/src/main/java/org/springframework/data/mapping/PropertyReferenceException.java +++ b/src/main/java/org/springframework/data/mapping/PropertyReferenceException.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/SimpleAssociationHandler.java b/src/main/java/org/springframework/data/mapping/SimpleAssociationHandler.java index 85941b81e9..ec167cf26e 100644 --- a/src/main/java/org/springframework/data/mapping/SimpleAssociationHandler.java +++ b/src/main/java/org/springframework/data/mapping/SimpleAssociationHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/SimplePropertyHandler.java b/src/main/java/org/springframework/data/mapping/SimplePropertyHandler.java index 6fce4dc528..ba62d97790 100644 --- a/src/main/java/org/springframework/data/mapping/SimplePropertyHandler.java +++ b/src/main/java/org/springframework/data/mapping/SimplePropertyHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/TargetAwareIdentifierAccessor.java b/src/main/java/org/springframework/data/mapping/TargetAwareIdentifierAccessor.java index 4ed68aa749..789e635c6b 100644 --- a/src/main/java/org/springframework/data/mapping/TargetAwareIdentifierAccessor.java +++ b/src/main/java/org/springframework/data/mapping/TargetAwareIdentifierAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java b/src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java index 8bf06520b1..8cfcf54414 100644 --- a/src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java +++ b/src/main/java/org/springframework/data/mapping/callback/DefaultEntityCallbacks.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacks.java b/src/main/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacks.java index d4becf3077..9e1bf5ce7d 100644 --- a/src/main/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacks.java +++ b/src/main/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacks.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/callback/EntityCallback.java b/src/main/java/org/springframework/data/mapping/callback/EntityCallback.java index ff748541b2..d80ef7fb4b 100644 --- a/src/main/java/org/springframework/data/mapping/callback/EntityCallback.java +++ b/src/main/java/org/springframework/data/mapping/callback/EntityCallback.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java b/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java index 921e1e563c..27b9ea42a6 100644 --- a/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java +++ b/src/main/java/org/springframework/data/mapping/callback/EntityCallbackDiscoverer.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/callback/EntityCallbackInvoker.java b/src/main/java/org/springframework/data/mapping/callback/EntityCallbackInvoker.java index c839693344..93c54795ed 100644 --- a/src/main/java/org/springframework/data/mapping/callback/EntityCallbackInvoker.java +++ b/src/main/java/org/springframework/data/mapping/callback/EntityCallbackInvoker.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/callback/EntityCallbacks.java b/src/main/java/org/springframework/data/mapping/callback/EntityCallbacks.java index a76a309690..04876fed7f 100644 --- a/src/main/java/org/springframework/data/mapping/callback/EntityCallbacks.java +++ b/src/main/java/org/springframework/data/mapping/callback/EntityCallbacks.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbackInvoker.java b/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbackInvoker.java index 9301b0cabd..c7b99e266e 100644 --- a/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbackInvoker.java +++ b/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbackInvoker.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbacks.java b/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbacks.java index 410516adcc..284f54597d 100644 --- a/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbacks.java +++ b/src/main/java/org/springframework/data/mapping/callback/ReactiveEntityCallbacks.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java b/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java index 71c7d2020d..c1b173c71b 100644 --- a/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java +++ b/src/main/java/org/springframework/data/mapping/context/AbstractMappingContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPath.java b/src/main/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPath.java index aef6139bf5..fc9d505d74 100644 --- a/src/main/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPath.java +++ b/src/main/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPath.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/context/InvalidPersistentPropertyPath.java b/src/main/java/org/springframework/data/mapping/context/InvalidPersistentPropertyPath.java index e796941a57..6ed29cbffc 100644 --- a/src/main/java/org/springframework/data/mapping/context/InvalidPersistentPropertyPath.java +++ b/src/main/java/org/springframework/data/mapping/context/InvalidPersistentPropertyPath.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/context/MappingContext.java b/src/main/java/org/springframework/data/mapping/context/MappingContext.java index b11275daca..94671f4253 100644 --- a/src/main/java/org/springframework/data/mapping/context/MappingContext.java +++ b/src/main/java/org/springframework/data/mapping/context/MappingContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/context/MappingContextEvent.java b/src/main/java/org/springframework/data/mapping/context/MappingContextEvent.java index 7b16709597..f25595b33b 100644 --- a/src/main/java/org/springframework/data/mapping/context/MappingContextEvent.java +++ b/src/main/java/org/springframework/data/mapping/context/MappingContextEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/context/PersistentEntities.java b/src/main/java/org/springframework/data/mapping/context/PersistentEntities.java index db7723e832..3accd09140 100644 --- a/src/main/java/org/springframework/data/mapping/context/PersistentEntities.java +++ b/src/main/java/org/springframework/data/mapping/context/PersistentEntities.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/context/PersistentPropertyPathFactory.java b/src/main/java/org/springframework/data/mapping/context/PersistentPropertyPathFactory.java index 586a832aeb..bf3f3da39c 100644 --- a/src/main/java/org/springframework/data/mapping/context/PersistentPropertyPathFactory.java +++ b/src/main/java/org/springframework/data/mapping/context/PersistentPropertyPathFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/AbstractPersistentProperty.java b/src/main/java/org/springframework/data/mapping/model/AbstractPersistentProperty.java index c8af5bd5a3..4dfdca6bc3 100644 --- a/src/main/java/org/springframework/data/mapping/model/AbstractPersistentProperty.java +++ b/src/main/java/org/springframework/data/mapping/model/AbstractPersistentProperty.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java b/src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java index 4bd60cc391..dc4b33de76 100644 --- a/src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java +++ b/src/main/java/org/springframework/data/mapping/model/AnnotationBasedPersistentProperty.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java b/src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java index cdfc2f83fd..6f2e0a5c0f 100644 --- a/src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java +++ b/src/main/java/org/springframework/data/mapping/model/BasicPersistentEntity.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java b/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java index f2980a3f20..31172016a4 100644 --- a/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java +++ b/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/BeanWrapperPropertyAccessorFactory.java b/src/main/java/org/springframework/data/mapping/model/BeanWrapperPropertyAccessorFactory.java index f43caaffb0..d03a12283c 100644 --- a/src/main/java/org/springframework/data/mapping/model/BeanWrapperPropertyAccessorFactory.java +++ b/src/main/java/org/springframework/data/mapping/model/BeanWrapperPropertyAccessorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java b/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java index 43fb7d48ef..0d5f486bc9 100644 --- a/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java +++ b/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/CachingValueExpressionEvaluatorFactory.java b/src/main/java/org/springframework/data/mapping/model/CachingValueExpressionEvaluatorFactory.java index 91be052dc2..3058fcdc78 100644 --- a/src/main/java/org/springframework/data/mapping/model/CachingValueExpressionEvaluatorFactory.java +++ b/src/main/java/org/springframework/data/mapping/model/CachingValueExpressionEvaluatorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/CamelCaseAbbreviatingFieldNamingStrategy.java b/src/main/java/org/springframework/data/mapping/model/CamelCaseAbbreviatingFieldNamingStrategy.java index 465d38551e..3ffca6d94e 100644 --- a/src/main/java/org/springframework/data/mapping/model/CamelCaseAbbreviatingFieldNamingStrategy.java +++ b/src/main/java/org/springframework/data/mapping/model/CamelCaseAbbreviatingFieldNamingStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/CamelCaseSplittingFieldNamingStrategy.java b/src/main/java/org/springframework/data/mapping/model/CamelCaseSplittingFieldNamingStrategy.java index 782d7e4bfa..546a38560c 100644 --- a/src/main/java/org/springframework/data/mapping/model/CamelCaseSplittingFieldNamingStrategy.java +++ b/src/main/java/org/springframework/data/mapping/model/CamelCaseSplittingFieldNamingStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java b/src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java index 1e49bdbadd..a08a00e3bb 100644 --- a/src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java +++ b/src/main/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiator.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java b/src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java index eefbed43b7..76476f562b 100644 --- a/src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java +++ b/src/main/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/ConvertingPropertyAccessor.java b/src/main/java/org/springframework/data/mapping/model/ConvertingPropertyAccessor.java index 73523671c0..b9459845e1 100644 --- a/src/main/java/org/springframework/data/mapping/model/ConvertingPropertyAccessor.java +++ b/src/main/java/org/springframework/data/mapping/model/ConvertingPropertyAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/DefaultSpELExpressionEvaluator.java b/src/main/java/org/springframework/data/mapping/model/DefaultSpELExpressionEvaluator.java index 6aeb52f333..871108370a 100644 --- a/src/main/java/org/springframework/data/mapping/model/DefaultSpELExpressionEvaluator.java +++ b/src/main/java/org/springframework/data/mapping/model/DefaultSpELExpressionEvaluator.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/EntityInstantiator.java b/src/main/java/org/springframework/data/mapping/model/EntityInstantiator.java index 1490092c3c..c09cb6efe3 100644 --- a/src/main/java/org/springframework/data/mapping/model/EntityInstantiator.java +++ b/src/main/java/org/springframework/data/mapping/model/EntityInstantiator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/EntityInstantiators.java b/src/main/java/org/springframework/data/mapping/model/EntityInstantiators.java index 1dd065ace0..4fd4f2cfad 100644 --- a/src/main/java/org/springframework/data/mapping/model/EntityInstantiators.java +++ b/src/main/java/org/springframework/data/mapping/model/EntityInstantiators.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/FieldNamingStrategy.java b/src/main/java/org/springframework/data/mapping/model/FieldNamingStrategy.java index 7f8919a096..531ea5fadb 100644 --- a/src/main/java/org/springframework/data/mapping/model/FieldNamingStrategy.java +++ b/src/main/java/org/springframework/data/mapping/model/FieldNamingStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessor.java b/src/main/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessor.java index 530152c0de..d70d7b7ab9 100644 --- a/src/main/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessor.java +++ b/src/main/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscoverer.java b/src/main/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscoverer.java index e6743564dd..7a97065f92 100644 --- a/src/main/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscoverer.java +++ b/src/main/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscoverer.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java b/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java index f5b8055fce..53a0a1aec5 100644 --- a/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java +++ b/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessorFactory.java b/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessorFactory.java index b14cbedff8..a30bbc0276 100644 --- a/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessorFactory.java +++ b/src/main/java/org/springframework/data/mapping/model/InstantiationAwarePropertyAccessorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiator.java b/src/main/java/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiator.java index 290ae1ec25..76f035cb13 100644 --- a/src/main/java/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiator.java +++ b/src/main/java/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiator.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java b/src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java index 973d736262..29c3e79d7c 100644 --- a/src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java +++ b/src/main/java/org/springframework/data/mapping/model/KotlinCopyMethod.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/KotlinDefaultMask.java b/src/main/java/org/springframework/data/mapping/model/KotlinDefaultMask.java index 595116c3d1..5eb1cb0b8e 100644 --- a/src/main/java/org/springframework/data/mapping/model/KotlinDefaultMask.java +++ b/src/main/java/org/springframework/data/mapping/model/KotlinDefaultMask.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/KotlinInstantiationDelegate.java b/src/main/java/org/springframework/data/mapping/model/KotlinInstantiationDelegate.java index caa2c0e655..fa3e94c5a3 100644 --- a/src/main/java/org/springframework/data/mapping/model/KotlinInstantiationDelegate.java +++ b/src/main/java/org/springframework/data/mapping/model/KotlinInstantiationDelegate.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java b/src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java index f2fba6358e..aebe7ec7ff 100644 --- a/src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java +++ b/src/main/java/org/springframework/data/mapping/model/KotlinValueUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/MappingInstantiationException.java b/src/main/java/org/springframework/data/mapping/model/MappingInstantiationException.java index 69083639d9..59fd14cf9a 100644 --- a/src/main/java/org/springframework/data/mapping/model/MappingInstantiationException.java +++ b/src/main/java/org/springframework/data/mapping/model/MappingInstantiationException.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/MutablePersistentEntity.java b/src/main/java/org/springframework/data/mapping/model/MutablePersistentEntity.java index d5c493b5a5..af6b3b433a 100644 --- a/src/main/java/org/springframework/data/mapping/model/MutablePersistentEntity.java +++ b/src/main/java/org/springframework/data/mapping/model/MutablePersistentEntity.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/ParameterValueProvider.java b/src/main/java/org/springframework/data/mapping/model/ParameterValueProvider.java index b2fbd0e772..36720b4f7a 100644 --- a/src/main/java/org/springframework/data/mapping/model/ParameterValueProvider.java +++ b/src/main/java/org/springframework/data/mapping/model/ParameterValueProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/PersistableIdentifierAccessor.java b/src/main/java/org/springframework/data/mapping/model/PersistableIdentifierAccessor.java index 302d4338e5..d369ceac38 100644 --- a/src/main/java/org/springframework/data/mapping/model/PersistableIdentifierAccessor.java +++ b/src/main/java/org/springframework/data/mapping/model/PersistableIdentifierAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategy.java b/src/main/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategy.java index 9baf0dfbed..22e1573e4b 100644 --- a/src/main/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategy.java +++ b/src/main/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/PersistentEntityParameterValueProvider.java b/src/main/java/org/springframework/data/mapping/model/PersistentEntityParameterValueProvider.java index 708c91dd6d..5b39b89d49 100644 --- a/src/main/java/org/springframework/data/mapping/model/PersistentEntityParameterValueProvider.java +++ b/src/main/java/org/springframework/data/mapping/model/PersistentEntityParameterValueProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/PersistentPropertyAccessorFactory.java b/src/main/java/org/springframework/data/mapping/model/PersistentPropertyAccessorFactory.java index 74a3380f5b..6b0ff11b87 100644 --- a/src/main/java/org/springframework/data/mapping/model/PersistentPropertyAccessorFactory.java +++ b/src/main/java/org/springframework/data/mapping/model/PersistentPropertyAccessorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/PreferredConstructorDiscoverer.java b/src/main/java/org/springframework/data/mapping/model/PreferredConstructorDiscoverer.java index 306c3eed63..1d4ae5c55d 100644 --- a/src/main/java/org/springframework/data/mapping/model/PreferredConstructorDiscoverer.java +++ b/src/main/java/org/springframework/data/mapping/model/PreferredConstructorDiscoverer.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/Property.java b/src/main/java/org/springframework/data/mapping/model/Property.java index 46a0c5ddd0..208398275c 100644 --- a/src/main/java/org/springframework/data/mapping/model/Property.java +++ b/src/main/java/org/springframework/data/mapping/model/Property.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/PropertyNameFieldNamingStrategy.java b/src/main/java/org/springframework/data/mapping/model/PropertyNameFieldNamingStrategy.java index 78d04fb67d..bf93b063d4 100644 --- a/src/main/java/org/springframework/data/mapping/model/PropertyNameFieldNamingStrategy.java +++ b/src/main/java/org/springframework/data/mapping/model/PropertyNameFieldNamingStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/PropertyValueProvider.java b/src/main/java/org/springframework/data/mapping/model/PropertyValueProvider.java index 9c0856aba3..91288a7283 100644 --- a/src/main/java/org/springframework/data/mapping/model/PropertyValueProvider.java +++ b/src/main/java/org/springframework/data/mapping/model/PropertyValueProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/ReflectionEntityInstantiator.java b/src/main/java/org/springframework/data/mapping/model/ReflectionEntityInstantiator.java index fdf61143cb..54bff0b8e9 100644 --- a/src/main/java/org/springframework/data/mapping/model/ReflectionEntityInstantiator.java +++ b/src/main/java/org/springframework/data/mapping/model/ReflectionEntityInstantiator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessor.java b/src/main/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessor.java index d071d8012d..3307addfda 100644 --- a/src/main/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessor.java +++ b/src/main/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/SimpleTypeHolder.java b/src/main/java/org/springframework/data/mapping/model/SimpleTypeHolder.java index afcbf36d96..e2a6fc283a 100644 --- a/src/main/java/org/springframework/data/mapping/model/SimpleTypeHolder.java +++ b/src/main/java/org/springframework/data/mapping/model/SimpleTypeHolder.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/SnakeCaseFieldNamingStrategy.java b/src/main/java/org/springframework/data/mapping/model/SnakeCaseFieldNamingStrategy.java index 3e96cc3b14..ee4a969679 100644 --- a/src/main/java/org/springframework/data/mapping/model/SnakeCaseFieldNamingStrategy.java +++ b/src/main/java/org/springframework/data/mapping/model/SnakeCaseFieldNamingStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/SpELContext.java b/src/main/java/org/springframework/data/mapping/model/SpELContext.java index 005333c73a..1a71a3f1f6 100644 --- a/src/main/java/org/springframework/data/mapping/model/SpELContext.java +++ b/src/main/java/org/springframework/data/mapping/model/SpELContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/SpELExpressionEvaluator.java b/src/main/java/org/springframework/data/mapping/model/SpELExpressionEvaluator.java index 92aa4a2c76..cb1b414e6d 100644 --- a/src/main/java/org/springframework/data/mapping/model/SpELExpressionEvaluator.java +++ b/src/main/java/org/springframework/data/mapping/model/SpELExpressionEvaluator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/SpELExpressionParameterValueProvider.java b/src/main/java/org/springframework/data/mapping/model/SpELExpressionParameterValueProvider.java index 117f0a5cea..a9b53d4e07 100644 --- a/src/main/java/org/springframework/data/mapping/model/SpELExpressionParameterValueProvider.java +++ b/src/main/java/org/springframework/data/mapping/model/SpELExpressionParameterValueProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/ValueExpressionEvaluator.java b/src/main/java/org/springframework/data/mapping/model/ValueExpressionEvaluator.java index bac22cd7ec..02902d5015 100644 --- a/src/main/java/org/springframework/data/mapping/model/ValueExpressionEvaluator.java +++ b/src/main/java/org/springframework/data/mapping/model/ValueExpressionEvaluator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/mapping/model/ValueExpressionParameterValueProvider.java b/src/main/java/org/springframework/data/mapping/model/ValueExpressionParameterValueProvider.java index 96ba2f11a8..d45275c0ef 100644 --- a/src/main/java/org/springframework/data/mapping/model/ValueExpressionParameterValueProvider.java +++ b/src/main/java/org/springframework/data/mapping/model/ValueExpressionParameterValueProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2023 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/Accessor.java b/src/main/java/org/springframework/data/projection/Accessor.java index 13410f13a8..ed97c637bf 100644 --- a/src/main/java/org/springframework/data/projection/Accessor.java +++ b/src/main/java/org/springframework/data/projection/Accessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptor.java b/src/main/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptor.java index 457ed58881..8d49436601 100644 --- a/src/main/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptor.java +++ b/src/main/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java b/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java index 6ddf90d829..42bb94a01f 100644 --- a/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java +++ b/src/main/java/org/springframework/data/projection/DefaultProjectionInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/EntityProjection.java b/src/main/java/org/springframework/data/projection/EntityProjection.java index f3941182e2..28c98d2fcd 100644 --- a/src/main/java/org/springframework/data/projection/EntityProjection.java +++ b/src/main/java/org/springframework/data/projection/EntityProjection.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/EntityProjectionIntrospector.java b/src/main/java/org/springframework/data/projection/EntityProjectionIntrospector.java index 88335a22dd..1d8f01c426 100644 --- a/src/main/java/org/springframework/data/projection/EntityProjectionIntrospector.java +++ b/src/main/java/org/springframework/data/projection/EntityProjectionIntrospector.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/MapAccessingMethodInterceptor.java b/src/main/java/org/springframework/data/projection/MapAccessingMethodInterceptor.java index 2dca8224fe..b28567dda3 100644 --- a/src/main/java/org/springframework/data/projection/MapAccessingMethodInterceptor.java +++ b/src/main/java/org/springframework/data/projection/MapAccessingMethodInterceptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/MethodInterceptorFactory.java b/src/main/java/org/springframework/data/projection/MethodInterceptorFactory.java index 2c9995ad1c..ffc346287a 100644 --- a/src/main/java/org/springframework/data/projection/MethodInterceptorFactory.java +++ b/src/main/java/org/springframework/data/projection/MethodInterceptorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/ProjectingMethodInterceptor.java b/src/main/java/org/springframework/data/projection/ProjectingMethodInterceptor.java index fbdb6caf5e..35a16c39e5 100644 --- a/src/main/java/org/springframework/data/projection/ProjectingMethodInterceptor.java +++ b/src/main/java/org/springframework/data/projection/ProjectingMethodInterceptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/ProjectionFactory.java b/src/main/java/org/springframework/data/projection/ProjectionFactory.java index 7763f2e1d3..08a5400f19 100644 --- a/src/main/java/org/springframework/data/projection/ProjectionFactory.java +++ b/src/main/java/org/springframework/data/projection/ProjectionFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/ProjectionInformation.java b/src/main/java/org/springframework/data/projection/ProjectionInformation.java index c1bf7fd80c..1244b58cd7 100644 --- a/src/main/java/org/springframework/data/projection/ProjectionInformation.java +++ b/src/main/java/org/springframework/data/projection/ProjectionInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java b/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java index 9586948ac4..4c793e3b1c 100644 --- a/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java +++ b/src/main/java/org/springframework/data/projection/PropertyAccessingMethodInterceptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java b/src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java index 2b00ba49ad..28bed46091 100644 --- a/src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java +++ b/src/main/java/org/springframework/data/projection/ProxyProjectionFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/SpelAwareProxyProjectionFactory.java b/src/main/java/org/springframework/data/projection/SpelAwareProxyProjectionFactory.java index a1acbf2c92..c79fbc4dd5 100644 --- a/src/main/java/org/springframework/data/projection/SpelAwareProxyProjectionFactory.java +++ b/src/main/java/org/springframework/data/projection/SpelAwareProxyProjectionFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/SpelEvaluatingMethodInterceptor.java b/src/main/java/org/springframework/data/projection/SpelEvaluatingMethodInterceptor.java index c5d5fc3641..6a0d00f9c7 100644 --- a/src/main/java/org/springframework/data/projection/SpelEvaluatingMethodInterceptor.java +++ b/src/main/java/org/springframework/data/projection/SpelEvaluatingMethodInterceptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/projection/TargetAware.java b/src/main/java/org/springframework/data/projection/TargetAware.java index 50b27e6c5b..a091eff7a9 100644 --- a/src/main/java/org/springframework/data/projection/TargetAware.java +++ b/src/main/java/org/springframework/data/projection/TargetAware.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/EntityPathResolver.java b/src/main/java/org/springframework/data/querydsl/EntityPathResolver.java index 2c09aaaf7b..87cc1ebdcc 100644 --- a/src/main/java/org/springframework/data/querydsl/EntityPathResolver.java +++ b/src/main/java/org/springframework/data/querydsl/EntityPathResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/ListQuerydslPredicateExecutor.java b/src/main/java/org/springframework/data/querydsl/ListQuerydslPredicateExecutor.java index 3459f53a66..9da5557ceb 100644 --- a/src/main/java/org/springframework/data/querydsl/ListQuerydslPredicateExecutor.java +++ b/src/main/java/org/springframework/data/querydsl/ListQuerydslPredicateExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/QPageRequest.java b/src/main/java/org/springframework/data/querydsl/QPageRequest.java index 06d822bb5f..359d01601a 100644 --- a/src/main/java/org/springframework/data/querydsl/QPageRequest.java +++ b/src/main/java/org/springframework/data/querydsl/QPageRequest.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/QSort.java b/src/main/java/org/springframework/data/querydsl/QSort.java index e59e2f24bb..5d5929b17c 100644 --- a/src/main/java/org/springframework/data/querydsl/QSort.java +++ b/src/main/java/org/springframework/data/querydsl/QSort.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java b/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java index 0c764f914c..5764d35050 100644 --- a/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java +++ b/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/QuerydslRepositoryInvokerAdapter.java b/src/main/java/org/springframework/data/querydsl/QuerydslRepositoryInvokerAdapter.java index 252d9bee45..7cc9be5cfb 100644 --- a/src/main/java/org/springframework/data/querydsl/QuerydslRepositoryInvokerAdapter.java +++ b/src/main/java/org/springframework/data/querydsl/QuerydslRepositoryInvokerAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/QuerydslUtils.java b/src/main/java/org/springframework/data/querydsl/QuerydslUtils.java index 1133fc882a..fdfb08a19a 100644 --- a/src/main/java/org/springframework/data/querydsl/QuerydslUtils.java +++ b/src/main/java/org/springframework/data/querydsl/QuerydslUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java b/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java index 7b8a44b946..2d1758d292 100644 --- a/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java +++ b/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/SimpleEntityPathResolver.java b/src/main/java/org/springframework/data/querydsl/SimpleEntityPathResolver.java index 3b62418a7e..45378473fe 100644 --- a/src/main/java/org/springframework/data/querydsl/SimpleEntityPathResolver.java +++ b/src/main/java/org/springframework/data/querydsl/SimpleEntityPathResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/aot/QuerydslHints.java b/src/main/java/org/springframework/data/querydsl/aot/QuerydslHints.java index 180c4baf95..aa362f6ee1 100644 --- a/src/main/java/org/springframework/data/querydsl/aot/QuerydslHints.java +++ b/src/main/java/org/springframework/data/querydsl/aot/QuerydslHints.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/MultiValueBinding.java b/src/main/java/org/springframework/data/querydsl/binding/MultiValueBinding.java index 1a1be7f35c..fce0a36ced 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/MultiValueBinding.java +++ b/src/main/java/org/springframework/data/querydsl/binding/MultiValueBinding.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/OptionalValueBinding.java b/src/main/java/org/springframework/data/querydsl/binding/OptionalValueBinding.java index 8786b26a2d..e3cad0e7c6 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/OptionalValueBinding.java +++ b/src/main/java/org/springframework/data/querydsl/binding/OptionalValueBinding.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/PathInformation.java b/src/main/java/org/springframework/data/querydsl/binding/PathInformation.java index dcf3c7d64b..b2031cbbd1 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/PathInformation.java +++ b/src/main/java/org/springframework/data/querydsl/binding/PathInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/PropertyPathInformation.java b/src/main/java/org/springframework/data/querydsl/binding/PropertyPathInformation.java index e30c909332..308ad1a314 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/PropertyPathInformation.java +++ b/src/main/java/org/springframework/data/querydsl/binding/PropertyPathInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/QuerydslBinderCustomizer.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBinderCustomizer.java index 371f0ad7a1..47c70ad5c1 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslBinderCustomizer.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBinderCustomizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/QuerydslBinderCustomizerDefaults.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBinderCustomizerDefaults.java index 896e6fa1ee..ec746760ad 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslBinderCustomizerDefaults.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBinderCustomizerDefaults.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java index 774b7990d6..b5b9bd76c3 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindings.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactory.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactory.java index 9b29f6ac31..f9b9b484a8 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactory.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/QuerydslDefaultBinding.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslDefaultBinding.java index 6f1c436174..44ea47f3b8 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslDefaultBinding.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslDefaultBinding.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/QuerydslPathInformation.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslPathInformation.java index ad17c4feef..e82cbbf135 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslPathInformation.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslPathInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicate.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicate.java index 7b53e17727..b8e4e712c8 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicate.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicate.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java b/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java index 5e6d1868a7..e77bb89174 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java +++ b/src/main/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/querydsl/binding/SingleValueBinding.java b/src/main/java/org/springframework/data/querydsl/binding/SingleValueBinding.java index c8a6e53c13..f384975335 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/SingleValueBinding.java +++ b/src/main/java/org/springframework/data/querydsl/binding/SingleValueBinding.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/CrudRepository.java b/src/main/java/org/springframework/data/repository/CrudRepository.java index 29ac974568..86c8b0e68d 100644 --- a/src/main/java/org/springframework/data/repository/CrudRepository.java +++ b/src/main/java/org/springframework/data/repository/CrudRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/ListCrudRepository.java b/src/main/java/org/springframework/data/repository/ListCrudRepository.java index 5d12476300..7659f8784e 100644 --- a/src/main/java/org/springframework/data/repository/ListCrudRepository.java +++ b/src/main/java/org/springframework/data/repository/ListCrudRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/ListPagingAndSortingRepository.java b/src/main/java/org/springframework/data/repository/ListPagingAndSortingRepository.java index 7a4ed057d0..2cc089f653 100644 --- a/src/main/java/org/springframework/data/repository/ListPagingAndSortingRepository.java +++ b/src/main/java/org/springframework/data/repository/ListPagingAndSortingRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/NoRepositoryBean.java b/src/main/java/org/springframework/data/repository/NoRepositoryBean.java index 305b9b216c..135b6c74ee 100644 --- a/src/main/java/org/springframework/data/repository/NoRepositoryBean.java +++ b/src/main/java/org/springframework/data/repository/NoRepositoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/PagingAndSortingRepository.java b/src/main/java/org/springframework/data/repository/PagingAndSortingRepository.java index 8e915d53fc..14db729fc9 100644 --- a/src/main/java/org/springframework/data/repository/PagingAndSortingRepository.java +++ b/src/main/java/org/springframework/data/repository/PagingAndSortingRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/Repository.java b/src/main/java/org/springframework/data/repository/Repository.java index 2251650858..b496365a2d 100644 --- a/src/main/java/org/springframework/data/repository/Repository.java +++ b/src/main/java/org/springframework/data/repository/Repository.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/RepositoryDefinition.java b/src/main/java/org/springframework/data/repository/RepositoryDefinition.java index f4e1203b7f..5b0694855d 100644 --- a/src/main/java/org/springframework/data/repository/RepositoryDefinition.java +++ b/src/main/java/org/springframework/data/repository/RepositoryDefinition.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/aot/hint/RepositoryRuntimeHints.java b/src/main/java/org/springframework/data/repository/aot/hint/RepositoryRuntimeHints.java index 5fafd13a1e..d6b46cd84f 100644 --- a/src/main/java/org/springframework/data/repository/aot/hint/RepositoryRuntimeHints.java +++ b/src/main/java/org/springframework/data/repository/aot/hint/RepositoryRuntimeHints.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java index 8318ae212a..5751c15bd8 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryConfiguration.java b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryConfiguration.java index 5bdafc7ca5..cbe56d3883 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryConfiguration.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryContext.java b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryContext.java index bd64a8d02d..5950a9321e 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryContext.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java index 37057144da..2c22f417de 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/cdi/Eager.java b/src/main/java/org/springframework/data/repository/cdi/Eager.java index d4ac4994d8..8d666eac4a 100644 --- a/src/main/java/org/springframework/data/repository/cdi/Eager.java +++ b/src/main/java/org/springframework/data/repository/cdi/Eager.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSource.java b/src/main/java/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSource.java index d6cd8bdffd..f2fcbbcba4 100644 --- a/src/main/java/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSource.java +++ b/src/main/java/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/AotRepositoryContext.java b/src/main/java/org/springframework/data/repository/config/AotRepositoryContext.java index 4f17dda478..6e18dc727b 100644 --- a/src/main/java/org/springframework/data/repository/config/AotRepositoryContext.java +++ b/src/main/java/org/springframework/data/repository/config/AotRepositoryContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/BootstrapMode.java b/src/main/java/org/springframework/data/repository/config/BootstrapMode.java index 7573ac4372..01a3303406 100644 --- a/src/main/java/org/springframework/data/repository/config/BootstrapMode.java +++ b/src/main/java/org/springframework/data/repository/config/BootstrapMode.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java b/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java index c1c676a968..809cde8649 100644 --- a/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java +++ b/src/main/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetector.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/DefaultImplementationLookupConfiguration.java b/src/main/java/org/springframework/data/repository/config/DefaultImplementationLookupConfiguration.java index 93a55b3b1a..724d58c0a8 100644 --- a/src/main/java/org/springframework/data/repository/config/DefaultImplementationLookupConfiguration.java +++ b/src/main/java/org/springframework/data/repository/config/DefaultImplementationLookupConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/DefaultRepositoryBaseClass.java b/src/main/java/org/springframework/data/repository/config/DefaultRepositoryBaseClass.java index e009cd5d9c..4671ec71ee 100644 --- a/src/main/java/org/springframework/data/repository/config/DefaultRepositoryBaseClass.java +++ b/src/main/java/org/springframework/data/repository/config/DefaultRepositoryBaseClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/DefaultRepositoryConfiguration.java b/src/main/java/org/springframework/data/repository/config/DefaultRepositoryConfiguration.java index eaeb875582..a18af66eb4 100644 --- a/src/main/java/org/springframework/data/repository/config/DefaultRepositoryConfiguration.java +++ b/src/main/java/org/springframework/data/repository/config/DefaultRepositoryConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/DeferredRepositoryInitializationListener.java b/src/main/java/org/springframework/data/repository/config/DeferredRepositoryInitializationListener.java index ece25a7e89..84e8ceb180 100644 --- a/src/main/java/org/springframework/data/repository/config/DeferredRepositoryInitializationListener.java +++ b/src/main/java/org/springframework/data/repository/config/DeferredRepositoryInitializationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/FragmentMetadata.java b/src/main/java/org/springframework/data/repository/config/FragmentMetadata.java index 9136229445..e3a0d4d4a6 100644 --- a/src/main/java/org/springframework/data/repository/config/FragmentMetadata.java +++ b/src/main/java/org/springframework/data/repository/config/FragmentMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/ImplementationDetectionConfiguration.java b/src/main/java/org/springframework/data/repository/config/ImplementationDetectionConfiguration.java index 635e77d450..a1b58d0bc7 100644 --- a/src/main/java/org/springframework/data/repository/config/ImplementationDetectionConfiguration.java +++ b/src/main/java/org/springframework/data/repository/config/ImplementationDetectionConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/ImplementationLookupConfiguration.java b/src/main/java/org/springframework/data/repository/config/ImplementationLookupConfiguration.java index 65cf4a68d7..012bd682d8 100644 --- a/src/main/java/org/springframework/data/repository/config/ImplementationLookupConfiguration.java +++ b/src/main/java/org/springframework/data/repository/config/ImplementationLookupConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/NamedQueriesBeanDefinitionBuilder.java b/src/main/java/org/springframework/data/repository/config/NamedQueriesBeanDefinitionBuilder.java index f88972183b..7b6da6bea7 100644 --- a/src/main/java/org/springframework/data/repository/config/NamedQueriesBeanDefinitionBuilder.java +++ b/src/main/java/org/springframework/data/repository/config/NamedQueriesBeanDefinitionBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/NamedQueriesBeanDefinitionParser.java b/src/main/java/org/springframework/data/repository/config/NamedQueriesBeanDefinitionParser.java index aefd12d0ed..b69927729b 100644 --- a/src/main/java/org/springframework/data/repository/config/NamedQueriesBeanDefinitionParser.java +++ b/src/main/java/org/springframework/data/repository/config/NamedQueriesBeanDefinitionParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/PersistentEntitiesFactoryBean.java b/src/main/java/org/springframework/data/repository/config/PersistentEntitiesFactoryBean.java index 7a322a92ae..d27462f1fb 100644 --- a/src/main/java/org/springframework/data/repository/config/PersistentEntitiesFactoryBean.java +++ b/src/main/java/org/springframework/data/repository/config/PersistentEntitiesFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/PropertiesBasedNamedQueriesFactoryBean.java b/src/main/java/org/springframework/data/repository/config/PropertiesBasedNamedQueriesFactoryBean.java index 02f3f16901..9036af9a38 100644 --- a/src/main/java/org/springframework/data/repository/config/PropertiesBasedNamedQueriesFactoryBean.java +++ b/src/main/java/org/springframework/data/repository/config/PropertiesBasedNamedQueriesFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionBuilder.java b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionBuilder.java index b9c70f087b..52aadc43b8 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionBuilder.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionParser.java b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionParser.java index 622774fd97..213f8089b8 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionParser.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupport.java b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupport.java index cb3c320a09..d2ded8ba2d 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupport.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryBeanNameGenerator.java b/src/main/java/org/springframework/data/repository/config/RepositoryBeanNameGenerator.java index 3555741529..b17c63afa6 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryBeanNameGenerator.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryBeanNameGenerator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryComponentProvider.java b/src/main/java/org/springframework/data/repository/config/RepositoryComponentProvider.java index 7999b98268..9c1c644ce8 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryComponentProvider.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryComponentProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryConfiguration.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfiguration.java index caf81fc86f..874f965e4b 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfiguration.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationAdapter.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationAdapter.java index 86f27a58ba..f455187b45 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationAdapter.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationAdapter.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationDelegate.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationDelegate.java index 21e4569135..1181a41411 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationDelegate.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationDelegate.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtension.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtension.java index 158f314aa8..30eac982b0 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtension.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtension.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java index 42f4de5cde..8ff140d065 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSource.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSource.java index f799ea49ed..cf6ada46ce 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSource.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSourceSupport.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSourceSupport.java index 57de2b2e8f..cc397b44db 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSourceSupport.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationSourceSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationUtils.java b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationUtils.java index 53c8f3edcd..a0bdb56ca6 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationUtils.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryConfigurationUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryFragmentConfiguration.java b/src/main/java/org/springframework/data/repository/config/RepositoryFragmentConfiguration.java index 6f24dec0e4..815e2f6c89 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryFragmentConfiguration.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryFragmentConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryFragmentConfigurationProvider.java b/src/main/java/org/springframework/data/repository/config/RepositoryFragmentConfigurationProvider.java index f92383a321..d36caf5d42 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryFragmentConfigurationProvider.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryFragmentConfigurationProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryNameSpaceHandler.java b/src/main/java/org/springframework/data/repository/config/RepositoryNameSpaceHandler.java index 7980f014ab..a1005f0dea 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryNameSpaceHandler.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryNameSpaceHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotContribution.java b/src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotContribution.java index 59814716f8..b3396fa0b3 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotContribution.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotContribution.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotProcessor.java b/src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotProcessor.java index 4838f06a59..42e57e7d26 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotProcessor.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryRegistrationAotProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/ResourceReaderRepositoryPopulatorBeanDefinitionParser.java b/src/main/java/org/springframework/data/repository/config/ResourceReaderRepositoryPopulatorBeanDefinitionParser.java index e8e2ca34e8..00c74b2f38 100644 --- a/src/main/java/org/springframework/data/repository/config/ResourceReaderRepositoryPopulatorBeanDefinitionParser.java +++ b/src/main/java/org/springframework/data/repository/config/ResourceReaderRepositoryPopulatorBeanDefinitionParser.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/SelectionSet.java b/src/main/java/org/springframework/data/repository/config/SelectionSet.java index 7c5f650c47..5c14f048cf 100644 --- a/src/main/java/org/springframework/data/repository/config/SelectionSet.java +++ b/src/main/java/org/springframework/data/repository/config/SelectionSet.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSource.java b/src/main/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSource.java index 9510862ed0..87e5465243 100644 --- a/src/main/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSource.java +++ b/src/main/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/CrudMethods.java b/src/main/java/org/springframework/data/repository/core/CrudMethods.java index 57d1e7c98b..9219cba8a6 100644 --- a/src/main/java/org/springframework/data/repository/core/CrudMethods.java +++ b/src/main/java/org/springframework/data/repository/core/CrudMethods.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/EntityInformation.java b/src/main/java/org/springframework/data/repository/core/EntityInformation.java index 0ee1d1ce67..7cac165601 100644 --- a/src/main/java/org/springframework/data/repository/core/EntityInformation.java +++ b/src/main/java/org/springframework/data/repository/core/EntityInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/EntityMetadata.java b/src/main/java/org/springframework/data/repository/core/EntityMetadata.java index ecc7a1f6a6..955d7f1d4a 100644 --- a/src/main/java/org/springframework/data/repository/core/EntityMetadata.java +++ b/src/main/java/org/springframework/data/repository/core/EntityMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/NamedQueries.java b/src/main/java/org/springframework/data/repository/core/NamedQueries.java index 504024a52c..2ce6ffd591 100644 --- a/src/main/java/org/springframework/data/repository/core/NamedQueries.java +++ b/src/main/java/org/springframework/data/repository/core/NamedQueries.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/RepositoryCreationException.java b/src/main/java/org/springframework/data/repository/core/RepositoryCreationException.java index ec5da7e6e6..2e64b1a053 100644 --- a/src/main/java/org/springframework/data/repository/core/RepositoryCreationException.java +++ b/src/main/java/org/springframework/data/repository/core/RepositoryCreationException.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/RepositoryInformation.java b/src/main/java/org/springframework/data/repository/core/RepositoryInformation.java index 6cbf80e06f..e3293b33b7 100644 --- a/src/main/java/org/springframework/data/repository/core/RepositoryInformation.java +++ b/src/main/java/org/springframework/data/repository/core/RepositoryInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/RepositoryInformationSupport.java b/src/main/java/org/springframework/data/repository/core/RepositoryInformationSupport.java index ddc85065ff..c2ee92de86 100644 --- a/src/main/java/org/springframework/data/repository/core/RepositoryInformationSupport.java +++ b/src/main/java/org/springframework/data/repository/core/RepositoryInformationSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/RepositoryMetadata.java b/src/main/java/org/springframework/data/repository/core/RepositoryMetadata.java index 79f1aba83a..43c89a6763 100644 --- a/src/main/java/org/springframework/data/repository/core/RepositoryMetadata.java +++ b/src/main/java/org/springframework/data/repository/core/RepositoryMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/AbstractEntityInformation.java b/src/main/java/org/springframework/data/repository/core/support/AbstractEntityInformation.java index bf08ec4ce0..c9081b4fe6 100644 --- a/src/main/java/org/springframework/data/repository/core/support/AbstractEntityInformation.java +++ b/src/main/java/org/springframework/data/repository/core/support/AbstractEntityInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadata.java b/src/main/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadata.java index d03f2db00a..92de5bf176 100644 --- a/src/main/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadata.java +++ b/src/main/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/AnnotationRepositoryMetadata.java b/src/main/java/org/springframework/data/repository/core/support/AnnotationRepositoryMetadata.java index 42c1271477..0bb47c899e 100644 --- a/src/main/java/org/springframework/data/repository/core/support/AnnotationRepositoryMetadata.java +++ b/src/main/java/org/springframework/data/repository/core/support/AnnotationRepositoryMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/DefaultCrudMethods.java b/src/main/java/org/springframework/data/repository/core/support/DefaultCrudMethods.java index 2fc6c52ad9..b090f49964 100644 --- a/src/main/java/org/springframework/data/repository/core/support/DefaultCrudMethods.java +++ b/src/main/java/org/springframework/data/repository/core/support/DefaultCrudMethods.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/DefaultRepositoryInformation.java b/src/main/java/org/springframework/data/repository/core/support/DefaultRepositoryInformation.java index 0b8667334f..f033a2023b 100644 --- a/src/main/java/org/springframework/data/repository/core/support/DefaultRepositoryInformation.java +++ b/src/main/java/org/springframework/data/repository/core/support/DefaultRepositoryInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/DefaultRepositoryMetadata.java b/src/main/java/org/springframework/data/repository/core/support/DefaultRepositoryMetadata.java index fc606449c6..a468f9198c 100644 --- a/src/main/java/org/springframework/data/repository/core/support/DefaultRepositoryMetadata.java +++ b/src/main/java/org/springframework/data/repository/core/support/DefaultRepositoryMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/DelegatingEntityInformation.java b/src/main/java/org/springframework/data/repository/core/support/DelegatingEntityInformation.java index 85773304c7..9b3f9c0820 100644 --- a/src/main/java/org/springframework/data/repository/core/support/DelegatingEntityInformation.java +++ b/src/main/java/org/springframework/data/repository/core/support/DelegatingEntityInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java b/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java index 02f6184a4a..30987819ed 100644 --- a/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java +++ b/src/main/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/FragmentNotImplementedException.java b/src/main/java/org/springframework/data/repository/core/support/FragmentNotImplementedException.java index 3aa1b15a6b..85f28f66a3 100644 --- a/src/main/java/org/springframework/data/repository/core/support/FragmentNotImplementedException.java +++ b/src/main/java/org/springframework/data/repository/core/support/FragmentNotImplementedException.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/IncompleteRepositoryCompositionException.java b/src/main/java/org/springframework/data/repository/core/support/IncompleteRepositoryCompositionException.java index cb5c30b598..61dafbfd8d 100644 --- a/src/main/java/org/springframework/data/repository/core/support/IncompleteRepositoryCompositionException.java +++ b/src/main/java/org/springframework/data/repository/core/support/IncompleteRepositoryCompositionException.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/MethodInvocationValidator.java b/src/main/java/org/springframework/data/repository/core/support/MethodInvocationValidator.java index a41e64d5ab..c125f0bd36 100644 --- a/src/main/java/org/springframework/data/repository/core/support/MethodInvocationValidator.java +++ b/src/main/java/org/springframework/data/repository/core/support/MethodInvocationValidator.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/MethodLookup.java b/src/main/java/org/springframework/data/repository/core/support/MethodLookup.java index 6b1213e9c9..06e694dadd 100644 --- a/src/main/java/org/springframework/data/repository/core/support/MethodLookup.java +++ b/src/main/java/org/springframework/data/repository/core/support/MethodLookup.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/MethodLookups.java b/src/main/java/org/springframework/data/repository/core/support/MethodLookups.java index 14e94e3079..e2d60e9fbc 100644 --- a/src/main/java/org/springframework/data/repository/core/support/MethodLookups.java +++ b/src/main/java/org/springframework/data/repository/core/support/MethodLookups.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessor.java b/src/main/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessor.java index 03aee62918..d33c6da159 100644 --- a/src/main/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessor.java +++ b/src/main/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/PersistentEntityInformation.java b/src/main/java/org/springframework/data/repository/core/support/PersistentEntityInformation.java index 2070cfcf8b..c84443ecb3 100644 --- a/src/main/java/org/springframework/data/repository/core/support/PersistentEntityInformation.java +++ b/src/main/java/org/springframework/data/repository/core/support/PersistentEntityInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/PropertiesBasedNamedQueries.java b/src/main/java/org/springframework/data/repository/core/support/PropertiesBasedNamedQueries.java index 25a4af3aa9..55e3bd0c62 100644 --- a/src/main/java/org/springframework/data/repository/core/support/PropertiesBasedNamedQueries.java +++ b/src/main/java/org/springframework/data/repository/core/support/PropertiesBasedNamedQueries.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/QueryCreationListener.java b/src/main/java/org/springframework/data/repository/core/support/QueryCreationListener.java index 4ae1adf16e..ba0afc6be8 100644 --- a/src/main/java/org/springframework/data/repository/core/support/QueryCreationListener.java +++ b/src/main/java/org/springframework/data/repository/core/support/QueryCreationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java b/src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java index 9438a3fc92..03125b9065 100644 --- a/src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java +++ b/src/main/java/org/springframework/data/repository/core/support/QueryExecutionResultHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptor.java b/src/main/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptor.java index f75331b8fc..fecde17943 100644 --- a/src/main/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptor.java +++ b/src/main/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/ReactiveRepositoryFactorySupport.java b/src/main/java/org/springframework/data/repository/core/support/ReactiveRepositoryFactorySupport.java index b0a6ed332d..c34fe6767a 100644 --- a/src/main/java/org/springframework/data/repository/core/support/ReactiveRepositoryFactorySupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/ReactiveRepositoryFactorySupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java index e5c3a68370..6079d997aa 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryComposition.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupport.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupport.java index 654062e741..b5e258f020 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryCustomizer.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryCustomizer.java index 0797b31266..6672cb1948 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryCustomizer.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryCustomizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryInformation.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryInformation.java index 255da9221c..6ee3adbbf9 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryInformation.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactoryInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java index 810f68fefe..e40ec36cf4 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFactorySupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java index e1bb2866d7..2e39737e85 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFragment.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryFragmentsFactoryBean.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryFragmentsFactoryBean.java index 37705c90b0..319faddd4a 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryFragmentsFactoryBean.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryFragmentsFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryInvocationMulticaster.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryInvocationMulticaster.java index 7dfb09ba0d..9aafe20f6f 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryInvocationMulticaster.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryInvocationMulticaster.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvocationListener.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvocationListener.java index d0d7a9b1f0..ca8ca08e49 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvocationListener.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvocationListener.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java index 8647ba458a..f17aad05af 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryMethodInvoker.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/RepositoryProxyPostProcessor.java b/src/main/java/org/springframework/data/repository/core/support/RepositoryProxyPostProcessor.java index 6070d9f266..95f776cc42 100644 --- a/src/main/java/org/springframework/data/repository/core/support/RepositoryProxyPostProcessor.java +++ b/src/main/java/org/springframework/data/repository/core/support/RepositoryProxyPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/SurroundingTransactionDetectorMethodInterceptor.java b/src/main/java/org/springframework/data/repository/core/support/SurroundingTransactionDetectorMethodInterceptor.java index e6e2b16555..655c894221 100644 --- a/src/main/java/org/springframework/data/repository/core/support/SurroundingTransactionDetectorMethodInterceptor.java +++ b/src/main/java/org/springframework/data/repository/core/support/SurroundingTransactionDetectorMethodInterceptor.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryFactoryBeanSupport.java b/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryFactoryBeanSupport.java index 3b45a45157..1bf8bfb37a 100644 --- a/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryFactoryBeanSupport.java +++ b/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryFactoryBeanSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryProxyPostProcessor.java b/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryProxyPostProcessor.java index adb451be5e..fb2af7d961 100644 --- a/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryProxyPostProcessor.java +++ b/src/main/java/org/springframework/data/repository/core/support/TransactionalRepositoryProxyPostProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/core/support/UnsupportedFragmentException.java b/src/main/java/org/springframework/data/repository/core/support/UnsupportedFragmentException.java index 9e0c48919b..1ee8caf584 100644 --- a/src/main/java/org/springframework/data/repository/core/support/UnsupportedFragmentException.java +++ b/src/main/java/org/springframework/data/repository/core/support/UnsupportedFragmentException.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/history/RevisionRepository.java b/src/main/java/org/springframework/data/repository/history/RevisionRepository.java index 5df0446dd4..8487de382e 100755 --- a/src/main/java/org/springframework/data/repository/history/RevisionRepository.java +++ b/src/main/java/org/springframework/data/repository/history/RevisionRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/history/support/RevisionEntityInformation.java b/src/main/java/org/springframework/data/repository/history/support/RevisionEntityInformation.java index 6c5e49b815..8c7a18f704 100644 --- a/src/main/java/org/springframework/data/repository/history/support/RevisionEntityInformation.java +++ b/src/main/java/org/springframework/data/repository/history/support/RevisionEntityInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/init/AbstractRepositoryPopulatorFactoryBean.java b/src/main/java/org/springframework/data/repository/init/AbstractRepositoryPopulatorFactoryBean.java index 5a63db7ff8..bf08f23d06 100644 --- a/src/main/java/org/springframework/data/repository/init/AbstractRepositoryPopulatorFactoryBean.java +++ b/src/main/java/org/springframework/data/repository/init/AbstractRepositoryPopulatorFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/init/Jackson2RepositoryPopulatorFactoryBean.java b/src/main/java/org/springframework/data/repository/init/Jackson2RepositoryPopulatorFactoryBean.java index 81f187c8d5..412bd2186e 100644 --- a/src/main/java/org/springframework/data/repository/init/Jackson2RepositoryPopulatorFactoryBean.java +++ b/src/main/java/org/springframework/data/repository/init/Jackson2RepositoryPopulatorFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java b/src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java index 455a1a39a5..04a0ab8d04 100644 --- a/src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java +++ b/src/main/java/org/springframework/data/repository/init/Jackson2ResourceReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/init/RepositoriesPopulatedEvent.java b/src/main/java/org/springframework/data/repository/init/RepositoriesPopulatedEvent.java index 3474e51e36..3e4d1b77b0 100644 --- a/src/main/java/org/springframework/data/repository/init/RepositoriesPopulatedEvent.java +++ b/src/main/java/org/springframework/data/repository/init/RepositoriesPopulatedEvent.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/init/RepositoryPopulator.java b/src/main/java/org/springframework/data/repository/init/RepositoryPopulator.java index eb443536d0..5f6814c4b1 100644 --- a/src/main/java/org/springframework/data/repository/init/RepositoryPopulator.java +++ b/src/main/java/org/springframework/data/repository/init/RepositoryPopulator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/init/ResourceReader.java b/src/main/java/org/springframework/data/repository/init/ResourceReader.java index 8e55ec0f43..cfe4204185 100644 --- a/src/main/java/org/springframework/data/repository/init/ResourceReader.java +++ b/src/main/java/org/springframework/data/repository/init/ResourceReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/init/ResourceReaderRepositoryPopulator.java b/src/main/java/org/springframework/data/repository/init/ResourceReaderRepositoryPopulator.java index a78f401c32..d75df665ec 100644 --- a/src/main/java/org/springframework/data/repository/init/ResourceReaderRepositoryPopulator.java +++ b/src/main/java/org/springframework/data/repository/init/ResourceReaderRepositoryPopulator.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/init/UnmarshallerRepositoryPopulatorFactoryBean.java b/src/main/java/org/springframework/data/repository/init/UnmarshallerRepositoryPopulatorFactoryBean.java index 5f630118fc..2c5fd1f8da 100644 --- a/src/main/java/org/springframework/data/repository/init/UnmarshallerRepositoryPopulatorFactoryBean.java +++ b/src/main/java/org/springframework/data/repository/init/UnmarshallerRepositoryPopulatorFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/init/UnmarshallingResourceReader.java b/src/main/java/org/springframework/data/repository/init/UnmarshallingResourceReader.java index cb85d41735..fe572025e8 100644 --- a/src/main/java/org/springframework/data/repository/init/UnmarshallingResourceReader.java +++ b/src/main/java/org/springframework/data/repository/init/UnmarshallingResourceReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/DefaultParameters.java b/src/main/java/org/springframework/data/repository/query/DefaultParameters.java index 774593ce0c..f752c7d22b 100644 --- a/src/main/java/org/springframework/data/repository/query/DefaultParameters.java +++ b/src/main/java/org/springframework/data/repository/query/DefaultParameters.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ExtensionAwareQueryMethodEvaluationContextProvider.java b/src/main/java/org/springframework/data/repository/query/ExtensionAwareQueryMethodEvaluationContextProvider.java index f4adae72ef..1a77a566fb 100644 --- a/src/main/java/org/springframework/data/repository/query/ExtensionAwareQueryMethodEvaluationContextProvider.java +++ b/src/main/java/org/springframework/data/repository/query/ExtensionAwareQueryMethodEvaluationContextProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/FluentQuery.java b/src/main/java/org/springframework/data/repository/query/FluentQuery.java index ec26c329f6..2e09b684c1 100644 --- a/src/main/java/org/springframework/data/repository/query/FluentQuery.java +++ b/src/main/java/org/springframework/data/repository/query/FluentQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ListQueryByExampleExecutor.java b/src/main/java/org/springframework/data/repository/query/ListQueryByExampleExecutor.java index 3176c03680..2f8b6e1b9a 100644 --- a/src/main/java/org/springframework/data/repository/query/ListQueryByExampleExecutor.java +++ b/src/main/java/org/springframework/data/repository/query/ListQueryByExampleExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/Param.java b/src/main/java/org/springframework/data/repository/query/Param.java index 863ac03ecf..47ca2ed5b9 100644 --- a/src/main/java/org/springframework/data/repository/query/Param.java +++ b/src/main/java/org/springframework/data/repository/query/Param.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/Parameter.java b/src/main/java/org/springframework/data/repository/query/Parameter.java index 2c26d7cdd9..0bacb8e6a4 100644 --- a/src/main/java/org/springframework/data/repository/query/Parameter.java +++ b/src/main/java/org/springframework/data/repository/query/Parameter.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ParameterAccessor.java b/src/main/java/org/springframework/data/repository/query/ParameterAccessor.java index 7fde7c8be0..b4cc076f86 100644 --- a/src/main/java/org/springframework/data/repository/query/ParameterAccessor.java +++ b/src/main/java/org/springframework/data/repository/query/ParameterAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ParameterOutOfBoundsException.java b/src/main/java/org/springframework/data/repository/query/ParameterOutOfBoundsException.java index 38b7693d74..6c7a0c085c 100644 --- a/src/main/java/org/springframework/data/repository/query/ParameterOutOfBoundsException.java +++ b/src/main/java/org/springframework/data/repository/query/ParameterOutOfBoundsException.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/Parameters.java b/src/main/java/org/springframework/data/repository/query/Parameters.java index 8967bb7d7d..1ec43d08fb 100644 --- a/src/main/java/org/springframework/data/repository/query/Parameters.java +++ b/src/main/java/org/springframework/data/repository/query/Parameters.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ParametersParameterAccessor.java b/src/main/java/org/springframework/data/repository/query/ParametersParameterAccessor.java index 8c7d207474..747eb765d6 100644 --- a/src/main/java/org/springframework/data/repository/query/ParametersParameterAccessor.java +++ b/src/main/java/org/springframework/data/repository/query/ParametersParameterAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ParametersSource.java b/src/main/java/org/springframework/data/repository/query/ParametersSource.java index 415563d9bf..63f3640076 100644 --- a/src/main/java/org/springframework/data/repository/query/ParametersSource.java +++ b/src/main/java/org/springframework/data/repository/query/ParametersSource.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java b/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java index c6d1ba69a3..fb566fc4c2 100644 --- a/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java +++ b/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/QueryCreationException.java b/src/main/java/org/springframework/data/repository/query/QueryCreationException.java index d442060fe8..cbd403d992 100644 --- a/src/main/java/org/springframework/data/repository/query/QueryCreationException.java +++ b/src/main/java/org/springframework/data/repository/query/QueryCreationException.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/QueryLookupStrategy.java b/src/main/java/org/springframework/data/repository/query/QueryLookupStrategy.java index 7161a105c1..8191488c86 100644 --- a/src/main/java/org/springframework/data/repository/query/QueryLookupStrategy.java +++ b/src/main/java/org/springframework/data/repository/query/QueryLookupStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/QueryMethod.java b/src/main/java/org/springframework/data/repository/query/QueryMethod.java index 5528c3e351..477113f82a 100644 --- a/src/main/java/org/springframework/data/repository/query/QueryMethod.java +++ b/src/main/java/org/springframework/data/repository/query/QueryMethod.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/QueryMethodEvaluationContextProvider.java b/src/main/java/org/springframework/data/repository/query/QueryMethodEvaluationContextProvider.java index 3d4e165be8..de86632138 100644 --- a/src/main/java/org/springframework/data/repository/query/QueryMethodEvaluationContextProvider.java +++ b/src/main/java/org/springframework/data/repository/query/QueryMethodEvaluationContextProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ReactiveExtensionAwareQueryMethodEvaluationContextProvider.java b/src/main/java/org/springframework/data/repository/query/ReactiveExtensionAwareQueryMethodEvaluationContextProvider.java index 1a1d2a8b07..99ed3b2db6 100644 --- a/src/main/java/org/springframework/data/repository/query/ReactiveExtensionAwareQueryMethodEvaluationContextProvider.java +++ b/src/main/java/org/springframework/data/repository/query/ReactiveExtensionAwareQueryMethodEvaluationContextProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ReactiveQueryByExampleExecutor.java b/src/main/java/org/springframework/data/repository/query/ReactiveQueryByExampleExecutor.java index f77e616d80..e1cd5322d8 100644 --- a/src/main/java/org/springframework/data/repository/query/ReactiveQueryByExampleExecutor.java +++ b/src/main/java/org/springframework/data/repository/query/ReactiveQueryByExampleExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ReactiveQueryMethodEvaluationContextProvider.java b/src/main/java/org/springframework/data/repository/query/ReactiveQueryMethodEvaluationContextProvider.java index 02bba3d022..120b5908c4 100644 --- a/src/main/java/org/springframework/data/repository/query/ReactiveQueryMethodEvaluationContextProvider.java +++ b/src/main/java/org/springframework/data/repository/query/ReactiveQueryMethodEvaluationContextProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/RepositoryQuery.java b/src/main/java/org/springframework/data/repository/query/RepositoryQuery.java index 3772feae0f..74244cc3e6 100644 --- a/src/main/java/org/springframework/data/repository/query/RepositoryQuery.java +++ b/src/main/java/org/springframework/data/repository/query/RepositoryQuery.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ResultProcessor.java b/src/main/java/org/springframework/data/repository/query/ResultProcessor.java index 6cb08ce3d4..c0eb16d551 100644 --- a/src/main/java/org/springframework/data/repository/query/ResultProcessor.java +++ b/src/main/java/org/springframework/data/repository/query/ResultProcessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/ReturnedType.java b/src/main/java/org/springframework/data/repository/query/ReturnedType.java index abe6189dfa..eb44d85a32 100644 --- a/src/main/java/org/springframework/data/repository/query/ReturnedType.java +++ b/src/main/java/org/springframework/data/repository/query/ReturnedType.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/SpelEvaluator.java b/src/main/java/org/springframework/data/repository/query/SpelEvaluator.java index 8142187910..f2ba5babf0 100644 --- a/src/main/java/org/springframework/data/repository/query/SpelEvaluator.java +++ b/src/main/java/org/springframework/data/repository/query/SpelEvaluator.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/SpelQueryContext.java b/src/main/java/org/springframework/data/repository/query/SpelQueryContext.java index ac35839ebb..bc92359565 100644 --- a/src/main/java/org/springframework/data/repository/query/SpelQueryContext.java +++ b/src/main/java/org/springframework/data/repository/query/SpelQueryContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/parser/AbstractQueryCreator.java b/src/main/java/org/springframework/data/repository/query/parser/AbstractQueryCreator.java index a3552b6ef2..3822ac30db 100644 --- a/src/main/java/org/springframework/data/repository/query/parser/AbstractQueryCreator.java +++ b/src/main/java/org/springframework/data/repository/query/parser/AbstractQueryCreator.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/parser/OrderBySource.java b/src/main/java/org/springframework/data/repository/query/parser/OrderBySource.java index 53e960cbf1..9c2f5eca82 100644 --- a/src/main/java/org/springframework/data/repository/query/parser/OrderBySource.java +++ b/src/main/java/org/springframework/data/repository/query/parser/OrderBySource.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/parser/Part.java b/src/main/java/org/springframework/data/repository/query/parser/Part.java index 2c71ad391c..130bc7e527 100644 --- a/src/main/java/org/springframework/data/repository/query/parser/Part.java +++ b/src/main/java/org/springframework/data/repository/query/parser/Part.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/query/parser/PartTree.java b/src/main/java/org/springframework/data/repository/query/parser/PartTree.java index 986f43a7b3..ee00f88364 100644 --- a/src/main/java/org/springframework/data/repository/query/parser/PartTree.java +++ b/src/main/java/org/springframework/data/repository/query/parser/PartTree.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/reactive/ReactiveCrudRepository.java b/src/main/java/org/springframework/data/repository/reactive/ReactiveCrudRepository.java index 2e8c076721..54b5784f77 100644 --- a/src/main/java/org/springframework/data/repository/reactive/ReactiveCrudRepository.java +++ b/src/main/java/org/springframework/data/repository/reactive/ReactiveCrudRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/reactive/ReactiveSortingRepository.java b/src/main/java/org/springframework/data/repository/reactive/ReactiveSortingRepository.java index 28b4faa751..c3f52c1bc2 100644 --- a/src/main/java/org/springframework/data/repository/reactive/ReactiveSortingRepository.java +++ b/src/main/java/org/springframework/data/repository/reactive/ReactiveSortingRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/reactive/RxJava3CrudRepository.java b/src/main/java/org/springframework/data/repository/reactive/RxJava3CrudRepository.java index 134e3a4f2e..fdf44a4b37 100644 --- a/src/main/java/org/springframework/data/repository/reactive/RxJava3CrudRepository.java +++ b/src/main/java/org/springframework/data/repository/reactive/RxJava3CrudRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/reactive/RxJava3SortingRepository.java b/src/main/java/org/springframework/data/repository/reactive/RxJava3SortingRepository.java index 1d4c12d99b..5ffca47fad 100644 --- a/src/main/java/org/springframework/data/repository/reactive/RxJava3SortingRepository.java +++ b/src/main/java/org/springframework/data/repository/reactive/RxJava3SortingRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/AnnotationAttribute.java b/src/main/java/org/springframework/data/repository/support/AnnotationAttribute.java index dda2096348..18298d6eef 100644 --- a/src/main/java/org/springframework/data/repository/support/AnnotationAttribute.java +++ b/src/main/java/org/springframework/data/repository/support/AnnotationAttribute.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/CrudRepositoryInvoker.java b/src/main/java/org/springframework/data/repository/support/CrudRepositoryInvoker.java index ba89d35d60..69a98735d4 100644 --- a/src/main/java/org/springframework/data/repository/support/CrudRepositoryInvoker.java +++ b/src/main/java/org/springframework/data/repository/support/CrudRepositoryInvoker.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/DefaultRepositoryInvokerFactory.java b/src/main/java/org/springframework/data/repository/support/DefaultRepositoryInvokerFactory.java index 1ec079c39c..1c5bd3e303 100644 --- a/src/main/java/org/springframework/data/repository/support/DefaultRepositoryInvokerFactory.java +++ b/src/main/java/org/springframework/data/repository/support/DefaultRepositoryInvokerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/DomainClassConverter.java b/src/main/java/org/springframework/data/repository/support/DomainClassConverter.java index e26c1f3bc9..fc6fa8bbd6 100644 --- a/src/main/java/org/springframework/data/repository/support/DomainClassConverter.java +++ b/src/main/java/org/springframework/data/repository/support/DomainClassConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/MethodParameters.java b/src/main/java/org/springframework/data/repository/support/MethodParameters.java index 0f92a0cb62..f71780d8ee 100644 --- a/src/main/java/org/springframework/data/repository/support/MethodParameters.java +++ b/src/main/java/org/springframework/data/repository/support/MethodParameters.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/PagingAndSortingRepositoryInvoker.java b/src/main/java/org/springframework/data/repository/support/PagingAndSortingRepositoryInvoker.java index 8582bbc62b..6bd274165b 100644 --- a/src/main/java/org/springframework/data/repository/support/PagingAndSortingRepositoryInvoker.java +++ b/src/main/java/org/springframework/data/repository/support/PagingAndSortingRepositoryInvoker.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/QueryMethodParameterConversionException.java b/src/main/java/org/springframework/data/repository/support/QueryMethodParameterConversionException.java index 5e4287f4d6..fb1b11605d 100644 --- a/src/main/java/org/springframework/data/repository/support/QueryMethodParameterConversionException.java +++ b/src/main/java/org/springframework/data/repository/support/QueryMethodParameterConversionException.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/ReflectionRepositoryInvoker.java b/src/main/java/org/springframework/data/repository/support/ReflectionRepositoryInvoker.java index 4d027a24fc..23e270edd9 100644 --- a/src/main/java/org/springframework/data/repository/support/ReflectionRepositoryInvoker.java +++ b/src/main/java/org/springframework/data/repository/support/ReflectionRepositoryInvoker.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/Repositories.java b/src/main/java/org/springframework/data/repository/support/Repositories.java index 176b8ca177..3543560a72 100644 --- a/src/main/java/org/springframework/data/repository/support/Repositories.java +++ b/src/main/java/org/springframework/data/repository/support/Repositories.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/RepositoryInvocationInformation.java b/src/main/java/org/springframework/data/repository/support/RepositoryInvocationInformation.java index 58c57773a4..cfa0d1309c 100644 --- a/src/main/java/org/springframework/data/repository/support/RepositoryInvocationInformation.java +++ b/src/main/java/org/springframework/data/repository/support/RepositoryInvocationInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java b/src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java index f6f6015a1a..557f1e08b8 100644 --- a/src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java +++ b/src/main/java/org/springframework/data/repository/support/RepositoryInvoker.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/support/RepositoryInvokerFactory.java b/src/main/java/org/springframework/data/repository/support/RepositoryInvokerFactory.java index af5e998eba..7f76df9a01 100644 --- a/src/main/java/org/springframework/data/repository/support/RepositoryInvokerFactory.java +++ b/src/main/java/org/springframework/data/repository/support/RepositoryInvokerFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/util/ClassUtils.java b/src/main/java/org/springframework/data/repository/util/ClassUtils.java index 37fd9cad9b..ba6f0c474a 100644 --- a/src/main/java/org/springframework/data/repository/util/ClassUtils.java +++ b/src/main/java/org/springframework/data/repository/util/ClassUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java b/src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java index ab916fee11..9dc15e4cda 100644 --- a/src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java +++ b/src/main/java/org/springframework/data/repository/util/QueryExecutionConverters.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/util/ReactiveWrapperConverters.java b/src/main/java/org/springframework/data/repository/util/ReactiveWrapperConverters.java index 0f224cf1bc..c1692be67a 100644 --- a/src/main/java/org/springframework/data/repository/util/ReactiveWrapperConverters.java +++ b/src/main/java/org/springframework/data/repository/util/ReactiveWrapperConverters.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/util/ReactiveWrappers.java b/src/main/java/org/springframework/data/repository/util/ReactiveWrappers.java index c32a257b6f..9dfef93c45 100644 --- a/src/main/java/org/springframework/data/repository/util/ReactiveWrappers.java +++ b/src/main/java/org/springframework/data/repository/util/ReactiveWrappers.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/repository/util/TxUtils.java b/src/main/java/org/springframework/data/repository/util/TxUtils.java index 7ea42ef766..bd70340a65 100644 --- a/src/main/java/org/springframework/data/repository/util/TxUtils.java +++ b/src/main/java/org/springframework/data/repository/util/TxUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/EvaluationContextExtensionInformation.java b/src/main/java/org/springframework/data/spel/EvaluationContextExtensionInformation.java index c7895ebbdf..e5a734f558 100644 --- a/src/main/java/org/springframework/data/spel/EvaluationContextExtensionInformation.java +++ b/src/main/java/org/springframework/data/spel/EvaluationContextExtensionInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/EvaluationContextProvider.java b/src/main/java/org/springframework/data/spel/EvaluationContextProvider.java index fe8e17a4ce..dbac2107fc 100644 --- a/src/main/java/org/springframework/data/spel/EvaluationContextProvider.java +++ b/src/main/java/org/springframework/data/spel/EvaluationContextProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/ExpressionDependencies.java b/src/main/java/org/springframework/data/spel/ExpressionDependencies.java index ea36a55997..1f6add99e6 100644 --- a/src/main/java/org/springframework/data/spel/ExpressionDependencies.java +++ b/src/main/java/org/springframework/data/spel/ExpressionDependencies.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/ExtensionAwareEvaluationContextProvider.java b/src/main/java/org/springframework/data/spel/ExtensionAwareEvaluationContextProvider.java index 67afc5e0ff..ac20392ad4 100644 --- a/src/main/java/org/springframework/data/spel/ExtensionAwareEvaluationContextProvider.java +++ b/src/main/java/org/springframework/data/spel/ExtensionAwareEvaluationContextProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/Functions.java b/src/main/java/org/springframework/data/spel/Functions.java index 8451776363..62487eda02 100644 --- a/src/main/java/org/springframework/data/spel/Functions.java +++ b/src/main/java/org/springframework/data/spel/Functions.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/ReactiveEvaluationContextProvider.java b/src/main/java/org/springframework/data/spel/ReactiveEvaluationContextProvider.java index 062781a826..f81315d8db 100644 --- a/src/main/java/org/springframework/data/spel/ReactiveEvaluationContextProvider.java +++ b/src/main/java/org/springframework/data/spel/ReactiveEvaluationContextProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/ReactiveExtensionAwareEvaluationContextProvider.java b/src/main/java/org/springframework/data/spel/ReactiveExtensionAwareEvaluationContextProvider.java index 935678f766..c6ffb8f771 100644 --- a/src/main/java/org/springframework/data/spel/ReactiveExtensionAwareEvaluationContextProvider.java +++ b/src/main/java/org/springframework/data/spel/ReactiveExtensionAwareEvaluationContextProvider.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/spi/EvaluationContextExtension.java b/src/main/java/org/springframework/data/spel/spi/EvaluationContextExtension.java index c54ff9ca44..3b18ffc905 100644 --- a/src/main/java/org/springframework/data/spel/spi/EvaluationContextExtension.java +++ b/src/main/java/org/springframework/data/spel/spi/EvaluationContextExtension.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/spi/ExtensionIdAware.java b/src/main/java/org/springframework/data/spel/spi/ExtensionIdAware.java index a12fe57ce3..da76721e28 100644 --- a/src/main/java/org/springframework/data/spel/spi/ExtensionIdAware.java +++ b/src/main/java/org/springframework/data/spel/spi/ExtensionIdAware.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/spi/Function.java b/src/main/java/org/springframework/data/spel/spi/Function.java index d315c84b18..33182e3c19 100644 --- a/src/main/java/org/springframework/data/spel/spi/Function.java +++ b/src/main/java/org/springframework/data/spel/spi/Function.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/spel/spi/ReactiveEvaluationContextExtension.java b/src/main/java/org/springframework/data/spel/spi/ReactiveEvaluationContextExtension.java index 28c6a2dff2..36b1a9e9e4 100644 --- a/src/main/java/org/springframework/data/spel/spi/ReactiveEvaluationContextExtension.java +++ b/src/main/java/org/springframework/data/spel/spi/ReactiveEvaluationContextExtension.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/support/ExampleMatcherAccessor.java b/src/main/java/org/springframework/data/support/ExampleMatcherAccessor.java index 20c0577cd4..602da65559 100644 --- a/src/main/java/org/springframework/data/support/ExampleMatcherAccessor.java +++ b/src/main/java/org/springframework/data/support/ExampleMatcherAccessor.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/support/IsNewStrategy.java b/src/main/java/org/springframework/data/support/IsNewStrategy.java index be2619f78b..7781afd18f 100644 --- a/src/main/java/org/springframework/data/support/IsNewStrategy.java +++ b/src/main/java/org/springframework/data/support/IsNewStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/support/PageableExecutionUtils.java b/src/main/java/org/springframework/data/support/PageableExecutionUtils.java index d30720f304..1298dd1f8b 100644 --- a/src/main/java/org/springframework/data/support/PageableExecutionUtils.java +++ b/src/main/java/org/springframework/data/support/PageableExecutionUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/support/PersistableIsNewStrategy.java b/src/main/java/org/springframework/data/support/PersistableIsNewStrategy.java index 8b02e37168..8c8840cdbd 100644 --- a/src/main/java/org/springframework/data/support/PersistableIsNewStrategy.java +++ b/src/main/java/org/springframework/data/support/PersistableIsNewStrategy.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/support/PlaceholderResolver.java b/src/main/java/org/springframework/data/support/PlaceholderResolver.java index 5fbdd7fa4e..251e90c1db 100644 --- a/src/main/java/org/springframework/data/support/PlaceholderResolver.java +++ b/src/main/java/org/springframework/data/support/PlaceholderResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2023 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/support/WindowIterator.java b/src/main/java/org/springframework/data/support/WindowIterator.java index da2c2c907e..245ee39cef 100644 --- a/src/main/java/org/springframework/data/support/WindowIterator.java +++ b/src/main/java/org/springframework/data/support/WindowIterator.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/transaction/ChainedTransactionManager.java b/src/main/java/org/springframework/data/transaction/ChainedTransactionManager.java index 32780673da..85329b2c8e 100644 --- a/src/main/java/org/springframework/data/transaction/ChainedTransactionManager.java +++ b/src/main/java/org/springframework/data/transaction/ChainedTransactionManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/transaction/MultiTransactionStatus.java b/src/main/java/org/springframework/data/transaction/MultiTransactionStatus.java index 44be76536a..ea6c3a3209 100644 --- a/src/main/java/org/springframework/data/transaction/MultiTransactionStatus.java +++ b/src/main/java/org/springframework/data/transaction/MultiTransactionStatus.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/transaction/SpringTransactionSynchronizationManager.java b/src/main/java/org/springframework/data/transaction/SpringTransactionSynchronizationManager.java index 2616195235..b2e125d975 100644 --- a/src/main/java/org/springframework/data/transaction/SpringTransactionSynchronizationManager.java +++ b/src/main/java/org/springframework/data/transaction/SpringTransactionSynchronizationManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/transaction/SynchronizationManager.java b/src/main/java/org/springframework/data/transaction/SynchronizationManager.java index 3121bf82a8..b06b61af65 100644 --- a/src/main/java/org/springframework/data/transaction/SynchronizationManager.java +++ b/src/main/java/org/springframework/data/transaction/SynchronizationManager.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/type/MethodsMetadata.java b/src/main/java/org/springframework/data/type/MethodsMetadata.java index 583896f2e0..06b5a5d340 100644 --- a/src/main/java/org/springframework/data/type/MethodsMetadata.java +++ b/src/main/java/org/springframework/data/type/MethodsMetadata.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/type/classreading/MethodsMetadataReader.java b/src/main/java/org/springframework/data/type/classreading/MethodsMetadataReader.java index b7d31b45c5..7c422b42de 100644 --- a/src/main/java/org/springframework/data/type/classreading/MethodsMetadataReader.java +++ b/src/main/java/org/springframework/data/type/classreading/MethodsMetadataReader.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/type/classreading/MethodsMetadataReaderFactory.java b/src/main/java/org/springframework/data/type/classreading/MethodsMetadataReaderFactory.java index af3b632366..ea917df918 100644 --- a/src/main/java/org/springframework/data/type/classreading/MethodsMetadataReaderFactory.java +++ b/src/main/java/org/springframework/data/type/classreading/MethodsMetadataReaderFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/AnnotatedTypeScanner.java b/src/main/java/org/springframework/data/util/AnnotatedTypeScanner.java index eaf25ab6a7..2b5c1435c1 100644 --- a/src/main/java/org/springframework/data/util/AnnotatedTypeScanner.java +++ b/src/main/java/org/springframework/data/util/AnnotatedTypeScanner.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/AnnotationDetectionFieldCallback.java b/src/main/java/org/springframework/data/util/AnnotationDetectionFieldCallback.java index 8c29cd65b0..13a16bdb76 100755 --- a/src/main/java/org/springframework/data/util/AnnotationDetectionFieldCallback.java +++ b/src/main/java/org/springframework/data/util/AnnotationDetectionFieldCallback.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/AnnotationDetectionMethodCallback.java b/src/main/java/org/springframework/data/util/AnnotationDetectionMethodCallback.java index 54936c67e3..df1e7af618 100644 --- a/src/main/java/org/springframework/data/util/AnnotationDetectionMethodCallback.java +++ b/src/main/java/org/springframework/data/util/AnnotationDetectionMethodCallback.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/BeanLookup.java b/src/main/java/org/springframework/data/util/BeanLookup.java index 3c2470d288..7e96b7d96d 100644 --- a/src/main/java/org/springframework/data/util/BeanLookup.java +++ b/src/main/java/org/springframework/data/util/BeanLookup.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/CastUtils.java b/src/main/java/org/springframework/data/util/CastUtils.java index c9df96626c..95ec7cf571 100644 --- a/src/main/java/org/springframework/data/util/CastUtils.java +++ b/src/main/java/org/springframework/data/util/CastUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/ClassTypeInformation.java b/src/main/java/org/springframework/data/util/ClassTypeInformation.java index 554c41f436..008978cb4f 100644 --- a/src/main/java/org/springframework/data/util/ClassTypeInformation.java +++ b/src/main/java/org/springframework/data/util/ClassTypeInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/CloseableIterator.java b/src/main/java/org/springframework/data/util/CloseableIterator.java index 777a46d410..5bdbd581f3 100644 --- a/src/main/java/org/springframework/data/util/CloseableIterator.java +++ b/src/main/java/org/springframework/data/util/CloseableIterator.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/CustomCollectionRegistrar.java b/src/main/java/org/springframework/data/util/CustomCollectionRegistrar.java index 88e0367fa0..45c285cd3e 100644 --- a/src/main/java/org/springframework/data/util/CustomCollectionRegistrar.java +++ b/src/main/java/org/springframework/data/util/CustomCollectionRegistrar.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/CustomCollections.java b/src/main/java/org/springframework/data/util/CustomCollections.java index 485b11c67f..d38172665b 100644 --- a/src/main/java/org/springframework/data/util/CustomCollections.java +++ b/src/main/java/org/springframework/data/util/CustomCollections.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/DefaultLock.java b/src/main/java/org/springframework/data/util/DefaultLock.java index d2c74a97a9..39a409bf04 100644 --- a/src/main/java/org/springframework/data/util/DefaultLock.java +++ b/src/main/java/org/springframework/data/util/DefaultLock.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/DefaultReadWriteLock.java b/src/main/java/org/springframework/data/util/DefaultReadWriteLock.java index 5ed56267d3..538c2b0252 100644 --- a/src/main/java/org/springframework/data/util/DefaultReadWriteLock.java +++ b/src/main/java/org/springframework/data/util/DefaultReadWriteLock.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/DelegatingTypeScanner.java b/src/main/java/org/springframework/data/util/DelegatingTypeScanner.java index 4ea76ac375..a6d5c13463 100644 --- a/src/main/java/org/springframework/data/util/DelegatingTypeScanner.java +++ b/src/main/java/org/springframework/data/util/DelegatingTypeScanner.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/DirectFieldAccessFallbackBeanWrapper.java b/src/main/java/org/springframework/data/util/DirectFieldAccessFallbackBeanWrapper.java index 5b81df6a4c..1371ce1157 100644 --- a/src/main/java/org/springframework/data/util/DirectFieldAccessFallbackBeanWrapper.java +++ b/src/main/java/org/springframework/data/util/DirectFieldAccessFallbackBeanWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/IteratorSpliterator.java b/src/main/java/org/springframework/data/util/IteratorSpliterator.java index 6cfb376296..8d5156277f 100644 --- a/src/main/java/org/springframework/data/util/IteratorSpliterator.java +++ b/src/main/java/org/springframework/data/util/IteratorSpliterator.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java index 8d2104ae72..69d38de146 100644 --- a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java +++ b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/KotlinReflectionUtils.java b/src/main/java/org/springframework/data/util/KotlinReflectionUtils.java index f958bdc520..657022661c 100644 --- a/src/main/java/org/springframework/data/util/KotlinReflectionUtils.java +++ b/src/main/java/org/springframework/data/util/KotlinReflectionUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/Lazy.java b/src/main/java/org/springframework/data/util/Lazy.java index 555a0b97eb..748e4e6681 100644 --- a/src/main/java/org/springframework/data/util/Lazy.java +++ b/src/main/java/org/springframework/data/util/Lazy.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/LazyStreamable.java b/src/main/java/org/springframework/data/util/LazyStreamable.java index 65a926d8c4..59cbbf7c82 100644 --- a/src/main/java/org/springframework/data/util/LazyStreamable.java +++ b/src/main/java/org/springframework/data/util/LazyStreamable.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/Lock.java b/src/main/java/org/springframework/data/util/Lock.java index 2b60b0d408..9eab29f559 100644 --- a/src/main/java/org/springframework/data/util/Lock.java +++ b/src/main/java/org/springframework/data/util/Lock.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/MethodInvocationRecorder.java b/src/main/java/org/springframework/data/util/MethodInvocationRecorder.java index dca81898f2..869d9edf76 100644 --- a/src/main/java/org/springframework/data/util/MethodInvocationRecorder.java +++ b/src/main/java/org/springframework/data/util/MethodInvocationRecorder.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/MultiValueMapCollector.java b/src/main/java/org/springframework/data/util/MultiValueMapCollector.java index e334d87793..3f3be5fdb1 100644 --- a/src/main/java/org/springframework/data/util/MultiValueMapCollector.java +++ b/src/main/java/org/springframework/data/util/MultiValueMapCollector.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/NullableUtils.java b/src/main/java/org/springframework/data/util/NullableUtils.java index 6ea9ce87b5..c0604c4510 100644 --- a/src/main/java/org/springframework/data/util/NullableUtils.java +++ b/src/main/java/org/springframework/data/util/NullableUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/NullableWrapper.java b/src/main/java/org/springframework/data/util/NullableWrapper.java index c31b901f09..6f4d4cb408 100644 --- a/src/main/java/org/springframework/data/util/NullableWrapper.java +++ b/src/main/java/org/springframework/data/util/NullableWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/NullableWrapperConverters.java b/src/main/java/org/springframework/data/util/NullableWrapperConverters.java index 0fb04a0cc0..12b4aa56da 100644 --- a/src/main/java/org/springframework/data/util/NullableWrapperConverters.java +++ b/src/main/java/org/springframework/data/util/NullableWrapperConverters.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/Optionals.java b/src/main/java/org/springframework/data/util/Optionals.java index 71fefbde0d..efc8bff25b 100644 --- a/src/main/java/org/springframework/data/util/Optionals.java +++ b/src/main/java/org/springframework/data/util/Optionals.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/Pair.java b/src/main/java/org/springframework/data/util/Pair.java index 76861a796e..b041b69bc0 100644 --- a/src/main/java/org/springframework/data/util/Pair.java +++ b/src/main/java/org/springframework/data/util/Pair.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/ParameterTypes.java b/src/main/java/org/springframework/data/util/ParameterTypes.java index e6a927588c..03f7b8dd97 100644 --- a/src/main/java/org/springframework/data/util/ParameterTypes.java +++ b/src/main/java/org/springframework/data/util/ParameterTypes.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/ParsingUtils.java b/src/main/java/org/springframework/data/util/ParsingUtils.java index 170ce6cd19..1f6f146582 100644 --- a/src/main/java/org/springframework/data/util/ParsingUtils.java +++ b/src/main/java/org/springframework/data/util/ParsingUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/Predicates.java b/src/main/java/org/springframework/data/util/Predicates.java index ff50758c36..f8ca3ec5b8 100644 --- a/src/main/java/org/springframework/data/util/Predicates.java +++ b/src/main/java/org/springframework/data/util/Predicates.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/ProxyUtils.java b/src/main/java/org/springframework/data/util/ProxyUtils.java index eee2c47104..9ba83bd763 100644 --- a/src/main/java/org/springframework/data/util/ProxyUtils.java +++ b/src/main/java/org/springframework/data/util/ProxyUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/QTypeContributor.java b/src/main/java/org/springframework/data/util/QTypeContributor.java index d5c804d3b5..bc69d62970 100644 --- a/src/main/java/org/springframework/data/util/QTypeContributor.java +++ b/src/main/java/org/springframework/data/util/QTypeContributor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/ReactiveWrappers.java b/src/main/java/org/springframework/data/util/ReactiveWrappers.java index 6802918b1c..98a353e2b9 100644 --- a/src/main/java/org/springframework/data/util/ReactiveWrappers.java +++ b/src/main/java/org/springframework/data/util/ReactiveWrappers.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/ReadWriteLock.java b/src/main/java/org/springframework/data/util/ReadWriteLock.java index c9dd8e9055..01e2ca7bcc 100644 --- a/src/main/java/org/springframework/data/util/ReadWriteLock.java +++ b/src/main/java/org/springframework/data/util/ReadWriteLock.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/ReflectionUtils.java b/src/main/java/org/springframework/data/util/ReflectionUtils.java index 2809f2ec39..6ad97f8c19 100644 --- a/src/main/java/org/springframework/data/util/ReflectionUtils.java +++ b/src/main/java/org/springframework/data/util/ReflectionUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/StreamUtils.java b/src/main/java/org/springframework/data/util/StreamUtils.java index 12748f8394..a4fc62b2a3 100644 --- a/src/main/java/org/springframework/data/util/StreamUtils.java +++ b/src/main/java/org/springframework/data/util/StreamUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/Streamable.java b/src/main/java/org/springframework/data/util/Streamable.java index a4ddd9228a..a51e104a04 100644 --- a/src/main/java/org/springframework/data/util/Streamable.java +++ b/src/main/java/org/springframework/data/util/Streamable.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/TypeCollector.java b/src/main/java/org/springframework/data/util/TypeCollector.java index fb42eb0451..dfbfbe4cc7 100644 --- a/src/main/java/org/springframework/data/util/TypeCollector.java +++ b/src/main/java/org/springframework/data/util/TypeCollector.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/TypeContributor.java b/src/main/java/org/springframework/data/util/TypeContributor.java index f93c381305..a98672f6da 100644 --- a/src/main/java/org/springframework/data/util/TypeContributor.java +++ b/src/main/java/org/springframework/data/util/TypeContributor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/TypeDiscoverer.java b/src/main/java/org/springframework/data/util/TypeDiscoverer.java index f8f80a405e..bb7d6b83a9 100644 --- a/src/main/java/org/springframework/data/util/TypeDiscoverer.java +++ b/src/main/java/org/springframework/data/util/TypeDiscoverer.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/TypeInformation.java b/src/main/java/org/springframework/data/util/TypeInformation.java index 2b08f3dd08..708f458d22 100644 --- a/src/main/java/org/springframework/data/util/TypeInformation.java +++ b/src/main/java/org/springframework/data/util/TypeInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/TypeScanner.java b/src/main/java/org/springframework/data/util/TypeScanner.java index 6a009ac7be..0758cf9c05 100644 --- a/src/main/java/org/springframework/data/util/TypeScanner.java +++ b/src/main/java/org/springframework/data/util/TypeScanner.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/TypeUtils.java b/src/main/java/org/springframework/data/util/TypeUtils.java index 54e1798428..30cfcb6d1c 100644 --- a/src/main/java/org/springframework/data/util/TypeUtils.java +++ b/src/main/java/org/springframework/data/util/TypeUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/util/Version.java b/src/main/java/org/springframework/data/util/Version.java index dd87792096..79973a6d1f 100644 --- a/src/main/java/org/springframework/data/util/Version.java +++ b/src/main/java/org/springframework/data/util/Version.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolver.java index eb3968ac35..01e3c8a106 100644 --- a/src/main/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolver.java index e4b29ecce8..179eeaf2f0 100644 --- a/src/main/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/JsonPath.java b/src/main/java/org/springframework/data/web/JsonPath.java index a5938ecf56..8e9287b855 100644 --- a/src/main/java/org/springframework/data/web/JsonPath.java +++ b/src/main/java/org/springframework/data/web/JsonPath.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java b/src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java index a67243ca8a..d3569f18f8 100644 --- a/src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java +++ b/src/main/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/MapDataBinder.java b/src/main/java/org/springframework/data/web/MapDataBinder.java index c4dd74a40f..20f28b1c1f 100644 --- a/src/main/java/org/springframework/data/web/MapDataBinder.java +++ b/src/main/java/org/springframework/data/web/MapDataBinder.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/OffsetScrollPositionArgumentResolver.java b/src/main/java/org/springframework/data/web/OffsetScrollPositionArgumentResolver.java index 6812251416..025d1f32cd 100644 --- a/src/main/java/org/springframework/data/web/OffsetScrollPositionArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/OffsetScrollPositionArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolver.java index 105f3170b6..ecd507a62e 100644 --- a/src/main/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolverSupport.java b/src/main/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolverSupport.java index 10758daedb..8cd33ac57d 100644 --- a/src/main/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolverSupport.java +++ b/src/main/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolverSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/PageableArgumentResolver.java b/src/main/java/org/springframework/data/web/PageableArgumentResolver.java index 32e1e15793..58c34a1130 100644 --- a/src/main/java/org/springframework/data/web/PageableArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/PageableArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/PageableDefault.java b/src/main/java/org/springframework/data/web/PageableDefault.java index cd2de06b8c..14654fa359 100644 --- a/src/main/java/org/springframework/data/web/PageableDefault.java +++ b/src/main/java/org/springframework/data/web/PageableDefault.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java index 49c4460c20..c4eb9b25d2 100644 --- a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java index 5b085e0360..636199c990 100644 --- a/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java +++ b/src/main/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/PageableMethodParameterUtils.java b/src/main/java/org/springframework/data/web/PageableMethodParameterUtils.java index f3c57e54d8..b37c8399b4 100644 --- a/src/main/java/org/springframework/data/web/PageableMethodParameterUtils.java +++ b/src/main/java/org/springframework/data/web/PageableMethodParameterUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/PagedModel.java b/src/main/java/org/springframework/data/web/PagedModel.java index a7a891bf7c..3c727fc3ad 100644 --- a/src/main/java/org/springframework/data/web/PagedModel.java +++ b/src/main/java/org/springframework/data/web/PagedModel.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/PagedResourcesAssembler.java b/src/main/java/org/springframework/data/web/PagedResourcesAssembler.java index 27b8b5306e..c4d91ead83 100644 --- a/src/main/java/org/springframework/data/web/PagedResourcesAssembler.java +++ b/src/main/java/org/springframework/data/web/PagedResourcesAssembler.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolver.java b/src/main/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolver.java index 5168933aef..1eee4d3b18 100644 --- a/src/main/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/ProjectedPayload.java b/src/main/java/org/springframework/data/web/ProjectedPayload.java index e43e7aca7e..51dbd7d3d5 100644 --- a/src/main/java/org/springframework/data/web/ProjectedPayload.java +++ b/src/main/java/org/springframework/data/web/ProjectedPayload.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverter.java b/src/main/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverter.java index 2b5fb5de24..566602ca05 100644 --- a/src/main/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverter.java +++ b/src/main/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java index 0d4313b4a8..e5bf588c6f 100644 --- a/src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/ReactiveOffsetScrollPositionHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/ReactiveOffsetScrollPositionHandlerMethodArgumentResolver.java index 7cfddf62c8..0db39b038c 100644 --- a/src/main/java/org/springframework/data/web/ReactiveOffsetScrollPositionHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/ReactiveOffsetScrollPositionHandlerMethodArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolver.java index 6f24737f40..23246b29d8 100644 --- a/src/main/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolver.java index 4ad41491ec..e001c94fa9 100644 --- a/src/main/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/SlicedResourcesAssembler.java b/src/main/java/org/springframework/data/web/SlicedResourcesAssembler.java index e5a79b8c46..876707b7d2 100644 --- a/src/main/java/org/springframework/data/web/SlicedResourcesAssembler.java +++ b/src/main/java/org/springframework/data/web/SlicedResourcesAssembler.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/SlicedResourcesAssemblerArgumentResolver.java b/src/main/java/org/springframework/data/web/SlicedResourcesAssemblerArgumentResolver.java index c31d382338..c224bf0afd 100644 --- a/src/main/java/org/springframework/data/web/SlicedResourcesAssemblerArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/SlicedResourcesAssemblerArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/SortArgumentResolver.java b/src/main/java/org/springframework/data/web/SortArgumentResolver.java index bba155f8af..7db0861236 100644 --- a/src/main/java/org/springframework/data/web/SortArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/SortArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/SortDefault.java b/src/main/java/org/springframework/data/web/SortDefault.java index e15d9754e4..0e59c8cfda 100644 --- a/src/main/java/org/springframework/data/web/SortDefault.java +++ b/src/main/java/org/springframework/data/web/SortDefault.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolver.java b/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolver.java index 7f3c60230d..9ec1dcb0d0 100644 --- a/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java b/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java index a2bab6553e..6f6127dfd6 100644 --- a/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java +++ b/src/main/java/org/springframework/data/web/SortHandlerMethodArgumentResolverSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/SpringDataAnnotationUtils.java b/src/main/java/org/springframework/data/web/SpringDataAnnotationUtils.java index 04f2b1e895..9c9caff233 100644 --- a/src/main/java/org/springframework/data/web/SpringDataAnnotationUtils.java +++ b/src/main/java/org/springframework/data/web/SpringDataAnnotationUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java b/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java index 61680d2182..d82ed73f83 100644 --- a/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java +++ b/src/main/java/org/springframework/data/web/XmlBeamHttpMessageConverter.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java b/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java index 68f01f4527..eda2daf7e9 100644 --- a/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java +++ b/src/main/java/org/springframework/data/web/aot/WebRuntimeHints.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java index 7b115d2d2e..aae4f2015d 100644 --- a/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java +++ b/src/main/java/org/springframework/data/web/config/EnableSpringDataWebSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/HateoasAwareSpringDataWebConfiguration.java b/src/main/java/org/springframework/data/web/config/HateoasAwareSpringDataWebConfiguration.java index f97ffbfaa8..2bfe0f0055 100644 --- a/src/main/java/org/springframework/data/web/config/HateoasAwareSpringDataWebConfiguration.java +++ b/src/main/java/org/springframework/data/web/config/HateoasAwareSpringDataWebConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/OffsetScrollPositionHandlerMethodArgumentResolverCustomizer.java b/src/main/java/org/springframework/data/web/config/OffsetScrollPositionHandlerMethodArgumentResolverCustomizer.java index 4c42f2ac8a..33a954215d 100644 --- a/src/main/java/org/springframework/data/web/config/OffsetScrollPositionHandlerMethodArgumentResolverCustomizer.java +++ b/src/main/java/org/springframework/data/web/config/OffsetScrollPositionHandlerMethodArgumentResolverCustomizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/PageableHandlerMethodArgumentResolverCustomizer.java b/src/main/java/org/springframework/data/web/config/PageableHandlerMethodArgumentResolverCustomizer.java index 0d6cfb4381..310527dfa6 100644 --- a/src/main/java/org/springframework/data/web/config/PageableHandlerMethodArgumentResolverCustomizer.java +++ b/src/main/java/org/springframework/data/web/config/PageableHandlerMethodArgumentResolverCustomizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/ProjectingArgumentResolverRegistrar.java b/src/main/java/org/springframework/data/web/config/ProjectingArgumentResolverRegistrar.java index 3e6badd215..1f04779119 100644 --- a/src/main/java/org/springframework/data/web/config/ProjectingArgumentResolverRegistrar.java +++ b/src/main/java/org/springframework/data/web/config/ProjectingArgumentResolverRegistrar.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/QuerydslWebConfiguration.java b/src/main/java/org/springframework/data/web/config/QuerydslWebConfiguration.java index 5fc9bd13b8..7885bf8ff5 100644 --- a/src/main/java/org/springframework/data/web/config/QuerydslWebConfiguration.java +++ b/src/main/java/org/springframework/data/web/config/QuerydslWebConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/ReactiveQuerydslWebConfiguration.java b/src/main/java/org/springframework/data/web/config/ReactiveQuerydslWebConfiguration.java index 4924fc543d..16199ef447 100644 --- a/src/main/java/org/springframework/data/web/config/ReactiveQuerydslWebConfiguration.java +++ b/src/main/java/org/springframework/data/web/config/ReactiveQuerydslWebConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/SortHandlerMethodArgumentResolverCustomizer.java b/src/main/java/org/springframework/data/web/config/SortHandlerMethodArgumentResolverCustomizer.java index f5e9ec21c9..5daaef4d14 100644 --- a/src/main/java/org/springframework/data/web/config/SortHandlerMethodArgumentResolverCustomizer.java +++ b/src/main/java/org/springframework/data/web/config/SortHandlerMethodArgumentResolverCustomizer.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java b/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java index 460abe39bd..00d8357f0c 100644 --- a/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java +++ b/src/main/java/org/springframework/data/web/config/SpringDataJacksonConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/SpringDataJacksonModules.java b/src/main/java/org/springframework/data/web/config/SpringDataJacksonModules.java index 35f4607f4e..4269bf34d1 100644 --- a/src/main/java/org/springframework/data/web/config/SpringDataJacksonModules.java +++ b/src/main/java/org/springframework/data/web/config/SpringDataJacksonModules.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/SpringDataWebConfiguration.java b/src/main/java/org/springframework/data/web/config/SpringDataWebConfiguration.java index ff7851c6a1..6d5fc8413d 100644 --- a/src/main/java/org/springframework/data/web/config/SpringDataWebConfiguration.java +++ b/src/main/java/org/springframework/data/web/config/SpringDataWebConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/config/SpringDataWebSettings.java b/src/main/java/org/springframework/data/web/config/SpringDataWebSettings.java index e4072ef14d..da2a584ed1 100644 --- a/src/main/java/org/springframework/data/web/config/SpringDataWebSettings.java +++ b/src/main/java/org/springframework/data/web/config/SpringDataWebSettings.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolver.java b/src/main/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolver.java index eed3cda189..74627dc10e 100644 --- a/src/main/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverSupport.java b/src/main/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverSupport.java index 98362acb15..096ad88a46 100644 --- a/src/main/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverSupport.java +++ b/src/main/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverSupport.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/main/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolver.java b/src/main/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolver.java index d6eb96be6f..7f1992a380 100644 --- a/src/main/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolver.java +++ b/src/main/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolver.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/main/kotlin/org/springframework/data/mapping/KPropertyPath.kt b/src/main/kotlin/org/springframework/data/mapping/KPropertyPath.kt index 1e0a781837..ec1cab4943 100644 --- a/src/main/kotlin/org/springframework/data/mapping/KPropertyPath.kt +++ b/src/main/kotlin/org/springframework/data/mapping/KPropertyPath.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/kotlin/org/springframework/data/mapping/KPropertyPathExtensions.kt b/src/main/kotlin/org/springframework/data/mapping/KPropertyPathExtensions.kt index 9124252586..b0f27ed814 100644 --- a/src/main/kotlin/org/springframework/data/mapping/KPropertyPathExtensions.kt +++ b/src/main/kotlin/org/springframework/data/mapping/KPropertyPathExtensions.kt @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/main/kotlin/org/springframework/data/repository/CrudRepositoryExtensions.kt b/src/main/kotlin/org/springframework/data/repository/CrudRepositoryExtensions.kt index 8daabe60b7..44c67742a4 100644 --- a/src/main/kotlin/org/springframework/data/repository/CrudRepositoryExtensions.kt +++ b/src/main/kotlin/org/springframework/data/repository/CrudRepositoryExtensions.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/main/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepository.kt b/src/main/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepository.kt index 2bb94749d5..948f351ea9 100644 --- a/src/main/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepository.kt +++ b/src/main/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepository.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/main/kotlin/org/springframework/data/repository/kotlin/CoroutineSortingRepository.kt b/src/main/kotlin/org/springframework/data/repository/kotlin/CoroutineSortingRepository.kt index c199398fcc..7175e70629 100644 --- a/src/main/kotlin/org/springframework/data/repository/kotlin/CoroutineSortingRepository.kt +++ b/src/main/kotlin/org/springframework/data/repository/kotlin/CoroutineSortingRepository.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/benchmark/org/springframework/data/convert/PropertyValueConversionServiceUnitTests.java b/src/test/benchmark/org/springframework/data/convert/PropertyValueConversionServiceUnitTests.java index a6e1647c73..737d458c96 100644 --- a/src/test/benchmark/org/springframework/data/convert/PropertyValueConversionServiceUnitTests.java +++ b/src/test/benchmark/org/springframework/data/convert/PropertyValueConversionServiceUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/TypeInDefaultPackage.java b/src/test/java/TypeInDefaultPackage.java index c0872cdc39..68f336395f 100644 --- a/src/test/java/TypeInDefaultPackage.java +++ b/src/test/java/TypeInDefaultPackage.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/example/SampleInterface.java b/src/test/java/example/SampleInterface.java index df4670612e..1d57aa2cf8 100644 --- a/src/test/java/example/SampleInterface.java +++ b/src/test/java/example/SampleInterface.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/DependencyTests.java b/src/test/java/org/springframework/data/DependencyTests.java index 5d3ac78192..051f5a489a 100644 --- a/src/test/java/org/springframework/data/DependencyTests.java +++ b/src/test/java/org/springframework/data/DependencyTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/annotation/TypeAliasUnitTests.java b/src/test/java/org/springframework/data/annotation/TypeAliasUnitTests.java index c494f6f2aa..bae2c44f9f 100755 --- a/src/test/java/org/springframework/data/annotation/TypeAliasUnitTests.java +++ b/src/test/java/org/springframework/data/annotation/TypeAliasUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/AotTestCodeContributionBuilder.java b/src/test/java/org/springframework/data/aot/AotTestCodeContributionBuilder.java index acea84a57a..7e2cf01d68 100644 --- a/src/test/java/org/springframework/data/aot/AotTestCodeContributionBuilder.java +++ b/src/test/java/org/springframework/data/aot/AotTestCodeContributionBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/AuditingBeanRegistrationAotProcessorUnitTests.java b/src/test/java/org/springframework/data/aot/AuditingBeanRegistrationAotProcessorUnitTests.java index 85ca2870d1..f8cfefeded 100644 --- a/src/test/java/org/springframework/data/aot/AuditingBeanRegistrationAotProcessorUnitTests.java +++ b/src/test/java/org/springframework/data/aot/AuditingBeanRegistrationAotProcessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/BeanRegistrationContributionAssert.java b/src/test/java/org/springframework/data/aot/BeanRegistrationContributionAssert.java index 05372a6cd5..9fefdf4cd2 100644 --- a/src/test/java/org/springframework/data/aot/BeanRegistrationContributionAssert.java +++ b/src/test/java/org/springframework/data/aot/BeanRegistrationContributionAssert.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/CodeContributionAssert.java b/src/test/java/org/springframework/data/aot/CodeContributionAssert.java index db5fbfd5b2..a7f7cd4a34 100644 --- a/src/test/java/org/springframework/data/aot/CodeContributionAssert.java +++ b/src/test/java/org/springframework/data/aot/CodeContributionAssert.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/DeferredTypeBuilder.java b/src/test/java/org/springframework/data/aot/DeferredTypeBuilder.java index 9013a9e621..53e767eeb9 100644 --- a/src/test/java/org/springframework/data/aot/DeferredTypeBuilder.java +++ b/src/test/java/org/springframework/data/aot/DeferredTypeBuilder.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/JdkProxyAssert.java b/src/test/java/org/springframework/data/aot/JdkProxyAssert.java index fe6ad97937..988a684fcf 100644 --- a/src/test/java/org/springframework/data/aot/JdkProxyAssert.java +++ b/src/test/java/org/springframework/data/aot/JdkProxyAssert.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/ManagedTypesBeanFactoryInitializationAotProcessorUnitTests.java b/src/test/java/org/springframework/data/aot/ManagedTypesBeanFactoryInitializationAotProcessorUnitTests.java index 1bd74d691e..181c0688b9 100644 --- a/src/test/java/org/springframework/data/aot/ManagedTypesBeanFactoryInitializationAotProcessorUnitTests.java +++ b/src/test/java/org/springframework/data/aot/ManagedTypesBeanFactoryInitializationAotProcessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/ManagedTypesBeanRegistrationAotProcessorUnitTests.java b/src/test/java/org/springframework/data/aot/ManagedTypesBeanRegistrationAotProcessorUnitTests.java index b28ec634f5..46dc856877 100644 --- a/src/test/java/org/springframework/data/aot/ManagedTypesBeanRegistrationAotProcessorUnitTests.java +++ b/src/test/java/org/springframework/data/aot/ManagedTypesBeanRegistrationAotProcessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/MockBeanRegistrationCode.java b/src/test/java/org/springframework/data/aot/MockBeanRegistrationCode.java index 1846c10f26..48b46d79d1 100644 --- a/src/test/java/org/springframework/data/aot/MockBeanRegistrationCode.java +++ b/src/test/java/org/springframework/data/aot/MockBeanRegistrationCode.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/TypeCollectorUnitTests.java b/src/test/java/org/springframework/data/aot/TypeCollectorUnitTests.java index a8692d46b0..2c6574f4ff 100644 --- a/src/test/java/org/springframework/data/aot/TypeCollectorUnitTests.java +++ b/src/test/java/org/springframework/data/aot/TypeCollectorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomFactoryBeanBaseClass.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomFactoryBeanBaseClass.java index 93cdbb52ec..753fed2fb4 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomFactoryBeanBaseClass.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomFactoryBeanBaseClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomImplementation.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomImplementation.java index 228b24daea..12cb07ad38 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomImplementation.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomImplementation.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomRepositoryBaseClass.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomRepositoryBaseClass.java index 38f9a344e3..29d7471593 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomRepositoryBaseClass.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithCustomRepositoryBaseClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ConfigWithFragments.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithFragments.java index e6da090d64..4c653d1c2d 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithFragments.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithFragments.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ConfigWithQueryMethods.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithQueryMethods.java index 4a8642792d..cfc53c83ce 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithQueryMethods.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithQueryMethods.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ConfigWithQuerydslPredicateExecutor.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithQuerydslPredicateExecutor.java index fba88c179a..eedf6c791d 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithQuerydslPredicateExecutor.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithQuerydslPredicateExecutor.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ConfigWithSimpleCrudRepository.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithSimpleCrudRepository.java index 8deccea8f0..09236c4418 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithSimpleCrudRepository.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithSimpleCrudRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ConfigWithTransactionManagerPresent.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithTransactionManagerPresent.java index 3e3d54da43..06afa87379 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithTransactionManagerPresent.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithTransactionManagerPresent.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ConfigWithTransactionManagerPresentAndAtComponentAnnotatedRepository.java b/src/test/java/org/springframework/data/aot/sample/ConfigWithTransactionManagerPresentAndAtComponentAnnotatedRepository.java index 0af01f2580..d7a1054e61 100644 --- a/src/test/java/org/springframework/data/aot/sample/ConfigWithTransactionManagerPresentAndAtComponentAnnotatedRepository.java +++ b/src/test/java/org/springframework/data/aot/sample/ConfigWithTransactionManagerPresentAndAtComponentAnnotatedRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/QConfigWithQuerydslPredicateExecutor_Person.java b/src/test/java/org/springframework/data/aot/sample/QConfigWithQuerydslPredicateExecutor_Person.java index 5b2ea2dca2..7a3bba4826 100644 --- a/src/test/java/org/springframework/data/aot/sample/QConfigWithQuerydslPredicateExecutor_Person.java +++ b/src/test/java/org/springframework/data/aot/sample/QConfigWithQuerydslPredicateExecutor_Person.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/sample/ReactiveConfig.java b/src/test/java/org/springframework/data/aot/sample/ReactiveConfig.java index f655aecaed..5b77c22ac1 100644 --- a/src/test/java/org/springframework/data/aot/sample/ReactiveConfig.java +++ b/src/test/java/org/springframework/data/aot/sample/ReactiveConfig.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/AbstractType.java b/src/test/java/org/springframework/data/aot/types/AbstractType.java index 3a300ead20..2dc6baa0a8 100644 --- a/src/test/java/org/springframework/data/aot/types/AbstractType.java +++ b/src/test/java/org/springframework/data/aot/types/AbstractType.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/Address.java b/src/test/java/org/springframework/data/aot/types/Address.java index 29bd631959..257de06e4e 100644 --- a/src/test/java/org/springframework/data/aot/types/Address.java +++ b/src/test/java/org/springframework/data/aot/types/Address.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/BaseEntity.java b/src/test/java/org/springframework/data/aot/types/BaseEntity.java index 98d0bfa934..997a00adce 100644 --- a/src/test/java/org/springframework/data/aot/types/BaseEntity.java +++ b/src/test/java/org/springframework/data/aot/types/BaseEntity.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/Customer.java b/src/test/java/org/springframework/data/aot/types/Customer.java index 2ffa43d245..19ea424e7a 100644 --- a/src/test/java/org/springframework/data/aot/types/Customer.java +++ b/src/test/java/org/springframework/data/aot/types/Customer.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/CyclicGenerics.java b/src/test/java/org/springframework/data/aot/types/CyclicGenerics.java index e1279929f3..9f09b03f5a 100644 --- a/src/test/java/org/springframework/data/aot/types/CyclicGenerics.java +++ b/src/test/java/org/springframework/data/aot/types/CyclicGenerics.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/CyclicPropertiesA.java b/src/test/java/org/springframework/data/aot/types/CyclicPropertiesA.java index 0db1ecd770..73756bf3cf 100644 --- a/src/test/java/org/springframework/data/aot/types/CyclicPropertiesA.java +++ b/src/test/java/org/springframework/data/aot/types/CyclicPropertiesA.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/CyclicPropertiesB.java b/src/test/java/org/springframework/data/aot/types/CyclicPropertiesB.java index 445cbba62a..7ba65506d6 100644 --- a/src/test/java/org/springframework/data/aot/types/CyclicPropertiesB.java +++ b/src/test/java/org/springframework/data/aot/types/CyclicPropertiesB.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/CyclicPropertiesSelf.java b/src/test/java/org/springframework/data/aot/types/CyclicPropertiesSelf.java index 5a867ddab9..e370042d57 100644 --- a/src/test/java/org/springframework/data/aot/types/CyclicPropertiesSelf.java +++ b/src/test/java/org/springframework/data/aot/types/CyclicPropertiesSelf.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/DomainObjectWithSimpleTypesOnly.java b/src/test/java/org/springframework/data/aot/types/DomainObjectWithSimpleTypesOnly.java index 7eb7bb58b9..a539e796f9 100644 --- a/src/test/java/org/springframework/data/aot/types/DomainObjectWithSimpleTypesOnly.java +++ b/src/test/java/org/springframework/data/aot/types/DomainObjectWithSimpleTypesOnly.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/EmptyType1.java b/src/test/java/org/springframework/data/aot/types/EmptyType1.java index 2f17f64894..a7db212c90 100644 --- a/src/test/java/org/springframework/data/aot/types/EmptyType1.java +++ b/src/test/java/org/springframework/data/aot/types/EmptyType1.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/EmptyType2.java b/src/test/java/org/springframework/data/aot/types/EmptyType2.java index 4afd0ca9dc..2970d4af01 100644 --- a/src/test/java/org/springframework/data/aot/types/EmptyType2.java +++ b/src/test/java/org/springframework/data/aot/types/EmptyType2.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/FieldsAndMethods.java b/src/test/java/org/springframework/data/aot/types/FieldsAndMethods.java index 755d054f00..de95bbc3f7 100644 --- a/src/test/java/org/springframework/data/aot/types/FieldsAndMethods.java +++ b/src/test/java/org/springframework/data/aot/types/FieldsAndMethods.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/InterfaceType.java b/src/test/java/org/springframework/data/aot/types/InterfaceType.java index 0d88f3b5c4..b0642e472e 100644 --- a/src/test/java/org/springframework/data/aot/types/InterfaceType.java +++ b/src/test/java/org/springframework/data/aot/types/InterfaceType.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/LocationHolder.java b/src/test/java/org/springframework/data/aot/types/LocationHolder.java index e3220cc962..42acc02010 100644 --- a/src/test/java/org/springframework/data/aot/types/LocationHolder.java +++ b/src/test/java/org/springframework/data/aot/types/LocationHolder.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/ProjectionInterface.java b/src/test/java/org/springframework/data/aot/types/ProjectionInterface.java index 55c910dbf5..e3d608fbda 100644 --- a/src/test/java/org/springframework/data/aot/types/ProjectionInterface.java +++ b/src/test/java/org/springframework/data/aot/types/ProjectionInterface.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/TypesInMethodSignatures.java b/src/test/java/org/springframework/data/aot/types/TypesInMethodSignatures.java index b6cb2ae214..71cada633c 100644 --- a/src/test/java/org/springframework/data/aot/types/TypesInMethodSignatures.java +++ b/src/test/java/org/springframework/data/aot/types/TypesInMethodSignatures.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/aot/types/WithDeclaredClass.java b/src/test/java/org/springframework/data/aot/types/WithDeclaredClass.java index ced34a7309..a98b5b1985 100644 --- a/src/test/java/org/springframework/data/aot/types/WithDeclaredClass.java +++ b/src/test/java/org/springframework/data/aot/types/WithDeclaredClass.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/AnnotatedUser.java b/src/test/java/org/springframework/data/auditing/AnnotatedUser.java index 0acf9eef61..38464e546e 100644 --- a/src/test/java/org/springframework/data/auditing/AnnotatedUser.java +++ b/src/test/java/org/springframework/data/auditing/AnnotatedUser.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/AnnotationAuditingMetadataUnitTests.java b/src/test/java/org/springframework/data/auditing/AnnotationAuditingMetadataUnitTests.java index b6ceb70991..fa038aba3f 100755 --- a/src/test/java/org/springframework/data/auditing/AnnotationAuditingMetadataUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/AnnotationAuditingMetadataUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/AuditedUser.java b/src/test/java/org/springframework/data/auditing/AuditedUser.java index 70f59e15eb..21ac67ccd9 100644 --- a/src/test/java/org/springframework/data/auditing/AuditedUser.java +++ b/src/test/java/org/springframework/data/auditing/AuditedUser.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/AuditingHandlerUnitTests.java b/src/test/java/org/springframework/data/auditing/AuditingHandlerUnitTests.java index 46c1c9abf5..fa5c9f7b49 100755 --- a/src/test/java/org/springframework/data/auditing/AuditingHandlerUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/AuditingHandlerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/AuditorUnitTests.java b/src/test/java/org/springframework/data/auditing/AuditorUnitTests.java index 3ce34a65b4..e9b52f4abe 100644 --- a/src/test/java/org/springframework/data/auditing/AuditorUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/AuditorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/DefaultAuditableBeanWrapperFactoryUnitTests.java b/src/test/java/org/springframework/data/auditing/DefaultAuditableBeanWrapperFactoryUnitTests.java index 230bb41cf9..474779555e 100755 --- a/src/test/java/org/springframework/data/auditing/DefaultAuditableBeanWrapperFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/DefaultAuditableBeanWrapperFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/EnableAuditing.java b/src/test/java/org/springframework/data/auditing/EnableAuditing.java index 8face7fd12..6e467c6de6 100644 --- a/src/test/java/org/springframework/data/auditing/EnableAuditing.java +++ b/src/test/java/org/springframework/data/auditing/EnableAuditing.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/IsNewAwareAuditingHandlerUnitTests.java b/src/test/java/org/springframework/data/auditing/IsNewAwareAuditingHandlerUnitTests.java index 3f45213024..fcd44a3fe9 100755 --- a/src/test/java/org/springframework/data/auditing/IsNewAwareAuditingHandlerUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/IsNewAwareAuditingHandlerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/Jsr310AuditedUser.java b/src/test/java/org/springframework/data/auditing/Jsr310AuditedUser.java index 4d09a2916b..2ea7b75c72 100644 --- a/src/test/java/org/springframework/data/auditing/Jsr310AuditedUser.java +++ b/src/test/java/org/springframework/data/auditing/Jsr310AuditedUser.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/MappingAuditableBeanWrapperFactoryUnitTests.java b/src/test/java/org/springframework/data/auditing/MappingAuditableBeanWrapperFactoryUnitTests.java index ed9447048c..0a4340e904 100755 --- a/src/test/java/org/springframework/data/auditing/MappingAuditableBeanWrapperFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/MappingAuditableBeanWrapperFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/ReactiveAuditingHandlerUnitTests.java b/src/test/java/org/springframework/data/auditing/ReactiveAuditingHandlerUnitTests.java index ec0f74a5b5..b69f341dbc 100755 --- a/src/test/java/org/springframework/data/auditing/ReactiveAuditingHandlerUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/ReactiveAuditingHandlerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/ReflectionAuditingBeanWrapperUnitTests.java b/src/test/java/org/springframework/data/auditing/ReflectionAuditingBeanWrapperUnitTests.java index c538449960..fcfb47e56a 100755 --- a/src/test/java/org/springframework/data/auditing/ReflectionAuditingBeanWrapperUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/ReflectionAuditingBeanWrapperUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupportUnitTests.java b/src/test/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupportUnitTests.java index b03716e183..cc270262a5 100755 --- a/src/test/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupportUnitTests.java +++ b/src/test/java/org/springframework/data/auditing/config/AuditingBeanDefinitionRegistrarSupportUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/classloadersupport/HidingClassLoader.java b/src/test/java/org/springframework/data/classloadersupport/HidingClassLoader.java index 0ae30a868e..f4eded5215 100644 --- a/src/test/java/org/springframework/data/classloadersupport/HidingClassLoader.java +++ b/src/test/java/org/springframework/data/classloadersupport/HidingClassLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/config/TypeFilterParserUnitTests.java b/src/test/java/org/springframework/data/config/TypeFilterParserUnitTests.java index 61b7fc3938..1fb2ceb8a1 100755 --- a/src/test/java/org/springframework/data/config/TypeFilterParserUnitTests.java +++ b/src/test/java/org/springframework/data/config/TypeFilterParserUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 the original author or authors. + * Copyright 2010-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/ConfigurableTypeInformationMapperUnitTests.java b/src/test/java/org/springframework/data/convert/ConfigurableTypeInformationMapperUnitTests.java index ded8770553..3124e203a8 100755 --- a/src/test/java/org/springframework/data/convert/ConfigurableTypeInformationMapperUnitTests.java +++ b/src/test/java/org/springframework/data/convert/ConfigurableTypeInformationMapperUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/ConverterBuilderUnitTests.java b/src/test/java/org/springframework/data/convert/ConverterBuilderUnitTests.java index d3e85d4203..1c80a0eb60 100644 --- a/src/test/java/org/springframework/data/convert/ConverterBuilderUnitTests.java +++ b/src/test/java/org/springframework/data/convert/ConverterBuilderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/CustomConversionsUnitTests.java b/src/test/java/org/springframework/data/convert/CustomConversionsUnitTests.java index 6bd85b9acc..43b199dce8 100644 --- a/src/test/java/org/springframework/data/convert/CustomConversionsUnitTests.java +++ b/src/test/java/org/springframework/data/convert/CustomConversionsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/DefaultTypeMapperUnitTests.java b/src/test/java/org/springframework/data/convert/DefaultTypeMapperUnitTests.java index 971edbaf52..4dbcf8a5bf 100755 --- a/src/test/java/org/springframework/data/convert/DefaultTypeMapperUnitTests.java +++ b/src/test/java/org/springframework/data/convert/DefaultTypeMapperUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/DtoInstantiatingConverterUnitTests.java b/src/test/java/org/springframework/data/convert/DtoInstantiatingConverterUnitTests.java index 7b919af30b..949fef4df7 100644 --- a/src/test/java/org/springframework/data/convert/DtoInstantiatingConverterUnitTests.java +++ b/src/test/java/org/springframework/data/convert/DtoInstantiatingConverterUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/Jsr310ConvertersUnitTests.java b/src/test/java/org/springframework/data/convert/Jsr310ConvertersUnitTests.java index 2b5242cc8a..0a633c61ee 100644 --- a/src/test/java/org/springframework/data/convert/Jsr310ConvertersUnitTests.java +++ b/src/test/java/org/springframework/data/convert/Jsr310ConvertersUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/MappingContextTypeInformationMapperUnitTests.java b/src/test/java/org/springframework/data/convert/MappingContextTypeInformationMapperUnitTests.java index a2d1f6cf2e..a42114f48e 100755 --- a/src/test/java/org/springframework/data/convert/MappingContextTypeInformationMapperUnitTests.java +++ b/src/test/java/org/springframework/data/convert/MappingContextTypeInformationMapperUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/PropertyValueConverterFactoryUnitTests.java b/src/test/java/org/springframework/data/convert/PropertyValueConverterFactoryUnitTests.java index 2e584fa866..6cd16e7178 100644 --- a/src/test/java/org/springframework/data/convert/PropertyValueConverterFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/convert/PropertyValueConverterFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/PropertyValueConverterRegistrarUnitTests.java b/src/test/java/org/springframework/data/convert/PropertyValueConverterRegistrarUnitTests.java index 0200d1d955..ba02c5b3be 100644 --- a/src/test/java/org/springframework/data/convert/PropertyValueConverterRegistrarUnitTests.java +++ b/src/test/java/org/springframework/data/convert/PropertyValueConverterRegistrarUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/SimplePropertyValueConversionsUnitTests.java b/src/test/java/org/springframework/data/convert/SimplePropertyValueConversionsUnitTests.java index 44d446b557..f825319ad6 100644 --- a/src/test/java/org/springframework/data/convert/SimplePropertyValueConversionsUnitTests.java +++ b/src/test/java/org/springframework/data/convert/SimplePropertyValueConversionsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/SimplePropertyValueConverterRegistryUnitTests.java b/src/test/java/org/springframework/data/convert/SimplePropertyValueConverterRegistryUnitTests.java index 543b411a40..2344a28d90 100644 --- a/src/test/java/org/springframework/data/convert/SimplePropertyValueConverterRegistryUnitTests.java +++ b/src/test/java/org/springframework/data/convert/SimplePropertyValueConverterRegistryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/convert/SimpleTypeInformationMapperUnitTests.java b/src/test/java/org/springframework/data/convert/SimpleTypeInformationMapperUnitTests.java index 8b39adff38..5283d0cbc7 100755 --- a/src/test/java/org/springframework/data/convert/SimpleTypeInformationMapperUnitTests.java +++ b/src/test/java/org/springframework/data/convert/SimpleTypeInformationMapperUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/AbstractAggregateRootUnitTests.java b/src/test/java/org/springframework/data/domain/AbstractAggregateRootUnitTests.java index 2442f2375b..c1bdb6a393 100644 --- a/src/test/java/org/springframework/data/domain/AbstractAggregateRootUnitTests.java +++ b/src/test/java/org/springframework/data/domain/AbstractAggregateRootUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/AbstractPageRequestUnitTests.java b/src/test/java/org/springframework/data/domain/AbstractPageRequestUnitTests.java index 6b61561362..4da115b21c 100755 --- a/src/test/java/org/springframework/data/domain/AbstractPageRequestUnitTests.java +++ b/src/test/java/org/springframework/data/domain/AbstractPageRequestUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/DirectionUnitTests.java b/src/test/java/org/springframework/data/domain/DirectionUnitTests.java index 35462d15a8..659eca2761 100755 --- a/src/test/java/org/springframework/data/domain/DirectionUnitTests.java +++ b/src/test/java/org/springframework/data/domain/DirectionUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 the original author or authors. + * Copyright 2010-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/ExampleMatcherUnitTests.java b/src/test/java/org/springframework/data/domain/ExampleMatcherUnitTests.java index 051c07c59f..20875f0b20 100755 --- a/src/test/java/org/springframework/data/domain/ExampleMatcherUnitTests.java +++ b/src/test/java/org/springframework/data/domain/ExampleMatcherUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/ExampleUnitTests.java b/src/test/java/org/springframework/data/domain/ExampleUnitTests.java index e3d580d19f..1b8e842dac 100755 --- a/src/test/java/org/springframework/data/domain/ExampleUnitTests.java +++ b/src/test/java/org/springframework/data/domain/ExampleUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/LimitUnitTests.java b/src/test/java/org/springframework/data/domain/LimitUnitTests.java index 3741e1888e..c75068d7f3 100644 --- a/src/test/java/org/springframework/data/domain/LimitUnitTests.java +++ b/src/test/java/org/springframework/data/domain/LimitUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/ManagedTypesUnitTests.java b/src/test/java/org/springframework/data/domain/ManagedTypesUnitTests.java index 9aa785a69a..6d737a22a8 100644 --- a/src/test/java/org/springframework/data/domain/ManagedTypesUnitTests.java +++ b/src/test/java/org/springframework/data/domain/ManagedTypesUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/PageImplUnitTests.java b/src/test/java/org/springframework/data/domain/PageImplUnitTests.java index 0a6546948d..ba2969e4d2 100755 --- a/src/test/java/org/springframework/data/domain/PageImplUnitTests.java +++ b/src/test/java/org/springframework/data/domain/PageImplUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/PageRequestUnitTests.java b/src/test/java/org/springframework/data/domain/PageRequestUnitTests.java index 181d51f37e..0ffb271c29 100755 --- a/src/test/java/org/springframework/data/domain/PageRequestUnitTests.java +++ b/src/test/java/org/springframework/data/domain/PageRequestUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/RangeUnitTests.java b/src/test/java/org/springframework/data/domain/RangeUnitTests.java index 0821f9af1a..37a9dba06c 100755 --- a/src/test/java/org/springframework/data/domain/RangeUnitTests.java +++ b/src/test/java/org/springframework/data/domain/RangeUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/ScrollPositionUnitTests.java b/src/test/java/org/springframework/data/domain/ScrollPositionUnitTests.java index baf81f9b21..98f396c825 100644 --- a/src/test/java/org/springframework/data/domain/ScrollPositionUnitTests.java +++ b/src/test/java/org/springframework/data/domain/ScrollPositionUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/SortUnitTests.java b/src/test/java/org/springframework/data/domain/SortUnitTests.java index 8584ed19f8..7d03e8c6d5 100755 --- a/src/test/java/org/springframework/data/domain/SortUnitTests.java +++ b/src/test/java/org/springframework/data/domain/SortUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/UnitTestUtils.java b/src/test/java/org/springframework/data/domain/UnitTestUtils.java index 0542e58481..3280750e14 100644 --- a/src/test/java/org/springframework/data/domain/UnitTestUtils.java +++ b/src/test/java/org/springframework/data/domain/UnitTestUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2010-2024 the original author or authors. + * Copyright 2010-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/WindowIteratorUnitTests.java b/src/test/java/org/springframework/data/domain/WindowIteratorUnitTests.java index dd5f41e63b..a16780a0f5 100644 --- a/src/test/java/org/springframework/data/domain/WindowIteratorUnitTests.java +++ b/src/test/java/org/springframework/data/domain/WindowIteratorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/WindowUnitTests.java b/src/test/java/org/springframework/data/domain/WindowUnitTests.java index bda23c3a3c..2b3a309c0b 100644 --- a/src/test/java/org/springframework/data/domain/WindowUnitTests.java +++ b/src/test/java/org/springframework/data/domain/WindowUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/domain/jaxb/SpringDataJaxbUnitTests.java b/src/test/java/org/springframework/data/domain/jaxb/SpringDataJaxbUnitTests.java index bca3abb80c..5d2dcf2c48 100755 --- a/src/test/java/org/springframework/data/domain/jaxb/SpringDataJaxbUnitTests.java +++ b/src/test/java/org/springframework/data/domain/jaxb/SpringDataJaxbUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/expression/ValueEvaluationUnitTests.java b/src/test/java/org/springframework/data/expression/ValueEvaluationUnitTests.java index 59269b2b4a..6d8560f4f3 100644 --- a/src/test/java/org/springframework/data/expression/ValueEvaluationUnitTests.java +++ b/src/test/java/org/springframework/data/expression/ValueEvaluationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/BoxUnitTests.java b/src/test/java/org/springframework/data/geo/BoxUnitTests.java index 136d66731f..9f52dbcd17 100755 --- a/src/test/java/org/springframework/data/geo/BoxUnitTests.java +++ b/src/test/java/org/springframework/data/geo/BoxUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/CircleUnitTests.java b/src/test/java/org/springframework/data/geo/CircleUnitTests.java index 2ea780e6ad..d797ebd69d 100755 --- a/src/test/java/org/springframework/data/geo/CircleUnitTests.java +++ b/src/test/java/org/springframework/data/geo/CircleUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/DistanceUnitTests.java b/src/test/java/org/springframework/data/geo/DistanceUnitTests.java index c7b8cf0205..9843c54278 100755 --- a/src/test/java/org/springframework/data/geo/DistanceUnitTests.java +++ b/src/test/java/org/springframework/data/geo/DistanceUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/GeoModuleIntegrationTests.java b/src/test/java/org/springframework/data/geo/GeoModuleIntegrationTests.java index dc46a96578..9b25146905 100755 --- a/src/test/java/org/springframework/data/geo/GeoModuleIntegrationTests.java +++ b/src/test/java/org/springframework/data/geo/GeoModuleIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/GeoResultUnitTests.java b/src/test/java/org/springframework/data/geo/GeoResultUnitTests.java index 6e1f7ed86e..fe400c79b6 100755 --- a/src/test/java/org/springframework/data/geo/GeoResultUnitTests.java +++ b/src/test/java/org/springframework/data/geo/GeoResultUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/GeoResultsUnitTests.java b/src/test/java/org/springframework/data/geo/GeoResultsUnitTests.java index ae4a3e1d29..6bc7cc09d5 100755 --- a/src/test/java/org/springframework/data/geo/GeoResultsUnitTests.java +++ b/src/test/java/org/springframework/data/geo/GeoResultsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/PointUnitTests.java b/src/test/java/org/springframework/data/geo/PointUnitTests.java index 3eefaadb93..9a7f758ab6 100755 --- a/src/test/java/org/springframework/data/geo/PointUnitTests.java +++ b/src/test/java/org/springframework/data/geo/PointUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/PolygonUnitTests.java b/src/test/java/org/springframework/data/geo/PolygonUnitTests.java index ee06753fb1..db220738d0 100755 --- a/src/test/java/org/springframework/data/geo/PolygonUnitTests.java +++ b/src/test/java/org/springframework/data/geo/PolygonUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/format/DistanceFormatterUnitTests.java b/src/test/java/org/springframework/data/geo/format/DistanceFormatterUnitTests.java index 1be9b0519f..bf2f9ea645 100755 --- a/src/test/java/org/springframework/data/geo/format/DistanceFormatterUnitTests.java +++ b/src/test/java/org/springframework/data/geo/format/DistanceFormatterUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/geo/format/PointFormatterUnitTests.java b/src/test/java/org/springframework/data/geo/format/PointFormatterUnitTests.java index 8dd964ad2a..9cb6ee2fef 100755 --- a/src/test/java/org/springframework/data/geo/format/PointFormatterUnitTests.java +++ b/src/test/java/org/springframework/data/geo/format/PointFormatterUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/history/AnnotationRevisionMetadataUnitTests.java b/src/test/java/org/springframework/data/history/AnnotationRevisionMetadataUnitTests.java index 3c48162242..048e571512 100644 --- a/src/test/java/org/springframework/data/history/AnnotationRevisionMetadataUnitTests.java +++ b/src/test/java/org/springframework/data/history/AnnotationRevisionMetadataUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/history/RevisionUnitTests.java b/src/test/java/org/springframework/data/history/RevisionUnitTests.java index b4116892a0..f1da3c8d70 100755 --- a/src/test/java/org/springframework/data/history/RevisionUnitTests.java +++ b/src/test/java/org/springframework/data/history/RevisionUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/history/RevisionsUnitTests.java b/src/test/java/org/springframework/data/history/RevisionsUnitTests.java index 344fb2d0a5..db9c221e8c 100755 --- a/src/test/java/org/springframework/data/history/RevisionsUnitTests.java +++ b/src/test/java/org/springframework/data/history/RevisionsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/Child.java b/src/test/java/org/springframework/data/mapping/Child.java index b7a4a59760..75568ad6b4 100644 --- a/src/test/java/org/springframework/data/mapping/Child.java +++ b/src/test/java/org/springframework/data/mapping/Child.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/Document.java b/src/test/java/org/springframework/data/mapping/Document.java index f1bd93f364..838932f32b 100644 --- a/src/test/java/org/springframework/data/mapping/Document.java +++ b/src/test/java/org/springframework/data/mapping/Document.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/InstantiationAwarePersistentPropertyAccessorUnitTests.java b/src/test/java/org/springframework/data/mapping/InstantiationAwarePersistentPropertyAccessorUnitTests.java index 700fbda108..5f50bd5724 100644 --- a/src/test/java/org/springframework/data/mapping/InstantiationAwarePersistentPropertyAccessorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/InstantiationAwarePersistentPropertyAccessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/KotlinModelTypes.kt b/src/test/java/org/springframework/data/mapping/KotlinModelTypes.kt index ceaf4360f0..fcdd6bca62 100644 --- a/src/test/java/org/springframework/data/mapping/KotlinModelTypes.kt +++ b/src/test/java/org/springframework/data/mapping/KotlinModelTypes.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/MappingMetadataTests.java b/src/test/java/org/springframework/data/mapping/MappingMetadataTests.java index 3afec4b259..c69a51cfda 100755 --- a/src/test/java/org/springframework/data/mapping/MappingMetadataTests.java +++ b/src/test/java/org/springframework/data/mapping/MappingMetadataTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/ParameterUnitTests.java b/src/test/java/org/springframework/data/mapping/ParameterUnitTests.java index acf84d7f81..dd5a3b745d 100755 --- a/src/test/java/org/springframework/data/mapping/ParameterUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/ParameterUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PersistentEntitySpec.java b/src/test/java/org/springframework/data/mapping/PersistentEntitySpec.java index 38f8d7c3ab..5c7c80c13b 100644 --- a/src/test/java/org/springframework/data/mapping/PersistentEntitySpec.java +++ b/src/test/java/org/springframework/data/mapping/PersistentEntitySpec.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PersistentPropertyAccessorUnitTests.java b/src/test/java/org/springframework/data/mapping/PersistentPropertyAccessorUnitTests.java index f1a5357c5d..6d8d7ee241 100644 --- a/src/test/java/org/springframework/data/mapping/PersistentPropertyAccessorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/PersistentPropertyAccessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/Person.java b/src/test/java/org/springframework/data/mapping/Person.java index e33c63ab5a..7aacc56cd7 100644 --- a/src/test/java/org/springframework/data/mapping/Person.java +++ b/src/test/java/org/springframework/data/mapping/Person.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PersonDocument.java b/src/test/java/org/springframework/data/mapping/PersonDocument.java index d842a9778d..d780b0f6a2 100644 --- a/src/test/java/org/springframework/data/mapping/PersonDocument.java +++ b/src/test/java/org/springframework/data/mapping/PersonDocument.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PersonNoId.java b/src/test/java/org/springframework/data/mapping/PersonNoId.java index 05512778d7..da8a1337c6 100644 --- a/src/test/java/org/springframework/data/mapping/PersonNoId.java +++ b/src/test/java/org/springframework/data/mapping/PersonNoId.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PersonPersistent.java b/src/test/java/org/springframework/data/mapping/PersonPersistent.java index 74442d9510..09db0be6ef 100644 --- a/src/test/java/org/springframework/data/mapping/PersonPersistent.java +++ b/src/test/java/org/springframework/data/mapping/PersonPersistent.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PersonWithChildren.java b/src/test/java/org/springframework/data/mapping/PersonWithChildren.java index 06b7c93398..c352a2d663 100644 --- a/src/test/java/org/springframework/data/mapping/PersonWithChildren.java +++ b/src/test/java/org/springframework/data/mapping/PersonWithChildren.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PersonWithId.java b/src/test/java/org/springframework/data/mapping/PersonWithId.java index 2ed6c20951..a360b89420 100644 --- a/src/test/java/org/springframework/data/mapping/PersonWithId.java +++ b/src/test/java/org/springframework/data/mapping/PersonWithId.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PreferredConstructorDiscovererUnitTests.java b/src/test/java/org/springframework/data/mapping/PreferredConstructorDiscovererUnitTests.java index 08853a7e67..3f2aad5900 100755 --- a/src/test/java/org/springframework/data/mapping/PreferredConstructorDiscovererUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/PreferredConstructorDiscovererUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PropertyPathUnitTests.java b/src/test/java/org/springframework/data/mapping/PropertyPathUnitTests.java index 9825307b2c..d5e8efa1d3 100755 --- a/src/test/java/org/springframework/data/mapping/PropertyPathUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/PropertyPathUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/PropertyReferenceExceptionUnitTests.java b/src/test/java/org/springframework/data/mapping/PropertyReferenceExceptionUnitTests.java index 07a9b3a5ac..01840f1fdd 100755 --- a/src/test/java/org/springframework/data/mapping/PropertyReferenceExceptionUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/PropertyReferenceExceptionUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/SimpleTypeHolderUnitTests.java b/src/test/java/org/springframework/data/mapping/SimpleTypeHolderUnitTests.java index 7ada5a5172..b25eaafd2c 100755 --- a/src/test/java/org/springframework/data/mapping/SimpleTypeHolderUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/SimpleTypeHolderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/TargetAwareIdentifierAccessorUnitTests.java b/src/test/java/org/springframework/data/mapping/TargetAwareIdentifierAccessorUnitTests.java index 0b62563817..540589961c 100644 --- a/src/test/java/org/springframework/data/mapping/TargetAwareIdentifierAccessorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/TargetAwareIdentifierAccessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/callback/CapturingEntityCallback.java b/src/test/java/org/springframework/data/mapping/callback/CapturingEntityCallback.java index 9605957a4b..30904c942c 100644 --- a/src/test/java/org/springframework/data/mapping/callback/CapturingEntityCallback.java +++ b/src/test/java/org/springframework/data/mapping/callback/CapturingEntityCallback.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/callback/DefaultEntityCallbacksUnitTests.java b/src/test/java/org/springframework/data/mapping/callback/DefaultEntityCallbacksUnitTests.java index 710b4fe6e4..80f9e8d1fe 100644 --- a/src/test/java/org/springframework/data/mapping/callback/DefaultEntityCallbacksUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/callback/DefaultEntityCallbacksUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacksUnitTests.java b/src/test/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacksUnitTests.java index 6a3306de26..4f84512a54 100644 --- a/src/test/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacksUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/callback/DefaultReactiveEntityCallbacksUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/callback/EntityCallbackDiscovererUnitTests.java b/src/test/java/org/springframework/data/mapping/callback/EntityCallbackDiscovererUnitTests.java index 2327bb01ea..bccf91344c 100644 --- a/src/test/java/org/springframework/data/mapping/callback/EntityCallbackDiscovererUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/callback/EntityCallbackDiscovererUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextIntegrationTests.java b/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextIntegrationTests.java index d6dffc817c..a08bc01c4b 100755 --- a/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextIntegrationTests.java +++ b/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextUnitTests.java b/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextUnitTests.java index 15fbd2c0dc..708139c04a 100755 --- a/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/context/AbstractMappingContextUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPathUnitTests.java b/src/test/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPathUnitTests.java index 2d8d68231b..06726b751e 100755 --- a/src/test/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPathUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/context/DefaultPersistentPropertyPathUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/EntityProjectionIntrospectorUnitTests.java b/src/test/java/org/springframework/data/mapping/context/EntityProjectionIntrospectorUnitTests.java index cbda9d61d9..745dae0d62 100644 --- a/src/test/java/org/springframework/data/mapping/context/EntityProjectionIntrospectorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/context/EntityProjectionIntrospectorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/MappingContextEventUnitTests.java b/src/test/java/org/springframework/data/mapping/context/MappingContextEventUnitTests.java index 3290e5fc10..a9f0a92b2d 100755 --- a/src/test/java/org/springframework/data/mapping/context/MappingContextEventUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/context/MappingContextEventUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/PersistentEntitiesUnitTests.java b/src/test/java/org/springframework/data/mapping/context/PersistentEntitiesUnitTests.java index fba9c66970..eb04002df0 100755 --- a/src/test/java/org/springframework/data/mapping/context/PersistentEntitiesUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/context/PersistentEntitiesUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/PersistentPropertyPathFactoryUnitTests.java b/src/test/java/org/springframework/data/mapping/context/PersistentPropertyPathFactoryUnitTests.java index ef211bdc19..cff1c35f1d 100644 --- a/src/test/java/org/springframework/data/mapping/context/PersistentPropertyPathFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/context/PersistentPropertyPathFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/PropertyMatchUnitTests.java b/src/test/java/org/springframework/data/mapping/context/PropertyMatchUnitTests.java index 33e499c59f..eda55fb24f 100755 --- a/src/test/java/org/springframework/data/mapping/context/PropertyMatchUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/context/PropertyMatchUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/SampleMappingContext.java b/src/test/java/org/springframework/data/mapping/context/SampleMappingContext.java index e3ffde2170..58e01bf207 100644 --- a/src/test/java/org/springframework/data/mapping/context/SampleMappingContext.java +++ b/src/test/java/org/springframework/data/mapping/context/SampleMappingContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/context/SamplePersistentProperty.java b/src/test/java/org/springframework/data/mapping/context/SamplePersistentProperty.java index 5db96b1525..a84448b903 100644 --- a/src/test/java/org/springframework/data/mapping/context/SamplePersistentProperty.java +++ b/src/test/java/org/springframework/data/mapping/context/SamplePersistentProperty.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/AbstractPersistentPropertyUnitTests.java b/src/test/java/org/springframework/data/mapping/model/AbstractPersistentPropertyUnitTests.java index 52a0455ecd..cebb3a992c 100755 --- a/src/test/java/org/springframework/data/mapping/model/AbstractPersistentPropertyUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/AbstractPersistentPropertyUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/AnnotationBasedPersistentPropertyUnitTests.java b/src/test/java/org/springframework/data/mapping/model/AnnotationBasedPersistentPropertyUnitTests.java index 8201e57f14..6f660ea308 100755 --- a/src/test/java/org/springframework/data/mapping/model/AnnotationBasedPersistentPropertyUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/AnnotationBasedPersistentPropertyUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/BasicPersistentEntityUnitTests.java b/src/test/java/org/springframework/data/mapping/model/BasicPersistentEntityUnitTests.java index 920aa5542c..e87be7880a 100755 --- a/src/test/java/org/springframework/data/mapping/model/BasicPersistentEntityUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/BasicPersistentEntityUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/CachingValueExpressionEvaluatorFactoryUnitTests.java b/src/test/java/org/springframework/data/mapping/model/CachingValueExpressionEvaluatorFactoryUnitTests.java index 41670d46c0..fe2d1220c4 100644 --- a/src/test/java/org/springframework/data/mapping/model/CachingValueExpressionEvaluatorFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/CachingValueExpressionEvaluatorFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/CamelCaseAbbreviatingFieldNamingStrategyUnitTests.java b/src/test/java/org/springframework/data/mapping/model/CamelCaseAbbreviatingFieldNamingStrategyUnitTests.java index 2b24d23b65..68c9b0e512 100755 --- a/src/test/java/org/springframework/data/mapping/model/CamelCaseAbbreviatingFieldNamingStrategyUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/CamelCaseAbbreviatingFieldNamingStrategyUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiatorUnitTests.java b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiatorUnitTests.java index 3b1d804a32..3d80db33a3 100755 --- a/src/test/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiatorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingEntityInstantiatorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryDatatypeTests.java b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryDatatypeTests.java index 654fda0b00..06fa907369 100755 --- a/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryDatatypeTests.java +++ b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryDatatypeTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryEntityTypeTests.java b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryEntityTypeTests.java index c78cfb92ee..c4a44966a0 100755 --- a/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryEntityTypeTests.java +++ b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryEntityTypeTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryTests.java b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryTests.java index 6138beaf9a..3b3142c94c 100755 --- a/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryTests.java +++ b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorFactoryTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorPackageDefaultType.java b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorPackageDefaultType.java index 763983d5eb..d1b33f8545 100644 --- a/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorPackageDefaultType.java +++ b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorPackageDefaultType.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorPublicType.java b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorPublicType.java index 27a14cee42..119683ae01 100644 --- a/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorPublicType.java +++ b/src/test/java/org/springframework/data/mapping/model/ClassGeneratingPropertyAccessorPublicType.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ConvertingPropertyAccessorUnitTests.java b/src/test/java/org/springframework/data/mapping/model/ConvertingPropertyAccessorUnitTests.java index 5550c7dc85..c415c51cd9 100755 --- a/src/test/java/org/springframework/data/mapping/model/ConvertingPropertyAccessorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/ConvertingPropertyAccessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/EntityCreatorMetadataDiscovererUnitTests.java b/src/test/java/org/springframework/data/mapping/model/EntityCreatorMetadataDiscovererUnitTests.java index e87fd9d6d7..c8681bf469 100644 --- a/src/test/java/org/springframework/data/mapping/model/EntityCreatorMetadataDiscovererUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/EntityCreatorMetadataDiscovererUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/EntityInstantiatorsUnitTests.java b/src/test/java/org/springframework/data/mapping/model/EntityInstantiatorsUnitTests.java index ee55249671..36ba91187f 100755 --- a/src/test/java/org/springframework/data/mapping/model/EntityInstantiatorsUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/EntityInstantiatorsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/FactoryMethodUnitTests.java b/src/test/java/org/springframework/data/mapping/model/FactoryMethodUnitTests.java index 63e9a659fa..e13626ad73 100644 --- a/src/test/java/org/springframework/data/mapping/model/FactoryMethodUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/FactoryMethodUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessorUnitTests.java b/src/test/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessorUnitTests.java index 490b2cdd56..fe67238470 100755 --- a/src/test/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/IdPropertyIdentifierAccessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscovererUnitTests.java b/src/test/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscovererUnitTests.java index bc9057a433..e16448fb30 100644 --- a/src/test/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscovererUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/InstanceCreatorMetadataDiscovererUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/KotlinCopyMethodUnitTests.java b/src/test/java/org/springframework/data/mapping/model/KotlinCopyMethodUnitTests.java index 57787d6f86..e5616461ef 100644 --- a/src/test/java/org/springframework/data/mapping/model/KotlinCopyMethodUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/KotlinCopyMethodUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/KotlinPropertyAccessorFactoryTests.java b/src/test/java/org/springframework/data/mapping/model/KotlinPropertyAccessorFactoryTests.java index 3a11272234..f59a55ffc1 100644 --- a/src/test/java/org/springframework/data/mapping/model/KotlinPropertyAccessorFactoryTests.java +++ b/src/test/java/org/springframework/data/mapping/model/KotlinPropertyAccessorFactoryTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ParameterizedKotlinInstantiatorUnitTests.java b/src/test/java/org/springframework/data/mapping/model/ParameterizedKotlinInstantiatorUnitTests.java index 62753404b7..6addcb33de 100644 --- a/src/test/java/org/springframework/data/mapping/model/ParameterizedKotlinInstantiatorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/ParameterizedKotlinInstantiatorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategyUnitTests.java b/src/test/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategyUnitTests.java index c07fbf238b..18b1ba7152 100644 --- a/src/test/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategyUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/PersistentEntityIsNewStrategyUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/PersistentEntityParameterValueProviderUnitTests.java b/src/test/java/org/springframework/data/mapping/model/PersistentEntityParameterValueProviderUnitTests.java index 2ccf5e7c67..f1ada103e1 100755 --- a/src/test/java/org/springframework/data/mapping/model/PersistentEntityParameterValueProviderUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/PersistentEntityParameterValueProviderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/PersistentPropertyAccessorTests.java b/src/test/java/org/springframework/data/mapping/model/PersistentPropertyAccessorTests.java index 4b3e13a88d..dc842f9192 100644 --- a/src/test/java/org/springframework/data/mapping/model/PersistentPropertyAccessorTests.java +++ b/src/test/java/org/springframework/data/mapping/model/PersistentPropertyAccessorTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/PropertyAccessorClassGeneratorUnitTests.java b/src/test/java/org/springframework/data/mapping/model/PropertyAccessorClassGeneratorUnitTests.java index fd4ef65705..db91de17f5 100644 --- a/src/test/java/org/springframework/data/mapping/model/PropertyAccessorClassGeneratorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/PropertyAccessorClassGeneratorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/PropertyUnitTests.java b/src/test/java/org/springframework/data/mapping/model/PropertyUnitTests.java index 9e4fddcbdb..92280aded0 100644 --- a/src/test/java/org/springframework/data/mapping/model/PropertyUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/PropertyUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ReflectionEntityInstantiatorUnitTests.java b/src/test/java/org/springframework/data/mapping/model/ReflectionEntityInstantiatorUnitTests.java index 0afa897f46..727d08e26d 100755 --- a/src/test/java/org/springframework/data/mapping/model/ReflectionEntityInstantiatorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/ReflectionEntityInstantiatorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessorUnitTests.java b/src/test/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessorUnitTests.java index e596a3a37e..b37270275f 100644 --- a/src/test/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessorUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/SimplePersistentPropertyPathAccessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/SnakeCaseFieldNamingStrategyUnitTests.java b/src/test/java/org/springframework/data/mapping/model/SnakeCaseFieldNamingStrategyUnitTests.java index 3f7b9bed4e..84c220e2c4 100755 --- a/src/test/java/org/springframework/data/mapping/model/SnakeCaseFieldNamingStrategyUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/SnakeCaseFieldNamingStrategyUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/SpelExpressionParameterProviderUnitTests.java b/src/test/java/org/springframework/data/mapping/model/SpelExpressionParameterProviderUnitTests.java index 929515e2de..f340f7e048 100755 --- a/src/test/java/org/springframework/data/mapping/model/SpelExpressionParameterProviderUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/SpelExpressionParameterProviderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/ValueExpressionParameterValueProviderUnitTests.java b/src/test/java/org/springframework/data/mapping/model/ValueExpressionParameterValueProviderUnitTests.java index 13311a7c1a..fe2a9ed439 100644 --- a/src/test/java/org/springframework/data/mapping/model/ValueExpressionParameterValueProviderUnitTests.java +++ b/src/test/java/org/springframework/data/mapping/model/ValueExpressionParameterValueProviderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/mapping/model/subpackage/TypeInOtherPackage.java b/src/test/java/org/springframework/data/mapping/model/subpackage/TypeInOtherPackage.java index b95ad3483a..b3ff6e6cb0 100644 --- a/src/test/java/org/springframework/data/mapping/model/subpackage/TypeInOtherPackage.java +++ b/src/test/java/org/springframework/data/mapping/model/subpackage/TypeInOtherPackage.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptorUnitTests.java index 79ee9d0461..ef8372aeed 100644 --- a/src/test/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/projection/DefaultMethodInvokingMethodInterceptorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/projection/DefaultProjectionInformationUnitTests.java b/src/test/java/org/springframework/data/projection/DefaultProjectionInformationUnitTests.java index 440dee4915..a7ed794992 100755 --- a/src/test/java/org/springframework/data/projection/DefaultProjectionInformationUnitTests.java +++ b/src/test/java/org/springframework/data/projection/DefaultProjectionInformationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/projection/MapAccessingMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/projection/MapAccessingMethodInterceptorUnitTests.java index db096ef565..058ac94c2e 100755 --- a/src/test/java/org/springframework/data/projection/MapAccessingMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/projection/MapAccessingMethodInterceptorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/projection/ProjectingMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/projection/ProjectingMethodInterceptorUnitTests.java index 1a0f55bc82..9e242a7a0b 100755 --- a/src/test/java/org/springframework/data/projection/ProjectingMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/projection/ProjectingMethodInterceptorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/projection/ProjectionIntegrationTests.java b/src/test/java/org/springframework/data/projection/ProjectionIntegrationTests.java index 9fe66ac3da..791b189b56 100755 --- a/src/test/java/org/springframework/data/projection/ProjectionIntegrationTests.java +++ b/src/test/java/org/springframework/data/projection/ProjectionIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java index 999ec03343..d0d4202b8c 100755 --- a/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/projection/PropertyAccessingMethodInterceptorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java b/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java index fd8c337fef..c905845db5 100755 --- a/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/projection/SpelAwareProxyProjectionFactoryUnitTests.java b/src/test/java/org/springframework/data/projection/SpelAwareProxyProjectionFactoryUnitTests.java index dd1168ae86..518ce63357 100755 --- a/src/test/java/org/springframework/data/projection/SpelAwareProxyProjectionFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/projection/SpelAwareProxyProjectionFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/projection/SpelEvaluatingMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/projection/SpelEvaluatingMethodInterceptorUnitTests.java index 86a7f2c28f..681e6a3fb8 100755 --- a/src/test/java/org/springframework/data/projection/SpelEvaluatingMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/projection/SpelEvaluatingMethodInterceptorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/Address.java b/src/test/java/org/springframework/data/querydsl/Address.java index d2061f0cc7..df1c258f30 100644 --- a/src/test/java/org/springframework/data/querydsl/Address.java +++ b/src/test/java/org/springframework/data/querydsl/Address.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/QPageRequestUnitTests.java b/src/test/java/org/springframework/data/querydsl/QPageRequestUnitTests.java index e5513b727f..579d7320db 100755 --- a/src/test/java/org/springframework/data/querydsl/QPageRequestUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/QPageRequestUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/QSortUnitTests.java b/src/test/java/org/springframework/data/querydsl/QSortUnitTests.java index 103531109d..b739b487aa 100755 --- a/src/test/java/org/springframework/data/querydsl/QSortUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/QSortUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/QuerydslRepositoryInvokerAdapterUnitTests.java b/src/test/java/org/springframework/data/querydsl/QuerydslRepositoryInvokerAdapterUnitTests.java index 051f93a45d..6e486d0d1e 100755 --- a/src/test/java/org/springframework/data/querydsl/QuerydslRepositoryInvokerAdapterUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/QuerydslRepositoryInvokerAdapterUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/QuerydslUtilsUnitTests.java b/src/test/java/org/springframework/data/querydsl/QuerydslUtilsUnitTests.java index 3658d28e4d..db1d715c5f 100755 --- a/src/test/java/org/springframework/data/querydsl/QuerydslUtilsUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/QuerydslUtilsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/SimpleEntityPathResolverUnitTests.java b/src/test/java/org/springframework/data/querydsl/SimpleEntityPathResolverUnitTests.java index 97bac29897..532923dd78 100755 --- a/src/test/java/org/springframework/data/querydsl/SimpleEntityPathResolverUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/SimpleEntityPathResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/User.java b/src/test/java/org/springframework/data/querydsl/User.java index 6e4f52509e..846c408f75 100644 --- a/src/test/java/org/springframework/data/querydsl/User.java +++ b/src/test/java/org/springframework/data/querydsl/User.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/UserWrapper.java b/src/test/java/org/springframework/data/querydsl/UserWrapper.java index 4c966f3985..31a4a7151b 100644 --- a/src/test/java/org/springframework/data/querydsl/UserWrapper.java +++ b/src/test/java/org/springframework/data/querydsl/UserWrapper.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/Users.java b/src/test/java/org/springframework/data/querydsl/Users.java index f6fb55da7e..dd33a025ce 100644 --- a/src/test/java/org/springframework/data/querydsl/Users.java +++ b/src/test/java/org/springframework/data/querydsl/Users.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/binding/PropertyPathInformationUnitTests.java b/src/test/java/org/springframework/data/querydsl/binding/PropertyPathInformationUnitTests.java index 13b2a1942c..fda507bf89 100644 --- a/src/test/java/org/springframework/data/querydsl/binding/PropertyPathInformationUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/binding/PropertyPathInformationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactoryUnitTests.java b/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactoryUnitTests.java index cf091d901d..0aa006aec9 100755 --- a/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsUnitTests.java b/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsUnitTests.java index 9206af64b7..5f475a4729 100755 --- a/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/binding/QuerydslBindingsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/binding/QuerydslDefaultBindingUnitTests.java b/src/test/java/org/springframework/data/querydsl/binding/QuerydslDefaultBindingUnitTests.java index 66ca0541ab..8d1373d051 100755 --- a/src/test/java/org/springframework/data/querydsl/binding/QuerydslDefaultBindingUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/binding/QuerydslDefaultBindingUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilderUnitTests.java b/src/test/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilderUnitTests.java index 4321ee2c15..a076e6674d 100755 --- a/src/test/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilderUnitTests.java +++ b/src/test/java/org/springframework/data/querydsl/binding/QuerydslPredicateBuilderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/querydsl/suffix/QUser.java b/src/test/java/org/springframework/data/querydsl/suffix/QUser.java index d78bec0de8..f0d6c21b57 100644 --- a/src/test/java/org/springframework/data/querydsl/suffix/QUser.java +++ b/src/test/java/org/springframework/data/querydsl/suffix/QUser.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/aot/RepositoryRegistrationAotContributionAssert.java b/src/test/java/org/springframework/data/repository/aot/RepositoryRegistrationAotContributionAssert.java index 1e328bab08..55c2d86ea4 100644 --- a/src/test/java/org/springframework/data/repository/aot/RepositoryRegistrationAotContributionAssert.java +++ b/src/test/java/org/springframework/data/repository/aot/RepositoryRegistrationAotContributionAssert.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/aot/RepositoryRegistrationAotProcessorIntegrationTests.java b/src/test/java/org/springframework/data/repository/aot/RepositoryRegistrationAotProcessorIntegrationTests.java index 3c6b95d773..3f24394347 100644 --- a/src/test/java/org/springframework/data/repository/aot/RepositoryRegistrationAotProcessorIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/aot/RepositoryRegistrationAotProcessorIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/AnotherFragmentInterface.java b/src/test/java/org/springframework/data/repository/cdi/AnotherFragmentInterface.java index 109ad06038..1873939bed 100644 --- a/src/test/java/org/springframework/data/repository/cdi/AnotherFragmentInterface.java +++ b/src/test/java/org/springframework/data/repository/cdi/AnotherFragmentInterface.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/AnotherFragmentInterfaceImpl.java b/src/test/java/org/springframework/data/repository/cdi/AnotherFragmentInterfaceImpl.java index 21603c3951..0ce3b7c26d 100644 --- a/src/test/java/org/springframework/data/repository/cdi/AnotherFragmentInterfaceImpl.java +++ b/src/test/java/org/springframework/data/repository/cdi/AnotherFragmentInterfaceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/AnotherRepository.java b/src/test/java/org/springframework/data/repository/cdi/AnotherRepository.java index 7530d425d6..cf793980ed 100644 --- a/src/test/java/org/springframework/data/repository/cdi/AnotherRepository.java +++ b/src/test/java/org/springframework/data/repository/cdi/AnotherRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/AnotherRepositoryCustom.java b/src/test/java/org/springframework/data/repository/cdi/AnotherRepositoryCustom.java index acbabd8baf..154c31ad37 100644 --- a/src/test/java/org/springframework/data/repository/cdi/AnotherRepositoryCustom.java +++ b/src/test/java/org/springframework/data/repository/cdi/AnotherRepositoryCustom.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/AnotherRepositoryImpl.java b/src/test/java/org/springframework/data/repository/cdi/AnotherRepositoryImpl.java index 9338b7182e..701f66cc0f 100644 --- a/src/test/java/org/springframework/data/repository/cdi/AnotherRepositoryImpl.java +++ b/src/test/java/org/springframework/data/repository/cdi/AnotherRepositoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/CdiConfigurationIntegrationTests.java b/src/test/java/org/springframework/data/repository/cdi/CdiConfigurationIntegrationTests.java index 66e4a93bbd..e931672d03 100644 --- a/src/test/java/org/springframework/data/repository/cdi/CdiConfigurationIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/cdi/CdiConfigurationIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/CdiRepositoryBeanUnitTests.java b/src/test/java/org/springframework/data/repository/cdi/CdiRepositoryBeanUnitTests.java index 2dc41ebb32..c60ac79ee7 100755 --- a/src/test/java/org/springframework/data/repository/cdi/CdiRepositoryBeanUnitTests.java +++ b/src/test/java/org/springframework/data/repository/cdi/CdiRepositoryBeanUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupportIntegrationTests.java b/src/test/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupportIntegrationTests.java index 72318c6a78..f6fbca34ae 100755 --- a/src/test/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupportIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/cdi/CdiRepositoryExtensionSupportIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/ComposedRepository.java b/src/test/java/org/springframework/data/repository/cdi/ComposedRepository.java index 115d39d8fa..ca5ed982e6 100644 --- a/src/test/java/org/springframework/data/repository/cdi/ComposedRepository.java +++ b/src/test/java/org/springframework/data/repository/cdi/ComposedRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/ComposedRepositoryCustom.java b/src/test/java/org/springframework/data/repository/cdi/ComposedRepositoryCustom.java index 07e14a0bb0..a29934a365 100644 --- a/src/test/java/org/springframework/data/repository/cdi/ComposedRepositoryCustom.java +++ b/src/test/java/org/springframework/data/repository/cdi/ComposedRepositoryCustom.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/ComposedRepositoryImpl.java b/src/test/java/org/springframework/data/repository/cdi/ComposedRepositoryImpl.java index 528fd4573e..6d21c02477 100644 --- a/src/test/java/org/springframework/data/repository/cdi/ComposedRepositoryImpl.java +++ b/src/test/java/org/springframework/data/repository/cdi/ComposedRepositoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/DummyCdiExtension.java b/src/test/java/org/springframework/data/repository/cdi/DummyCdiExtension.java index 621d1e2855..e3d7ef4a71 100644 --- a/src/test/java/org/springframework/data/repository/cdi/DummyCdiExtension.java +++ b/src/test/java/org/springframework/data/repository/cdi/DummyCdiExtension.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/FragmentInterface.java b/src/test/java/org/springframework/data/repository/cdi/FragmentInterface.java index d993e9e58b..52150c7664 100644 --- a/src/test/java/org/springframework/data/repository/cdi/FragmentInterface.java +++ b/src/test/java/org/springframework/data/repository/cdi/FragmentInterface.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/FragmentInterfaceImpl.java b/src/test/java/org/springframework/data/repository/cdi/FragmentInterfaceImpl.java index ec851d21e4..4f497b8dc3 100644 --- a/src/test/java/org/springframework/data/repository/cdi/FragmentInterfaceImpl.java +++ b/src/test/java/org/springframework/data/repository/cdi/FragmentInterfaceImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/RepositoryClient.java b/src/test/java/org/springframework/data/repository/cdi/RepositoryClient.java index 7001f84214..6e9255c9ce 100644 --- a/src/test/java/org/springframework/data/repository/cdi/RepositoryClient.java +++ b/src/test/java/org/springframework/data/repository/cdi/RepositoryClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/RepositoryFragments.java b/src/test/java/org/springframework/data/repository/cdi/RepositoryFragments.java index d5846a3974..afa23938fc 100644 --- a/src/test/java/org/springframework/data/repository/cdi/RepositoryFragments.java +++ b/src/test/java/org/springframework/data/repository/cdi/RepositoryFragments.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/RepositoryFragmentsIntegrationTests.java b/src/test/java/org/springframework/data/repository/cdi/RepositoryFragmentsIntegrationTests.java index 299a79bce8..42d30ca86a 100644 --- a/src/test/java/org/springframework/data/repository/cdi/RepositoryFragmentsIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/cdi/RepositoryFragmentsIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/SampleRepository.java b/src/test/java/org/springframework/data/repository/cdi/SampleRepository.java index 0390f3fa3f..948c91807e 100644 --- a/src/test/java/org/springframework/data/repository/cdi/SampleRepository.java +++ b/src/test/java/org/springframework/data/repository/cdi/SampleRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/StereotypeAnnotation.java b/src/test/java/org/springframework/data/repository/cdi/StereotypeAnnotation.java index 1f35737d3d..931ca77694 100644 --- a/src/test/java/org/springframework/data/repository/cdi/StereotypeAnnotation.java +++ b/src/test/java/org/springframework/data/repository/cdi/StereotypeAnnotation.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/WebbeansCdiRepositoryExtensionSupportIntegrationTests.java b/src/test/java/org/springframework/data/repository/cdi/WebbeansCdiRepositoryExtensionSupportIntegrationTests.java index 10eff0acd2..c54c6a63da 100755 --- a/src/test/java/org/springframework/data/repository/cdi/WebbeansCdiRepositoryExtensionSupportIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/cdi/WebbeansCdiRepositoryExtensionSupportIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/isolated/FragmentInterface.java b/src/test/java/org/springframework/data/repository/cdi/isolated/FragmentInterface.java index 9fe9821e07..123a45c60b 100644 --- a/src/test/java/org/springframework/data/repository/cdi/isolated/FragmentInterface.java +++ b/src/test/java/org/springframework/data/repository/cdi/isolated/FragmentInterface.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/isolated/FragmentInterfaceFoo.java b/src/test/java/org/springframework/data/repository/cdi/isolated/FragmentInterfaceFoo.java index aeb5bf854b..6e76a767dd 100644 --- a/src/test/java/org/springframework/data/repository/cdi/isolated/FragmentInterfaceFoo.java +++ b/src/test/java/org/springframework/data/repository/cdi/isolated/FragmentInterfaceFoo.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/isolated/IsolatedComposedRepository.java b/src/test/java/org/springframework/data/repository/cdi/isolated/IsolatedComposedRepository.java index 6b2dcf9f68..2d48e1231d 100644 --- a/src/test/java/org/springframework/data/repository/cdi/isolated/IsolatedComposedRepository.java +++ b/src/test/java/org/springframework/data/repository/cdi/isolated/IsolatedComposedRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/cdi/isolated/MyCdiConfiguration.java b/src/test/java/org/springframework/data/repository/cdi/isolated/MyCdiConfiguration.java index df01589b2b..3fa1073f25 100644 --- a/src/test/java/org/springframework/data/repository/cdi/isolated/MyCdiConfiguration.java +++ b/src/test/java/org/springframework/data/repository/cdi/isolated/MyCdiConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSourceUnitTests.java b/src/test/java/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSourceUnitTests.java index aeb7d13eff..bf115c824c 100755 --- a/src/test/java/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSourceUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/AnnotationRepositoryConfigurationSourceUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/ComposedRepository.java b/src/test/java/org/springframework/data/repository/config/ComposedRepository.java index a526d34406..77b72a6c0c 100644 --- a/src/test/java/org/springframework/data/repository/config/ComposedRepository.java +++ b/src/test/java/org/springframework/data/repository/config/ComposedRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetectorUnitTests.java b/src/test/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetectorUnitTests.java index fd964bbb74..661256e27d 100644 --- a/src/test/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetectorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/CustomRepositoryImplementationDetectorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/DefaultImplementationLookupConfigurationUnitTests.java b/src/test/java/org/springframework/data/repository/config/DefaultImplementationLookupConfigurationUnitTests.java index ca25d01dd2..e5784ec228 100644 --- a/src/test/java/org/springframework/data/repository/config/DefaultImplementationLookupConfigurationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/DefaultImplementationLookupConfigurationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/DefaultRepositoryConfigurationUnitTests.java b/src/test/java/org/springframework/data/repository/config/DefaultRepositoryConfigurationUnitTests.java index f1713f313d..3e835028a3 100755 --- a/src/test/java/org/springframework/data/repository/config/DefaultRepositoryConfigurationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/DefaultRepositoryConfigurationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/DummyConfigurationExtension.java b/src/test/java/org/springframework/data/repository/config/DummyConfigurationExtension.java index 3e60d97357..c48e951e87 100644 --- a/src/test/java/org/springframework/data/repository/config/DummyConfigurationExtension.java +++ b/src/test/java/org/springframework/data/repository/config/DummyConfigurationExtension.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/DummyRegistrar.java b/src/test/java/org/springframework/data/repository/config/DummyRegistrar.java index 9fc899b8be..e4143ed117 100644 --- a/src/test/java/org/springframework/data/repository/config/DummyRegistrar.java +++ b/src/test/java/org/springframework/data/repository/config/DummyRegistrar.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/EnableReactiveRepositories.java b/src/test/java/org/springframework/data/repository/config/EnableReactiveRepositories.java index 19890b1ba0..d3b7fdc629 100644 --- a/src/test/java/org/springframework/data/repository/config/EnableReactiveRepositories.java +++ b/src/test/java/org/springframework/data/repository/config/EnableReactiveRepositories.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/EnableRepositories.java b/src/test/java/org/springframework/data/repository/config/EnableRepositories.java index 0e3ff2ba68..936675f4a6 100644 --- a/src/test/java/org/springframework/data/repository/config/EnableRepositories.java +++ b/src/test/java/org/springframework/data/repository/config/EnableRepositories.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/ExcludedRepository.java b/src/test/java/org/springframework/data/repository/config/ExcludedRepository.java index b1f1050179..3b99192777 100644 --- a/src/test/java/org/springframework/data/repository/config/ExcludedRepository.java +++ b/src/test/java/org/springframework/data/repository/config/ExcludedRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/ExcludedRepositoryImpl.java b/src/test/java/org/springframework/data/repository/config/ExcludedRepositoryImpl.java index 1ccc548874..4f802a64e5 100644 --- a/src/test/java/org/springframework/data/repository/config/ExcludedRepositoryImpl.java +++ b/src/test/java/org/springframework/data/repository/config/ExcludedRepositoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/ImplementationDetectionConfigurationUnitTests.java b/src/test/java/org/springframework/data/repository/config/ImplementationDetectionConfigurationUnitTests.java index 19bacd0899..7e24604bd6 100644 --- a/src/test/java/org/springframework/data/repository/config/ImplementationDetectionConfigurationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/ImplementationDetectionConfigurationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/Mixin.java b/src/test/java/org/springframework/data/repository/config/Mixin.java index c8c71ed926..0feaaf3908 100644 --- a/src/test/java/org/springframework/data/repository/config/Mixin.java +++ b/src/test/java/org/springframework/data/repository/config/Mixin.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/MixinImpl.java b/src/test/java/org/springframework/data/repository/config/MixinImpl.java index 86bb4123a1..b8e7733d1c 100644 --- a/src/test/java/org/springframework/data/repository/config/MixinImpl.java +++ b/src/test/java/org/springframework/data/repository/config/MixinImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/MyOtherRepository.java b/src/test/java/org/springframework/data/repository/config/MyOtherRepository.java index bcc5496538..5981551d39 100644 --- a/src/test/java/org/springframework/data/repository/config/MyOtherRepository.java +++ b/src/test/java/org/springframework/data/repository/config/MyOtherRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/MyOtherRepositoryExtensions.java b/src/test/java/org/springframework/data/repository/config/MyOtherRepositoryExtensions.java index dd543964f7..237d423e8b 100644 --- a/src/test/java/org/springframework/data/repository/config/MyOtherRepositoryExtensions.java +++ b/src/test/java/org/springframework/data/repository/config/MyOtherRepositoryExtensions.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/MyOtherRepositoryImpl.java b/src/test/java/org/springframework/data/repository/config/MyOtherRepositoryImpl.java index 1d42e975f7..f4ce0c5a0e 100644 --- a/src/test/java/org/springframework/data/repository/config/MyOtherRepositoryImpl.java +++ b/src/test/java/org/springframework/data/repository/config/MyOtherRepositoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/MyRepository.java b/src/test/java/org/springframework/data/repository/config/MyRepository.java index 30b47ba084..91ef491a05 100644 --- a/src/test/java/org/springframework/data/repository/config/MyRepository.java +++ b/src/test/java/org/springframework/data/repository/config/MyRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/PrimaryRepositoryIntegrationTests.java b/src/test/java/org/springframework/data/repository/config/PrimaryRepositoryIntegrationTests.java index 0e8660e929..bb9ea08805 100644 --- a/src/test/java/org/springframework/data/repository/config/PrimaryRepositoryIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/config/PrimaryRepositoryIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/ProfileRepository.java b/src/test/java/org/springframework/data/repository/config/ProfileRepository.java index 3ba5365222..a626fe1209 100644 --- a/src/test/java/org/springframework/data/repository/config/ProfileRepository.java +++ b/src/test/java/org/springframework/data/repository/config/ProfileRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/ReactiveDummyConfigurationExtension.java b/src/test/java/org/springframework/data/repository/config/ReactiveDummyConfigurationExtension.java index 90242cd6f7..7a80a2de51 100644 --- a/src/test/java/org/springframework/data/repository/config/ReactiveDummyConfigurationExtension.java +++ b/src/test/java/org/springframework/data/repository/config/ReactiveDummyConfigurationExtension.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/ReactiveDummyRegistrar.java b/src/test/java/org/springframework/data/repository/config/ReactiveDummyRegistrar.java index bc03feb065..d35249f402 100644 --- a/src/test/java/org/springframework/data/repository/config/ReactiveDummyRegistrar.java +++ b/src/test/java/org/springframework/data/repository/config/ReactiveDummyRegistrar.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportIntegrationTests.java b/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportIntegrationTests.java index 27ba3ff562..fd79635971 100755 --- a/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportUnitTests.java b/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportUnitTests.java index 983f41fbe8..5494045a2c 100755 --- a/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryBeanDefinitionRegistrarSupportUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/RepositoryBeanNameGeneratorUnitTests.java b/src/test/java/org/springframework/data/repository/config/RepositoryBeanNameGeneratorUnitTests.java index 965294d592..955a565c72 100755 --- a/src/test/java/org/springframework/data/repository/config/RepositoryBeanNameGeneratorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryBeanNameGeneratorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/RepositoryComponentProviderUnitTests.java b/src/test/java/org/springframework/data/repository/config/RepositoryComponentProviderUnitTests.java index f1a771bc13..8b6d662b23 100755 --- a/src/test/java/org/springframework/data/repository/config/RepositoryComponentProviderUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryComponentProviderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationDelegateUnitTests.java b/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationDelegateUnitTests.java index 529671b228..88958b1c15 100644 --- a/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationDelegateUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationDelegateUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupportUnitTests.java b/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupportUnitTests.java index 121b299eb8..5bad34a288 100755 --- a/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupportUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryConfigurationExtensionSupportUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/RepositoryFragmentConfigurationUnitTests.java b/src/test/java/org/springframework/data/repository/config/RepositoryFragmentConfigurationUnitTests.java index ddf4986395..bc7d9e0d18 100644 --- a/src/test/java/org/springframework/data/repository/config/RepositoryFragmentConfigurationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryFragmentConfigurationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/RepositoryWithFragmentExclusion.java b/src/test/java/org/springframework/data/repository/config/RepositoryWithFragmentExclusion.java index cdd314e976..5c802ad104 100644 --- a/src/test/java/org/springframework/data/repository/config/RepositoryWithFragmentExclusion.java +++ b/src/test/java/org/springframework/data/repository/config/RepositoryWithFragmentExclusion.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/ResourceReaderRepositoryPopulatorBeanDefinitionParserIntegrationTests.java b/src/test/java/org/springframework/data/repository/config/ResourceReaderRepositoryPopulatorBeanDefinitionParserIntegrationTests.java index 965ddb8166..9b3a22c524 100755 --- a/src/test/java/org/springframework/data/repository/config/ResourceReaderRepositoryPopulatorBeanDefinitionParserIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/config/ResourceReaderRepositoryPopulatorBeanDefinitionParserIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/SampleConfiguration.java b/src/test/java/org/springframework/data/repository/config/SampleConfiguration.java index 88fa6c0e3e..1b24d28fd9 100644 --- a/src/test/java/org/springframework/data/repository/config/SampleConfiguration.java +++ b/src/test/java/org/springframework/data/repository/config/SampleConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/SelectionSetUnitTests.java b/src/test/java/org/springframework/data/repository/config/SelectionSetUnitTests.java index 862826e951..14f0d02b3c 100644 --- a/src/test/java/org/springframework/data/repository/config/SelectionSetUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/SelectionSetUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSourceUnitTests.java b/src/test/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSourceUnitTests.java index 7fe5c78cb4..d5c97f221f 100755 --- a/src/test/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSourceUnitTests.java +++ b/src/test/java/org/springframework/data/repository/config/XmlRepositoryConfigurationSourceUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/annotated/MyAnnotatedRepository.java b/src/test/java/org/springframework/data/repository/config/annotated/MyAnnotatedRepository.java index df64bc2826..f24f953f00 100644 --- a/src/test/java/org/springframework/data/repository/config/annotated/MyAnnotatedRepository.java +++ b/src/test/java/org/springframework/data/repository/config/annotated/MyAnnotatedRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/annotated/MyAnnotatedRepositoryImpl.java b/src/test/java/org/springframework/data/repository/config/annotated/MyAnnotatedRepositoryImpl.java index 6a26afd79f..06c7883f95 100644 --- a/src/test/java/org/springframework/data/repository/config/annotated/MyAnnotatedRepositoryImpl.java +++ b/src/test/java/org/springframework/data/repository/config/annotated/MyAnnotatedRepositoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/annotated/MyFragment.java b/src/test/java/org/springframework/data/repository/config/annotated/MyFragment.java index 4be34d998f..d6ad3667a4 100644 --- a/src/test/java/org/springframework/data/repository/config/annotated/MyFragment.java +++ b/src/test/java/org/springframework/data/repository/config/annotated/MyFragment.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/annotated/MyFragmentImpl.java b/src/test/java/org/springframework/data/repository/config/annotated/MyFragmentImpl.java index bd94f383a1..9f4ca4a74c 100644 --- a/src/test/java/org/springframework/data/repository/config/annotated/MyFragmentImpl.java +++ b/src/test/java/org/springframework/data/repository/config/annotated/MyFragmentImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/basepackage/FragmentImpl.java b/src/test/java/org/springframework/data/repository/config/basepackage/FragmentImpl.java index 0badbe34bc..bb73f73f2d 100644 --- a/src/test/java/org/springframework/data/repository/config/basepackage/FragmentImpl.java +++ b/src/test/java/org/springframework/data/repository/config/basepackage/FragmentImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/basepackage/repo/Fragment.java b/src/test/java/org/springframework/data/repository/config/basepackage/repo/Fragment.java index 9582c6e09d..ab7415194f 100644 --- a/src/test/java/org/springframework/data/repository/config/basepackage/repo/Fragment.java +++ b/src/test/java/org/springframework/data/repository/config/basepackage/repo/Fragment.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/basepackage/repo/PersonRepository.java b/src/test/java/org/springframework/data/repository/config/basepackage/repo/PersonRepository.java index 6061d8f167..2e00e31e46 100644 --- a/src/test/java/org/springframework/data/repository/config/basepackage/repo/PersonRepository.java +++ b/src/test/java/org/springframework/data/repository/config/basepackage/repo/PersonRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/excluded/MyOtherRepositoryImpl.java b/src/test/java/org/springframework/data/repository/config/excluded/MyOtherRepositoryImpl.java index ec0a88667e..79eaf2af59 100644 --- a/src/test/java/org/springframework/data/repository/config/excluded/MyOtherRepositoryImpl.java +++ b/src/test/java/org/springframework/data/repository/config/excluded/MyOtherRepositoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/stereotype/MyStereotypeRepository.java b/src/test/java/org/springframework/data/repository/config/stereotype/MyStereotypeRepository.java index 4399090e08..0bab9b4179 100644 --- a/src/test/java/org/springframework/data/repository/config/stereotype/MyStereotypeRepository.java +++ b/src/test/java/org/springframework/data/repository/config/stereotype/MyStereotypeRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/config/stereotype/MyStereotypeRepositoryImpl.java b/src/test/java/org/springframework/data/repository/config/stereotype/MyStereotypeRepositoryImpl.java index 70d083281f..f437816c71 100644 --- a/src/test/java/org/springframework/data/repository/config/stereotype/MyStereotypeRepositoryImpl.java +++ b/src/test/java/org/springframework/data/repository/config/stereotype/MyStereotypeRepositoryImpl.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/AbstractEntityInformationUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/AbstractEntityInformationUnitTests.java index ed2a9431ea..a7bb9c868d 100755 --- a/src/test/java/org/springframework/data/repository/core/support/AbstractEntityInformationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/AbstractEntityInformationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadataUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadataUnitTests.java index f975b922c6..71d9419159 100755 --- a/src/test/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadataUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/AbstractRepositoryMetadataUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/AnnotationRepositoryMetadataUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/AnnotationRepositoryMetadataUnitTests.java index 90324fdfa2..0c2502e994 100755 --- a/src/test/java/org/springframework/data/repository/core/support/AnnotationRepositoryMetadataUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/AnnotationRepositoryMetadataUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java index 0f39537132..428fbda22a 100755 --- a/src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/DefaultCrudMethodsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryInformationUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryInformationUnitTests.java index 951e0168b6..7ec9a2deda 100755 --- a/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryInformationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryInformationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryMetadataUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryMetadataUnitTests.java index 604d28538c..07334749c2 100755 --- a/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryMetadataUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/DefaultRepositoryMetadataUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/DummyEntityInformation.java b/src/test/java/org/springframework/data/repository/core/support/DummyEntityInformation.java index 5a40e43a99..0040aa7d37 100644 --- a/src/test/java/org/springframework/data/repository/core/support/DummyEntityInformation.java +++ b/src/test/java/org/springframework/data/repository/core/support/DummyEntityInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/DummyReactiveRepositoryFactory.java b/src/test/java/org/springframework/data/repository/core/support/DummyReactiveRepositoryFactory.java index 07987f59d7..0bf3d3d990 100644 --- a/src/test/java/org/springframework/data/repository/core/support/DummyReactiveRepositoryFactory.java +++ b/src/test/java/org/springframework/data/repository/core/support/DummyReactiveRepositoryFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryFactory.java b/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryFactory.java index c8ea266bcd..006508c6d2 100644 --- a/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryFactory.java +++ b/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryFactoryBean.java b/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryFactoryBean.java index 78852e57b2..8a5b9b6d6d 100644 --- a/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryFactoryBean.java +++ b/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryInformation.java b/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryInformation.java index 6c8ae68a6d..8eefb29282 100644 --- a/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryInformation.java +++ b/src/test/java/org/springframework/data/repository/core/support/DummyRepositoryInformation.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessorUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessorUnitTests.java index 30fbc4bfb1..65a77a922c 100644 --- a/src/test/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/EventPublishingRepositoryProxyPostProcessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/ExampleSpecificationAccessorUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/ExampleSpecificationAccessorUnitTests.java index 0c6d56e7b2..bbc497fcdd 100755 --- a/src/test/java/org/springframework/data/repository/core/support/ExampleSpecificationAccessorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/ExampleSpecificationAccessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessorUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessorUnitTests.java index f2401fd088..8e93fd78ea 100755 --- a/src/test/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/PersistenceExceptionTranslationRepositoryProxyPostProcessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/PersistentEntityInformationUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/PersistentEntityInformationUnitTests.java index 05ba0748af..656a22a0c6 100755 --- a/src/test/java/org/springframework/data/repository/core/support/PersistentEntityInformationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/PersistentEntityInformationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java index ef8b171189..843600dc7d 100755 --- a/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/QueryExecutionResultHandlerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptorUnitTests.java index 9e5e9a46eb..082292c59e 100755 --- a/src/test/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/QueryExecutorMethodInterceptorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/ReactiveDummyRepositoryFactory.java b/src/test/java/org/springframework/data/repository/core/support/ReactiveDummyRepositoryFactory.java index 28eb1916f7..2614f3f385 100644 --- a/src/test/java/org/springframework/data/repository/core/support/ReactiveDummyRepositoryFactory.java +++ b/src/test/java/org/springframework/data/repository/core/support/ReactiveDummyRepositoryFactory.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/ReactiveDummyRepositoryFactoryBean.java b/src/test/java/org/springframework/data/repository/core/support/ReactiveDummyRepositoryFactoryBean.java index eb0f8c2bb6..2ede041943 100644 --- a/src/test/java/org/springframework/data/repository/core/support/ReactiveDummyRepositoryFactoryBean.java +++ b/src/test/java/org/springframework/data/repository/core/support/ReactiveDummyRepositoryFactoryBean.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/ReactiveRepositoryInformationUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/ReactiveRepositoryInformationUnitTests.java index 57ffd8376a..61ea69f0a4 100644 --- a/src/test/java/org/springframework/data/repository/core/support/ReactiveRepositoryInformationUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/ReactiveRepositoryInformationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/ReactiveWrapperRepositoryFactorySupportUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/ReactiveWrapperRepositoryFactorySupportUnitTests.java index af5e6868ad..b3d340dd9a 100644 --- a/src/test/java/org/springframework/data/repository/core/support/ReactiveWrapperRepositoryFactorySupportUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/ReactiveWrapperRepositoryFactorySupportUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/RepositoryCompositionUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/RepositoryCompositionUnitTests.java index 8c6864e034..8dfe601078 100644 --- a/src/test/java/org/springframework/data/repository/core/support/RepositoryCompositionUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/RepositoryCompositionUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupportUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupportUnitTests.java index 070e5a0e37..b6ceb75a48 100755 --- a/src/test/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupportUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/RepositoryFactoryBeanSupportUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/RepositoryFactorySupportUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/RepositoryFactorySupportUnitTests.java index 71a4702823..fe239e559c 100755 --- a/src/test/java/org/springframework/data/repository/core/support/RepositoryFactorySupportUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/RepositoryFactorySupportUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/RepositoryFragmentUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/RepositoryFragmentUnitTests.java index ed7fde38b2..f2397f0800 100644 --- a/src/test/java/org/springframework/data/repository/core/support/RepositoryFragmentUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/RepositoryFragmentUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/RepositoryInformationPreferringAnnotationTransactionAttributeSourceUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/RepositoryInformationPreferringAnnotationTransactionAttributeSourceUnitTests.java index af02bbcc0b..8dff32a648 100755 --- a/src/test/java/org/springframework/data/repository/core/support/RepositoryInformationPreferringAnnotationTransactionAttributeSourceUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/RepositoryInformationPreferringAnnotationTransactionAttributeSourceUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/RepositoryMethodInvokerUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/RepositoryMethodInvokerUnitTests.java index bc479f9dfb..216fcd6331 100644 --- a/src/test/java/org/springframework/data/repository/core/support/RepositoryMethodInvokerUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/RepositoryMethodInvokerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/SurroundingTransactionDetectorMethodInterceptorUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/SurroundingTransactionDetectorMethodInterceptorUnitTests.java index 413fa461da..3e0dbc34b2 100644 --- a/src/test/java/org/springframework/data/repository/core/support/SurroundingTransactionDetectorMethodInterceptorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/SurroundingTransactionDetectorMethodInterceptorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/TransactionRepositoryFactoryBeanSupportUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/TransactionRepositoryFactoryBeanSupportUnitTests.java index 11e244f9aa..2988dc7317 100755 --- a/src/test/java/org/springframework/data/repository/core/support/TransactionRepositoryFactoryBeanSupportUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/TransactionRepositoryFactoryBeanSupportUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/core/support/TransactionRepositoryProxyPostProcessorUnitTests.java b/src/test/java/org/springframework/data/repository/core/support/TransactionRepositoryProxyPostProcessorUnitTests.java index fce6a518c4..3364ddef39 100755 --- a/src/test/java/org/springframework/data/repository/core/support/TransactionRepositoryProxyPostProcessorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/core/support/TransactionRepositoryProxyPostProcessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/init/Jackson2ResourceReaderIntegrationTests.java b/src/test/java/org/springframework/data/repository/init/Jackson2ResourceReaderIntegrationTests.java index 1ed2b21296..fa74622671 100755 --- a/src/test/java/org/springframework/data/repository/init/Jackson2ResourceReaderIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/init/Jackson2ResourceReaderIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/init/Person.java b/src/test/java/org/springframework/data/repository/init/Person.java index de17777d35..24442ff53c 100644 --- a/src/test/java/org/springframework/data/repository/init/Person.java +++ b/src/test/java/org/springframework/data/repository/init/Person.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/init/ResourceReaderRepositoryInitializerUnitTests.java b/src/test/java/org/springframework/data/repository/init/ResourceReaderRepositoryInitializerUnitTests.java index 0cda4c12f1..26274758e1 100755 --- a/src/test/java/org/springframework/data/repository/init/ResourceReaderRepositoryInitializerUnitTests.java +++ b/src/test/java/org/springframework/data/repository/init/ResourceReaderRepositoryInitializerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/ExtensionAwareEvaluationContextProviderUnitTests.java b/src/test/java/org/springframework/data/repository/query/ExtensionAwareEvaluationContextProviderUnitTests.java index 1b121a049e..d2bb7e5198 100755 --- a/src/test/java/org/springframework/data/repository/query/ExtensionAwareEvaluationContextProviderUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/ExtensionAwareEvaluationContextProviderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/ParameterUnitTests.java b/src/test/java/org/springframework/data/repository/query/ParameterUnitTests.java index 2c1b017f99..e1eddb35bc 100644 --- a/src/test/java/org/springframework/data/repository/query/ParameterUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/ParameterUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/ParametersParameterAccessorUnitTests.java b/src/test/java/org/springframework/data/repository/query/ParametersParameterAccessorUnitTests.java index 3ef53ce9af..be59ab398e 100755 --- a/src/test/java/org/springframework/data/repository/query/ParametersParameterAccessorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/ParametersParameterAccessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/ParametersUnitTests.java b/src/test/java/org/springframework/data/repository/query/ParametersUnitTests.java index d827f65b05..96954852df 100755 --- a/src/test/java/org/springframework/data/repository/query/ParametersUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/ParametersUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/QueryMethodUnitTests.java b/src/test/java/org/springframework/data/repository/query/QueryMethodUnitTests.java index 1a63f01f8f..56f6b69bb5 100755 --- a/src/test/java/org/springframework/data/repository/query/QueryMethodUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/QueryMethodUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/QuotationMapUnitTests.java b/src/test/java/org/springframework/data/repository/query/QuotationMapUnitTests.java index 825bd0a7c5..929dc75086 100644 --- a/src/test/java/org/springframework/data/repository/query/QuotationMapUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/QuotationMapUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/ResultProcessorUnitTests.java b/src/test/java/org/springframework/data/repository/query/ResultProcessorUnitTests.java index b9ea84d2ef..5a601b7a57 100755 --- a/src/test/java/org/springframework/data/repository/query/ResultProcessorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/ResultProcessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/ReturnedTypeUnitTests.java b/src/test/java/org/springframework/data/repository/query/ReturnedTypeUnitTests.java index 3acac7f9c7..4dfe80d71f 100755 --- a/src/test/java/org/springframework/data/repository/query/ReturnedTypeUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/ReturnedTypeUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/SimpleParameterAccessorUnitTests.java b/src/test/java/org/springframework/data/repository/query/SimpleParameterAccessorUnitTests.java index c909c384db..aec5ed7d4c 100755 --- a/src/test/java/org/springframework/data/repository/query/SimpleParameterAccessorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/SimpleParameterAccessorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/SpelEvaluatorUnitTests.java b/src/test/java/org/springframework/data/repository/query/SpelEvaluatorUnitTests.java index 38bf59f973..3aa97b28b7 100644 --- a/src/test/java/org/springframework/data/repository/query/SpelEvaluatorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/SpelEvaluatorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/SpelExtractorUnitTests.java b/src/test/java/org/springframework/data/repository/query/SpelExtractorUnitTests.java index 52f3859424..881906afc5 100644 --- a/src/test/java/org/springframework/data/repository/query/SpelExtractorUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/SpelExtractorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/SpelQueryContextUnitTests.java b/src/test/java/org/springframework/data/repository/query/SpelQueryContextUnitTests.java index e0ddc4154e..ffc77b88dd 100644 --- a/src/test/java/org/springframework/data/repository/query/SpelQueryContextUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/SpelQueryContextUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/parser/OrderBySourceUnitTests.java b/src/test/java/org/springframework/data/repository/query/parser/OrderBySourceUnitTests.java index 493bbb90a7..d314c3ec73 100755 --- a/src/test/java/org/springframework/data/repository/query/parser/OrderBySourceUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/parser/OrderBySourceUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java b/src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java index 88d7eb26bd..d3cd3465db 100755 --- a/src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java +++ b/src/test/java/org/springframework/data/repository/query/parser/PartTreeUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/sample/AddressRepository.java b/src/test/java/org/springframework/data/repository/sample/AddressRepository.java index 9a861e7db5..e78dd6c0dd 100644 --- a/src/test/java/org/springframework/data/repository/sample/AddressRepository.java +++ b/src/test/java/org/springframework/data/repository/sample/AddressRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/sample/AddressRepositoryClient.java b/src/test/java/org/springframework/data/repository/sample/AddressRepositoryClient.java index baa7f13491..28af133f1b 100644 --- a/src/test/java/org/springframework/data/repository/sample/AddressRepositoryClient.java +++ b/src/test/java/org/springframework/data/repository/sample/AddressRepositoryClient.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/sample/Product.java b/src/test/java/org/springframework/data/repository/sample/Product.java index 5147902d52..26cf4d2e40 100644 --- a/src/test/java/org/springframework/data/repository/sample/Product.java +++ b/src/test/java/org/springframework/data/repository/sample/Product.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/sample/ProductRepository.java b/src/test/java/org/springframework/data/repository/sample/ProductRepository.java index faec94bc4d..a322d523ec 100644 --- a/src/test/java/org/springframework/data/repository/sample/ProductRepository.java +++ b/src/test/java/org/springframework/data/repository/sample/ProductRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/sample/SampleAnnotatedRepository.java b/src/test/java/org/springframework/data/repository/sample/SampleAnnotatedRepository.java index 6c1f6d40b2..9b356f5dbd 100644 --- a/src/test/java/org/springframework/data/repository/sample/SampleAnnotatedRepository.java +++ b/src/test/java/org/springframework/data/repository/sample/SampleAnnotatedRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/sample/SampleConfiguration.java b/src/test/java/org/springframework/data/repository/sample/SampleConfiguration.java index a6e6b54660..b163eba958 100644 --- a/src/test/java/org/springframework/data/repository/sample/SampleConfiguration.java +++ b/src/test/java/org/springframework/data/repository/sample/SampleConfiguration.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/sample/User.java b/src/test/java/org/springframework/data/repository/sample/User.java index d3849b57a4..37abc3820d 100644 --- a/src/test/java/org/springframework/data/repository/sample/User.java +++ b/src/test/java/org/springframework/data/repository/sample/User.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/sample/UserRepository.java b/src/test/java/org/springframework/data/repository/sample/UserRepository.java index 40eadb7f69..9d755bfbc5 100644 --- a/src/test/java/org/springframework/data/repository/sample/UserRepository.java +++ b/src/test/java/org/springframework/data/repository/sample/UserRepository.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/AnnotationAttributeUnitTests.java b/src/test/java/org/springframework/data/repository/support/AnnotationAttributeUnitTests.java index cf1f860c56..cd211766c6 100755 --- a/src/test/java/org/springframework/data/repository/support/AnnotationAttributeUnitTests.java +++ b/src/test/java/org/springframework/data/repository/support/AnnotationAttributeUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/CrudRepositoryInvokerUnitTests.java b/src/test/java/org/springframework/data/repository/support/CrudRepositoryInvokerUnitTests.java index 8f0c2e1613..8206c5fd25 100755 --- a/src/test/java/org/springframework/data/repository/support/CrudRepositoryInvokerUnitTests.java +++ b/src/test/java/org/springframework/data/repository/support/CrudRepositoryInvokerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/DefaultRepositoryInvokerFactoryIntegrationTests.java b/src/test/java/org/springframework/data/repository/support/DefaultRepositoryInvokerFactoryIntegrationTests.java index e4f83e74cc..40b99004fd 100755 --- a/src/test/java/org/springframework/data/repository/support/DefaultRepositoryInvokerFactoryIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/support/DefaultRepositoryInvokerFactoryIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/DomainClassConverterIntegrationTests.java b/src/test/java/org/springframework/data/repository/support/DomainClassConverterIntegrationTests.java index 9305b51315..6ed64427c0 100755 --- a/src/test/java/org/springframework/data/repository/support/DomainClassConverterIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/support/DomainClassConverterIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/DomainClassConverterUnitTests.java b/src/test/java/org/springframework/data/repository/support/DomainClassConverterUnitTests.java index dc9979cf3d..2cc473493e 100755 --- a/src/test/java/org/springframework/data/repository/support/DomainClassConverterUnitTests.java +++ b/src/test/java/org/springframework/data/repository/support/DomainClassConverterUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/MethodParametersUnitTests.java b/src/test/java/org/springframework/data/repository/support/MethodParametersUnitTests.java index 1e13f2e85e..61eb8f7358 100755 --- a/src/test/java/org/springframework/data/repository/support/MethodParametersUnitTests.java +++ b/src/test/java/org/springframework/data/repository/support/MethodParametersUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/ReflectionRepositoryInvokerUnitTests.java b/src/test/java/org/springframework/data/repository/support/ReflectionRepositoryInvokerUnitTests.java index 99a9d5389b..e1b51cbbdc 100755 --- a/src/test/java/org/springframework/data/repository/support/ReflectionRepositoryInvokerUnitTests.java +++ b/src/test/java/org/springframework/data/repository/support/ReflectionRepositoryInvokerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/RepositoriesIntegrationTests.java b/src/test/java/org/springframework/data/repository/support/RepositoriesIntegrationTests.java index 62583ec418..01e5cc7e7b 100755 --- a/src/test/java/org/springframework/data/repository/support/RepositoriesIntegrationTests.java +++ b/src/test/java/org/springframework/data/repository/support/RepositoriesIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java b/src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java index 5a38eb220d..66a7feac02 100755 --- a/src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java +++ b/src/test/java/org/springframework/data/repository/support/RepositoriesUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/support/RepositoryInvocationTestUtils.java b/src/test/java/org/springframework/data/repository/support/RepositoryInvocationTestUtils.java index 8c6f276591..c2fa341d9d 100644 --- a/src/test/java/org/springframework/data/repository/support/RepositoryInvocationTestUtils.java +++ b/src/test/java/org/springframework/data/repository/support/RepositoryInvocationTestUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/util/ClassUtilsUnitTests.java b/src/test/java/org/springframework/data/repository/util/ClassUtilsUnitTests.java index d0d3df97a8..f271579610 100755 --- a/src/test/java/org/springframework/data/repository/util/ClassUtilsUnitTests.java +++ b/src/test/java/org/springframework/data/repository/util/ClassUtilsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/util/QueryExecutionConvertersUnitTests.java b/src/test/java/org/springframework/data/repository/util/QueryExecutionConvertersUnitTests.java index a3145b2547..ec58925722 100755 --- a/src/test/java/org/springframework/data/repository/util/QueryExecutionConvertersUnitTests.java +++ b/src/test/java/org/springframework/data/repository/util/QueryExecutionConvertersUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/repository/util/ReactiveWrapperConvertersUnitTests.java b/src/test/java/org/springframework/data/repository/util/ReactiveWrapperConvertersUnitTests.java index 4b5fc73367..0af0cfe94b 100644 --- a/src/test/java/org/springframework/data/repository/util/ReactiveWrapperConvertersUnitTests.java +++ b/src/test/java/org/springframework/data/repository/util/ReactiveWrapperConvertersUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/spel/EvaluationContextExtensionInformationUnitTests.java b/src/test/java/org/springframework/data/spel/EvaluationContextExtensionInformationUnitTests.java index d467425609..42a5d9ca93 100644 --- a/src/test/java/org/springframework/data/spel/EvaluationContextExtensionInformationUnitTests.java +++ b/src/test/java/org/springframework/data/spel/EvaluationContextExtensionInformationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/spel/ExpressionDependenciesUnitTests.java b/src/test/java/org/springframework/data/spel/ExpressionDependenciesUnitTests.java index b896246d35..7d3a8c2675 100644 --- a/src/test/java/org/springframework/data/spel/ExpressionDependenciesUnitTests.java +++ b/src/test/java/org/springframework/data/spel/ExpressionDependenciesUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/spel/ReactiveExtensionAwareEvaluationContextProviderUnitTests.java b/src/test/java/org/springframework/data/spel/ReactiveExtensionAwareEvaluationContextProviderUnitTests.java index a089e0f6a8..a645d3a48e 100644 --- a/src/test/java/org/springframework/data/spel/ReactiveExtensionAwareEvaluationContextProviderUnitTests.java +++ b/src/test/java/org/springframework/data/spel/ReactiveExtensionAwareEvaluationContextProviderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/spel/spi/FunctionUnitTests.java b/src/test/java/org/springframework/data/spel/spi/FunctionUnitTests.java index 180edfb116..db00dfb2df 100644 --- a/src/test/java/org/springframework/data/spel/spi/FunctionUnitTests.java +++ b/src/test/java/org/springframework/data/spel/spi/FunctionUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/support/PageableExecutionUtilsUnitTests.java b/src/test/java/org/springframework/data/support/PageableExecutionUtilsUnitTests.java index 555f8f25df..922bc8564b 100755 --- a/src/test/java/org/springframework/data/support/PageableExecutionUtilsUnitTests.java +++ b/src/test/java/org/springframework/data/support/PageableExecutionUtilsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/support/PersistableIsNewStrategyUnitTests.java b/src/test/java/org/springframework/data/support/PersistableIsNewStrategyUnitTests.java index 774f884144..f952d48809 100755 --- a/src/test/java/org/springframework/data/support/PersistableIsNewStrategyUnitTests.java +++ b/src/test/java/org/springframework/data/support/PersistableIsNewStrategyUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/test/util/ClassPathExclusions.java b/src/test/java/org/springframework/data/test/util/ClassPathExclusions.java index 1f903be701..43badee356 100644 --- a/src/test/java/org/springframework/data/test/util/ClassPathExclusions.java +++ b/src/test/java/org/springframework/data/test/util/ClassPathExclusions.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/test/util/ClassPathExclusionsExtension.java b/src/test/java/org/springframework/data/test/util/ClassPathExclusionsExtension.java index 295ae2d24e..d268b9f4b1 100644 --- a/src/test/java/org/springframework/data/test/util/ClassPathExclusionsExtension.java +++ b/src/test/java/org/springframework/data/test/util/ClassPathExclusionsExtension.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/test/util/PackageExcludingClassLoader.java b/src/test/java/org/springframework/data/test/util/PackageExcludingClassLoader.java index b389354b31..1545e635c9 100644 --- a/src/test/java/org/springframework/data/test/util/PackageExcludingClassLoader.java +++ b/src/test/java/org/springframework/data/test/util/PackageExcludingClassLoader.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/transaction/ChainedTransactionManagerTests.java b/src/test/java/org/springframework/data/transaction/ChainedTransactionManagerTests.java index 88261b94e1..9fc9384f0d 100755 --- a/src/test/java/org/springframework/data/transaction/ChainedTransactionManagerTests.java +++ b/src/test/java/org/springframework/data/transaction/ChainedTransactionManagerTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/type/classreading/DefaultMethodsMetadataReaderUnitTests.java b/src/test/java/org/springframework/data/type/classreading/DefaultMethodsMetadataReaderUnitTests.java index 8580d48bca..be27ec82af 100644 --- a/src/test/java/org/springframework/data/type/classreading/DefaultMethodsMetadataReaderUnitTests.java +++ b/src/test/java/org/springframework/data/type/classreading/DefaultMethodsMetadataReaderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/type/classreading/MethodsMetadataReaderFactoryUnitTests.java b/src/test/java/org/springframework/data/type/classreading/MethodsMetadataReaderFactoryUnitTests.java index 33e19b678a..b4a61ad8cb 100644 --- a/src/test/java/org/springframework/data/type/classreading/MethodsMetadataReaderFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/type/classreading/MethodsMetadataReaderFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/AbstractAuditable.java b/src/test/java/org/springframework/data/util/AbstractAuditable.java index d5390b7ea2..cec7ecdbd3 100644 --- a/src/test/java/org/springframework/data/util/AbstractAuditable.java +++ b/src/test/java/org/springframework/data/util/AbstractAuditable.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/Animal.java b/src/test/java/org/springframework/data/util/Animal.java index 69c012adf3..946d72f6df 100644 --- a/src/test/java/org/springframework/data/util/Animal.java +++ b/src/test/java/org/springframework/data/util/Animal.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/AnnotatedTypeScannerUnitTests.java b/src/test/java/org/springframework/data/util/AnnotatedTypeScannerUnitTests.java index 0c794d97e1..33df2abeb4 100755 --- a/src/test/java/org/springframework/data/util/AnnotatedTypeScannerUnitTests.java +++ b/src/test/java/org/springframework/data/util/AnnotatedTypeScannerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/AnnotationDetectionFieldCallbackUnitTests.java b/src/test/java/org/springframework/data/util/AnnotationDetectionFieldCallbackUnitTests.java index 8df3c97b55..ae3d2b914d 100755 --- a/src/test/java/org/springframework/data/util/AnnotationDetectionFieldCallbackUnitTests.java +++ b/src/test/java/org/springframework/data/util/AnnotationDetectionFieldCallbackUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/AnnotationDetectionMethodCallbackUnitTests.java b/src/test/java/org/springframework/data/util/AnnotationDetectionMethodCallbackUnitTests.java index c675b45b50..93ac27b1de 100755 --- a/src/test/java/org/springframework/data/util/AnnotationDetectionMethodCallbackUnitTests.java +++ b/src/test/java/org/springframework/data/util/AnnotationDetectionMethodCallbackUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/BeanLookupUnitTests.java b/src/test/java/org/springframework/data/util/BeanLookupUnitTests.java index aa8f9ff9ec..441b13da6c 100644 --- a/src/test/java/org/springframework/data/util/BeanLookupUnitTests.java +++ b/src/test/java/org/springframework/data/util/BeanLookupUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/ClassTypeInformationUnitTests.java b/src/test/java/org/springframework/data/util/ClassTypeInformationUnitTests.java index e586e95b54..4b6c8ac949 100755 --- a/src/test/java/org/springframework/data/util/ClassTypeInformationUnitTests.java +++ b/src/test/java/org/springframework/data/util/ClassTypeInformationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/CloseableIteratorUnitTests.java b/src/test/java/org/springframework/data/util/CloseableIteratorUnitTests.java index e2ab259158..429574dead 100644 --- a/src/test/java/org/springframework/data/util/CloseableIteratorUnitTests.java +++ b/src/test/java/org/springframework/data/util/CloseableIteratorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/CustomCollectionsUnitTests.java b/src/test/java/org/springframework/data/util/CustomCollectionsUnitTests.java index de9f15a5c5..f96e3f4922 100644 --- a/src/test/java/org/springframework/data/util/CustomCollectionsUnitTests.java +++ b/src/test/java/org/springframework/data/util/CustomCollectionsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/DataCmns511Tests.java b/src/test/java/org/springframework/data/util/DataCmns511Tests.java index 3b7e9adfbd..c9639f8185 100755 --- a/src/test/java/org/springframework/data/util/DataCmns511Tests.java +++ b/src/test/java/org/springframework/data/util/DataCmns511Tests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/DirectFieldAccessFallbackBeanWrapperUnitTests.java b/src/test/java/org/springframework/data/util/DirectFieldAccessFallbackBeanWrapperUnitTests.java index 6adb89394a..0022feb8a2 100755 --- a/src/test/java/org/springframework/data/util/DirectFieldAccessFallbackBeanWrapperUnitTests.java +++ b/src/test/java/org/springframework/data/util/DirectFieldAccessFallbackBeanWrapperUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/KotlinReflectionUtilsUnitTests.java b/src/test/java/org/springframework/data/util/KotlinReflectionUtilsUnitTests.java index ad442db9e1..2eeeb60ca0 100644 --- a/src/test/java/org/springframework/data/util/KotlinReflectionUtilsUnitTests.java +++ b/src/test/java/org/springframework/data/util/KotlinReflectionUtilsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/LazyUnitTests.java b/src/test/java/org/springframework/data/util/LazyUnitTests.java index b145278cc2..3065bc7951 100755 --- a/src/test/java/org/springframework/data/util/LazyUnitTests.java +++ b/src/test/java/org/springframework/data/util/LazyUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/LockUnitTests.java b/src/test/java/org/springframework/data/util/LockUnitTests.java index a6f5f53f96..13d507d8e2 100644 --- a/src/test/java/org/springframework/data/util/LockUnitTests.java +++ b/src/test/java/org/springframework/data/util/LockUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/MethodInvocationRecorderUnitTests.java b/src/test/java/org/springframework/data/util/MethodInvocationRecorderUnitTests.java index 8674845d53..1b208e9e05 100644 --- a/src/test/java/org/springframework/data/util/MethodInvocationRecorderUnitTests.java +++ b/src/test/java/org/springframework/data/util/MethodInvocationRecorderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/NullableUtilsUnitTests.java b/src/test/java/org/springframework/data/util/NullableUtilsUnitTests.java index 8dae1deb92..e932c27d4e 100644 --- a/src/test/java/org/springframework/data/util/NullableUtilsUnitTests.java +++ b/src/test/java/org/springframework/data/util/NullableUtilsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/NullableWrapperConvertersUnitTests.java b/src/test/java/org/springframework/data/util/NullableWrapperConvertersUnitTests.java index cde8615e65..e512a506ec 100755 --- a/src/test/java/org/springframework/data/util/NullableWrapperConvertersUnitTests.java +++ b/src/test/java/org/springframework/data/util/NullableWrapperConvertersUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/PairUnitTests.java b/src/test/java/org/springframework/data/util/PairUnitTests.java index 3e718df917..40aa858d50 100755 --- a/src/test/java/org/springframework/data/util/PairUnitTests.java +++ b/src/test/java/org/springframework/data/util/PairUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/ParameterTypesUnitTests.java b/src/test/java/org/springframework/data/util/ParameterTypesUnitTests.java index c7bc12721c..6207147fa1 100644 --- a/src/test/java/org/springframework/data/util/ParameterTypesUnitTests.java +++ b/src/test/java/org/springframework/data/util/ParameterTypesUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/ParsingUtilsUnitTests.java b/src/test/java/org/springframework/data/util/ParsingUtilsUnitTests.java index 8dfe073792..3df2c9a2dc 100755 --- a/src/test/java/org/springframework/data/util/ParsingUtilsUnitTests.java +++ b/src/test/java/org/springframework/data/util/ParsingUtilsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/ProxyUtilsUnitTests.java b/src/test/java/org/springframework/data/util/ProxyUtilsUnitTests.java index b67a6eef07..69c6a2525e 100644 --- a/src/test/java/org/springframework/data/util/ProxyUtilsUnitTests.java +++ b/src/test/java/org/springframework/data/util/ProxyUtilsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/QTypeContributorUnitTests.java b/src/test/java/org/springframework/data/util/QTypeContributorUnitTests.java index ee237fac0f..af6dc356f5 100644 --- a/src/test/java/org/springframework/data/util/QTypeContributorUnitTests.java +++ b/src/test/java/org/springframework/data/util/QTypeContributorUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/ReactiveWrappersUnitTests.java b/src/test/java/org/springframework/data/util/ReactiveWrappersUnitTests.java index 19ff9ec83b..2452f36c97 100644 --- a/src/test/java/org/springframework/data/util/ReactiveWrappersUnitTests.java +++ b/src/test/java/org/springframework/data/util/ReactiveWrappersUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/ReflectionUtilsUnitTests.java b/src/test/java/org/springframework/data/util/ReflectionUtilsUnitTests.java index b7b74b0598..8dc9c1f9c7 100755 --- a/src/test/java/org/springframework/data/util/ReflectionUtilsUnitTests.java +++ b/src/test/java/org/springframework/data/util/ReflectionUtilsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2012-2024 the original author or authors. + * Copyright 2012-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/StreamUtilsTests.java b/src/test/java/org/springframework/data/util/StreamUtilsTests.java index 2ea7ea71e7..7917fc265e 100755 --- a/src/test/java/org/springframework/data/util/StreamUtilsTests.java +++ b/src/test/java/org/springframework/data/util/StreamUtilsTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/StreamableUnitTests.java b/src/test/java/org/springframework/data/util/StreamableUnitTests.java index d36655f3d3..be20906351 100644 --- a/src/test/java/org/springframework/data/util/StreamableUnitTests.java +++ b/src/test/java/org/springframework/data/util/StreamableUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/TypeDiscovererUnitTests.java b/src/test/java/org/springframework/data/util/TypeDiscovererUnitTests.java index c77055ee47..5e9dc09dc7 100755 --- a/src/test/java/org/springframework/data/util/TypeDiscovererUnitTests.java +++ b/src/test/java/org/springframework/data/util/TypeDiscovererUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2011-2024 the original author or authors. + * Copyright 2011-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/TypeScannerUnitTests.java b/src/test/java/org/springframework/data/util/TypeScannerUnitTests.java index ab56908680..ed6757513b 100644 --- a/src/test/java/org/springframework/data/util/TypeScannerUnitTests.java +++ b/src/test/java/org/springframework/data/util/TypeScannerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/VersionUnitTests.java b/src/test/java/org/springframework/data/util/VersionUnitTests.java index 0abbc22dcc..45140b76fe 100755 --- a/src/test/java/org/springframework/data/util/VersionUnitTests.java +++ b/src/test/java/org/springframework/data/util/VersionUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/nonnull/NullableAnnotatedType.java b/src/test/java/org/springframework/data/util/nonnull/NullableAnnotatedType.java index 684c6017da..aa9c0c0502 100644 --- a/src/test/java/org/springframework/data/util/nonnull/NullableAnnotatedType.java +++ b/src/test/java/org/springframework/data/util/nonnull/NullableAnnotatedType.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/nonnull/packagelevel/NonNullOnPackage.java b/src/test/java/org/springframework/data/util/nonnull/packagelevel/NonNullOnPackage.java index dc2524608e..5a598dd586 100644 --- a/src/test/java/org/springframework/data/util/nonnull/packagelevel/NonNullOnPackage.java +++ b/src/test/java/org/springframework/data/util/nonnull/packagelevel/NonNullOnPackage.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/nonnull/type/CustomAnnotatedType.java b/src/test/java/org/springframework/data/util/nonnull/type/CustomAnnotatedType.java index 2f918a3906..18c5f942d9 100644 --- a/src/test/java/org/springframework/data/util/nonnull/type/CustomAnnotatedType.java +++ b/src/test/java/org/springframework/data/util/nonnull/type/CustomAnnotatedType.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/nonnull/type/CustomNonNullAnnotation.java b/src/test/java/org/springframework/data/util/nonnull/type/CustomNonNullAnnotation.java index f5cda93ad9..ddc273547a 100644 --- a/src/test/java/org/springframework/data/util/nonnull/type/CustomNonNullAnnotation.java +++ b/src/test/java/org/springframework/data/util/nonnull/type/CustomNonNullAnnotation.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/nonnull/type/Jsr305NonnullAnnotatedType.java b/src/test/java/org/springframework/data/util/nonnull/type/Jsr305NonnullAnnotatedType.java index 109292d32d..cc63e76d79 100644 --- a/src/test/java/org/springframework/data/util/nonnull/type/Jsr305NonnullAnnotatedType.java +++ b/src/test/java/org/springframework/data/util/nonnull/type/Jsr305NonnullAnnotatedType.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/nonnull/type/NonAnnotatedType.java b/src/test/java/org/springframework/data/util/nonnull/type/NonAnnotatedType.java index 094d9a5a3c..929421059b 100644 --- a/src/test/java/org/springframework/data/util/nonnull/type/NonAnnotatedType.java +++ b/src/test/java/org/springframework/data/util/nonnull/type/NonAnnotatedType.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/util/nonnull/type/NonNullableParameters.java b/src/test/java/org/springframework/data/util/nonnull/type/NonNullableParameters.java index 723016dde5..b418982187 100644 --- a/src/test/java/org/springframework/data/util/nonnull/type/NonNullableParameters.java +++ b/src/test/java/org/springframework/data/util/nonnull/type/NonNullableParameters.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolverUnitTests.java index 87e5e4eb40..ba1a1a5741 100755 --- a/src/test/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/HateoasPageableHandlerMethodArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolverUnitTests.java index dfc4b93fc7..19a5f7e8dc 100755 --- a/src/test/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/HateoasSortHandlerMethodArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactoryUnitTests.java b/src/test/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactoryUnitTests.java index 20617daef3..001db12732 100755 --- a/src/test/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/web/JsonProjectingMethodInterceptorFactoryUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/MapDataBinderUnitTests.java b/src/test/java/org/springframework/data/web/MapDataBinderUnitTests.java index e23008f4f2..1a340b273d 100755 --- a/src/test/java/org/springframework/data/web/MapDataBinderUnitTests.java +++ b/src/test/java/org/springframework/data/web/MapDataBinderUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolverUnitTests.java index 03eb8bf57b..33691f72a5 100755 --- a/src/test/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/OffsetScrollPositionHandlerMethodArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/PageImplJsonSerializationUnitTests.java b/src/test/java/org/springframework/data/web/PageImplJsonSerializationUnitTests.java index e5a7d34ed6..77f88028bb 100644 --- a/src/test/java/org/springframework/data/web/PageImplJsonSerializationUnitTests.java +++ b/src/test/java/org/springframework/data/web/PageImplJsonSerializationUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/PageableDefaultUnitTests.java b/src/test/java/org/springframework/data/web/PageableDefaultUnitTests.java index 2b4056a56b..e729961fa2 100755 --- a/src/test/java/org/springframework/data/web/PageableDefaultUnitTests.java +++ b/src/test/java/org/springframework/data/web/PageableDefaultUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverUnitTests.java index 8577fed4bf..a03faf3d57 100755 --- a/src/test/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/PageableHandlerMethodArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolverUnitTests.java index aac010afe1..113a3a1ed8 100755 --- a/src/test/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/PagedResourcesAssemblerArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2014-2024 the original author or authors. + * Copyright 2014-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/PagedResourcesAssemblerUnitTests.java b/src/test/java/org/springframework/data/web/PagedResourcesAssemblerUnitTests.java index 23e9cbb7ee..bbc6797891 100755 --- a/src/test/java/org/springframework/data/web/PagedResourcesAssemblerUnitTests.java +++ b/src/test/java/org/springframework/data/web/PagedResourcesAssemblerUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverterUnitTests.java b/src/test/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverterUnitTests.java index 96eb9f9fe7..823088d481 100755 --- a/src/test/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverterUnitTests.java +++ b/src/test/java/org/springframework/data/web/ProjectingJackson2HttpMessageConverterUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java index 39134ac5f8..85f14ea2f3 100755 --- a/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/ProxyingHandlerMethodArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/ReactiveOffsetScrollPositionHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/ReactiveOffsetScrollPositionHandlerMethodArgumentResolverUnitTests.java index 3c322a05b7..29c0b35dcb 100755 --- a/src/test/java/org/springframework/data/web/ReactiveOffsetScrollPositionHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/ReactiveOffsetScrollPositionHandlerMethodArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolverUnitTests.java index 595519c17a..b55ef651d1 100755 --- a/src/test/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/ReactivePageableHandlerMethodArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolverUnitTests.java index bbc32a7267..9a2c197f91 100755 --- a/src/test/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/ReactiveSortHandlerMethodArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/SlicedResourcesAssemblerArgumentResolverUnitTest.java b/src/test/java/org/springframework/data/web/SlicedResourcesAssemblerArgumentResolverUnitTest.java index 4e96517c2b..94562dacd3 100644 --- a/src/test/java/org/springframework/data/web/SlicedResourcesAssemblerArgumentResolverUnitTest.java +++ b/src/test/java/org/springframework/data/web/SlicedResourcesAssemblerArgumentResolverUnitTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/SlicedResourcesAssemblerUnitTest.java b/src/test/java/org/springframework/data/web/SlicedResourcesAssemblerUnitTest.java index e1fc6c4de6..ab3f240074 100644 --- a/src/test/java/org/springframework/data/web/SlicedResourcesAssemblerUnitTest.java +++ b/src/test/java/org/springframework/data/web/SlicedResourcesAssemblerUnitTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2022-2024 the original author or authors. + * Copyright 2022-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/SortDefaultUnitTests.java b/src/test/java/org/springframework/data/web/SortDefaultUnitTests.java index 968da475c2..1413c70f2c 100755 --- a/src/test/java/org/springframework/data/web/SortDefaultUnitTests.java +++ b/src/test/java/org/springframework/data/web/SortDefaultUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/SortHandlerMethodArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/SortHandlerMethodArgumentResolverUnitTests.java index 6cfa43df4c..ee7f1db066 100755 --- a/src/test/java/org/springframework/data/web/SortHandlerMethodArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/SortHandlerMethodArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/TestQualifier.java b/src/test/java/org/springframework/data/web/TestQualifier.java index 4d6a125b2f..45133a0e21 100644 --- a/src/test/java/org/springframework/data/web/TestQualifier.java +++ b/src/test/java/org/springframework/data/web/TestQualifier.java @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/TestUtils.java b/src/test/java/org/springframework/data/web/TestUtils.java index 62ee6239aa..4f6f7e5610 100644 --- a/src/test/java/org/springframework/data/web/TestUtils.java +++ b/src/test/java/org/springframework/data/web/TestUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/WebTestUtils.java b/src/test/java/org/springframework/data/web/WebTestUtils.java index a4013e4d05..bbdaf7b0d9 100644 --- a/src/test/java/org/springframework/data/web/WebTestUtils.java +++ b/src/test/java/org/springframework/data/web/WebTestUtils.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/XmlBeamHttpMessageConverterUnitTests.java b/src/test/java/org/springframework/data/web/XmlBeamHttpMessageConverterUnitTests.java index 882ae8b39e..65837afcff 100755 --- a/src/test/java/org/springframework/data/web/XmlBeamHttpMessageConverterUnitTests.java +++ b/src/test/java/org/springframework/data/web/XmlBeamHttpMessageConverterUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2016-2024 the original author or authors. + * Copyright 2016-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/aot/WebRuntimeHintsUnitTests.java b/src/test/java/org/springframework/data/web/aot/WebRuntimeHintsUnitTests.java index 6a88781b55..5413974db6 100644 --- a/src/test/java/org/springframework/data/web/aot/WebRuntimeHintsUnitTests.java +++ b/src/test/java/org/springframework/data/web/aot/WebRuntimeHintsUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java b/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java index 10c8909b3d..d680dc3c29 100755 --- a/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java +++ b/src/test/java/org/springframework/data/web/config/EnableSpringDataWebSupportIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/config/PageSampleController.java b/src/test/java/org/springframework/data/web/config/PageSampleController.java index bd0899944a..54d8b835ea 100755 --- a/src/test/java/org/springframework/data/web/config/PageSampleController.java +++ b/src/test/java/org/springframework/data/web/config/PageSampleController.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/config/PageableResourcesAssemblerIntegrationTests.java b/src/test/java/org/springframework/data/web/config/PageableResourcesAssemblerIntegrationTests.java index 8ca3212ecd..7732171a22 100755 --- a/src/test/java/org/springframework/data/web/config/PageableResourcesAssemblerIntegrationTests.java +++ b/src/test/java/org/springframework/data/web/config/PageableResourcesAssemblerIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2013-2024 the original author or authors. + * Copyright 2013-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/config/SampleController.java b/src/test/java/org/springframework/data/web/config/SampleController.java index f78d57a0eb..465bc44f89 100755 --- a/src/test/java/org/springframework/data/web/config/SampleController.java +++ b/src/test/java/org/springframework/data/web/config/SampleController.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/config/SampleMixin.java b/src/test/java/org/springframework/data/web/config/SampleMixin.java index d4c69ab65c..dd0cb3aa43 100644 --- a/src/test/java/org/springframework/data/web/config/SampleMixin.java +++ b/src/test/java/org/springframework/data/web/config/SampleMixin.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/config/SpringDataWebConfigurationIntegrationTests.java b/src/test/java/org/springframework/data/web/config/SpringDataWebConfigurationIntegrationTests.java index 74c51baea1..6586701e13 100644 --- a/src/test/java/org/springframework/data/web/config/SpringDataWebConfigurationIntegrationTests.java +++ b/src/test/java/org/springframework/data/web/config/SpringDataWebConfigurationIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverUnitTests.java index 9666573949..7263f5b0d6 100755 --- a/src/test/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/querydsl/QuerydslPredicateArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolverUnitTests.java b/src/test/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolverUnitTests.java index a39b1c650b..a11efb2393 100755 --- a/src/test/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolverUnitTests.java +++ b/src/test/java/org/springframework/data/web/querydsl/ReactiveQuerydslPredicateArgumentResolverUnitTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2024 the original author or authors. + * Copyright 2015-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/KPropertyPathTests.kt b/src/test/kotlin/org/springframework/data/mapping/KPropertyPathTests.kt index 7abd833b57..18276ae9af 100644 --- a/src/test/kotlin/org/springframework/data/mapping/KPropertyPathTests.kt +++ b/src/test/kotlin/org/springframework/data/mapping/KPropertyPathTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/context/SimpleDataClass.kt b/src/test/kotlin/org/springframework/data/mapping/context/SimpleDataClass.kt index fca77411fd..591dd7a01f 100644 --- a/src/test/kotlin/org/springframework/data/mapping/context/SimpleDataClass.kt +++ b/src/test/kotlin/org/springframework/data/mapping/context/SimpleDataClass.kt @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/context/TypeCreatingSyntheticClass.kt b/src/test/kotlin/org/springframework/data/mapping/context/TypeCreatingSyntheticClass.kt index 02cbe9234b..6384effdeb 100644 --- a/src/test/kotlin/org/springframework/data/mapping/context/TypeCreatingSyntheticClass.kt +++ b/src/test/kotlin/org/springframework/data/mapping/context/TypeCreatingSyntheticClass.kt @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt b/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt index e5627e1242..d4ecf2c2bb 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/DataClasses.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/InlineClasses.kt b/src/test/kotlin/org/springframework/data/mapping/model/InlineClasses.kt index 5f7a6c6302..5bf4926eb1 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/InlineClasses.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/InlineClasses.kt @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiatorUnitTests.kt b/src/test/kotlin/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiatorUnitTests.kt index 0e8508f29b..563dabbee5 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiatorUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/KotlinClassGeneratingEntityInstantiatorUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/KotlinValueUtilsUnitTests.kt b/src/test/kotlin/org/springframework/data/mapping/model/KotlinValueUtilsUnitTests.kt index 9b5659a480..477ca3f374 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/KotlinValueUtilsUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/KotlinValueUtilsUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/PreferredConstructorDiscovererUnitTests.kt b/src/test/kotlin/org/springframework/data/mapping/model/PreferredConstructorDiscovererUnitTests.kt index 810c53e3bb..005a5a015a 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/PreferredConstructorDiscovererUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/PreferredConstructorDiscovererUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/ReflectionEntityInstantiatorDataClassUnitTests.kt b/src/test/kotlin/org/springframework/data/mapping/model/ReflectionEntityInstantiatorDataClassUnitTests.kt index 77bf0615e4..140e53d6a3 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/ReflectionEntityInstantiatorDataClassUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/ReflectionEntityInstantiatorDataClassUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/ReflectionEntityInstantiatorInlineClassUnitTests.kt b/src/test/kotlin/org/springframework/data/mapping/model/ReflectionEntityInstantiatorInlineClassUnitTests.kt index 99e3d60356..73d51d8e05 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/ReflectionEntityInstantiatorInlineClassUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/ReflectionEntityInstantiatorInlineClassUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2021-2024 the original author or authors. + * Copyright 2021-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/TypeCreatingSyntheticClass.kt b/src/test/kotlin/org/springframework/data/mapping/model/TypeCreatingSyntheticClass.kt index 0697622c1d..25d1ab232d 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/TypeCreatingSyntheticClass.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/TypeCreatingSyntheticClass.kt @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/UnusedCustomCopy.kt b/src/test/kotlin/org/springframework/data/mapping/model/UnusedCustomCopy.kt index 6b89efe574..b93d5b18b3 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/UnusedCustomCopy.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/UnusedCustomCopy.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/ValueClassKt.kt b/src/test/kotlin/org/springframework/data/mapping/model/ValueClassKt.kt index 9ec1b451f9..e6ee51b029 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/ValueClassKt.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/ValueClassKt.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/With32Args.kt b/src/test/kotlin/org/springframework/data/mapping/model/With32Args.kt index f045af354b..4117a15506 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/With32Args.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/With32Args.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/mapping/model/With33Args.kt b/src/test/kotlin/org/springframework/data/mapping/model/With33Args.kt index b811ba71ac..a80b0c6839 100644 --- a/src/test/kotlin/org/springframework/data/mapping/model/With33Args.kt +++ b/src/test/kotlin/org/springframework/data/mapping/model/With33Args.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2024 the original author or authors. + * Copyright 2018-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/projection/WithIsNamedProperty.kt b/src/test/kotlin/org/springframework/data/projection/WithIsNamedProperty.kt index fc9e236eec..121393d17e 100644 --- a/src/test/kotlin/org/springframework/data/projection/WithIsNamedProperty.kt +++ b/src/test/kotlin/org/springframework/data/projection/WithIsNamedProperty.kt @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/repository/CrudRepositoryExtensionsTests.kt b/src/test/kotlin/org/springframework/data/repository/CrudRepositoryExtensionsTests.kt index 66faabfbf5..bcf68f92a1 100644 --- a/src/test/kotlin/org/springframework/data/repository/CrudRepositoryExtensionsTests.kt +++ b/src/test/kotlin/org/springframework/data/repository/CrudRepositoryExtensionsTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2008-2024 the original author or authors. + * Copyright 2008-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/repository/core/support/CoroutineRepositoryMetadataUnitTests.kt b/src/test/kotlin/org/springframework/data/repository/core/support/CoroutineRepositoryMetadataUnitTests.kt index e90d328fbc..c7e44f9c01 100644 --- a/src/test/kotlin/org/springframework/data/repository/core/support/CoroutineRepositoryMetadataUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/repository/core/support/CoroutineRepositoryMetadataUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/repository/core/support/KotlinUserRepository.kt b/src/test/kotlin/org/springframework/data/repository/core/support/KotlinUserRepository.kt index 6a4a1674ef..28b1d45a9a 100644 --- a/src/test/kotlin/org/springframework/data/repository/core/support/KotlinUserRepository.kt +++ b/src/test/kotlin/org/springframework/data/repository/core/support/KotlinUserRepository.kt @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepositoryCustomImplementationUnitTests.kt b/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepositoryCustomImplementationUnitTests.kt index 2e2c8c9aee..7a2a567fbe 100644 --- a/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepositoryCustomImplementationUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepositoryCustomImplementationUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepositoryUnitTests.kt b/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepositoryUnitTests.kt index 471c722a6b..49bed7e5e0 100644 --- a/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepositoryUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineCrudRepositoryUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineRepositoryMetadataUnitTests.kt b/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineRepositoryMetadataUnitTests.kt index 729ebb6a0b..b08c0a2343 100644 --- a/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineRepositoryMetadataUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/repository/kotlin/CoroutineRepositoryMetadataUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2020-2024 the original author or authors. + * Copyright 2020-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/repository/query/KParameterUnitTests.kt b/src/test/kotlin/org/springframework/data/repository/query/KParameterUnitTests.kt index 6bd07da69b..1aa1456fac 100644 --- a/src/test/kotlin/org/springframework/data/repository/query/KParameterUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/repository/query/KParameterUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2019-2024 the original author or authors. + * Copyright 2019-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/util/DummyInterface.kt b/src/test/kotlin/org/springframework/data/util/DummyInterface.kt index 095453c172..17ca5757d6 100644 --- a/src/test/kotlin/org/springframework/data/util/DummyInterface.kt +++ b/src/test/kotlin/org/springframework/data/util/DummyInterface.kt @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/util/InlineClassWithProperty.kt b/src/test/kotlin/org/springframework/data/util/InlineClassWithProperty.kt index 96af7b9870..d1d0b34958 100644 --- a/src/test/kotlin/org/springframework/data/util/InlineClassWithProperty.kt +++ b/src/test/kotlin/org/springframework/data/util/InlineClassWithProperty.kt @@ -1,5 +1,5 @@ /* - * Copyright 2024 the original author or authors. + * Copyright 2024-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt index 16e714dd3c..1c376029b7 100644 --- a/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2023-2024 the original author or authors. + * Copyright 2023-2025 the original author or authors. * * 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/src/test/kotlin/org/springframework/data/util/TypeCreatingSyntheticClass.kt b/src/test/kotlin/org/springframework/data/util/TypeCreatingSyntheticClass.kt index 53fe5b6bae..e4b1840abf 100644 --- a/src/test/kotlin/org/springframework/data/util/TypeCreatingSyntheticClass.kt +++ b/src/test/kotlin/org/springframework/data/util/TypeCreatingSyntheticClass.kt @@ -1,5 +1,5 @@ /* - * Copyright 2017-2024 the original author or authors. + * Copyright 2017-2025 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. From 1bee1c22cbef0b39baae45ecfc9f25bc8723d99b Mon Sep 17 00:00:00 2001 From: Jens Schauder <jens.schauder@broadcom.com> Date: Wed, 8 Jan 2025 09:30:49 +0100 Subject: [PATCH 088/108] Refining QBE documentation. Adds a configurable limitation about collection support in Query By Example. Closes: #3226 --- src/main/antora/modules/ROOT/pages/query-by-example.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/main/antora/modules/ROOT/pages/query-by-example.adoc b/src/main/antora/modules/ROOT/pages/query-by-example.adoc index f3f27cb8cd..45590079c2 100644 --- a/src/main/antora/modules/ROOT/pages/query-by-example.adoc +++ b/src/main/antora/modules/ROOT/pages/query-by-example.adoc @@ -1,3 +1,7 @@ +ifndef::support-qbe-collection[] +:support-qbe-collection: true +endif::[] + [[query-by-example]] = Query by Example @@ -36,6 +40,9 @@ Query by Example is well suited for several use cases: Query by Example also has several limitations: * No support for nested or grouped property constraints, such as `firstname = ?0 or (firstname = ?1 and lastname = ?2)`. +ifeval::[{support-qbe-collection} != true] +* No support for matching collections or maps. +endif::[] * Store-specific support on string matching. Depending on your databases, String matching can support starts/contains/ends/regex for strings. * Exact matching for other property types. From be942bf09e6a888da7624aeb79c980923766af18 Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com> Date: Sat, 28 Dec 2024 19:28:22 +0700 Subject: [PATCH 089/108] Fix typos. Documentation, assertion messages. Closes #3223 --- src/main/antora/modules/ROOT/pages/object-mapping.adoc | 4 ++-- .../data/convert/PropertyValueConverterRegistrar.java | 2 +- .../org/springframework/data/mapping/model/BeanWrapper.java | 2 +- .../data/repository/cdi/CdiRepositoryBean.java | 4 ++-- .../data/repository/config/RepositoryComponentProvider.java | 2 +- .../org/springframework/data/util/AnnotatedTypeScanner.java | 6 +++--- 6 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/main/antora/modules/ROOT/pages/object-mapping.adoc b/src/main/antora/modules/ROOT/pages/object-mapping.adoc index 380966c536..a383d8a418 100644 --- a/src/main/antora/modules/ROOT/pages/object-mapping.adoc +++ b/src/main/antora/modules/ROOT/pages/object-mapping.adoc @@ -223,7 +223,7 @@ It's an established pattern to rather use static factory methods to expose these [[mapping.general-recommendations.override.properties]] === Overriding Properties -Java's allows a flexible design of domain classes where a subclass could define a property that is already declared with the same name in its superclass. +Java allows a flexible design of domain classes where a subclass could define a property that is already declared with the same name in its superclass. Consider the following example: [source,java] @@ -326,7 +326,7 @@ data class Person(var id: String, val name: String) { ---- Kotlin supports parameter optionality by allowing default values to be used if a parameter is not provided. -When Spring Data detects a constructor with parameter defaulting, then it leaves these parameters absent if the data store does not provide a value (or simply returns `null`) so Kotlin can apply parameter defaulting.Consider the following class that applies parameter defaulting for `name` +When Spring Data detects a constructor with parameter defaulting, then it leaves these parameters absent if the data store does not provide a value (or simply returns `null`) so Kotlin can apply parameter defaulting. Consider the following class that applies parameter defaulting for `name` [source,kotlin] ---- diff --git a/src/main/java/org/springframework/data/convert/PropertyValueConverterRegistrar.java b/src/main/java/org/springframework/data/convert/PropertyValueConverterRegistrar.java index f67e1f2642..c450292c4e 100644 --- a/src/main/java/org/springframework/data/convert/PropertyValueConverterRegistrar.java +++ b/src/main/java/org/springframework/data/convert/PropertyValueConverterRegistrar.java @@ -192,7 +192,7 @@ public PropertyValueConverterRegistrar<P> reading(Function<R, S> reader) { * Describes how to read a database value into a domain object's property value. * * @param reader must not be {@literal null}. - * @return the confiured {@link PropertyValueConverterRegistrar}. + * @return the configured {@link PropertyValueConverterRegistrar}. */ @SuppressWarnings({ "rawtypes", "unchecked" }) public PropertyValueConverterRegistrar<P> reading(BiFunction<R, ValueConversionContext<P>, S> reader) { diff --git a/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java b/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java index 31172016a4..ab07142a0a 100644 --- a/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java +++ b/src/main/java/org/springframework/data/mapping/model/BeanWrapper.java @@ -118,7 +118,7 @@ public Object getProperty(PersistentProperty<?> property) { * @param property must not be {@literal null}. * @param type can be {@literal null}. * @return - * @throws MappingException in case an exception occured when accessing the property. + * @throws MappingException in case an exception occurred when accessing the property. */ @Nullable public <S> Object getProperty(PersistentProperty<?> property, Class<? extends S> type) { diff --git a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java index 5751c15bd8..bcc79220aa 100644 --- a/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java +++ b/src/main/java/org/springframework/data/repository/cdi/CdiRepositoryBean.java @@ -102,7 +102,7 @@ public CdiRepositoryBean(Set<Annotation> qualifiers, Class<T> repositoryType, Be Assert.notNull(qualifiers, "Qualifiers must not be null"); Assert.notNull(beanManager, "BeanManager must not be null"); - Assert.notNull(repositoryType, "Repoitory type must not be null"); + Assert.notNull(repositoryType, "Repository type must not be null"); Assert.isTrue(repositoryType.isInterface(), "RepositoryType must be an interface"); this.qualifiers = qualifiers; @@ -127,7 +127,7 @@ public CdiRepositoryBean(Set<Annotation> qualifiers, Class<T> repositoryType, Be Assert.notNull(qualifiers, "Qualifiers must not be null"); Assert.notNull(beanManager, "BeanManager must not be null"); - Assert.notNull(repositoryType, "Repoitory type must not be null"); + Assert.notNull(repositoryType, "Repository type must not be null"); Assert.isTrue(repositoryType.isInterface(), "RepositoryType must be an interface"); this.qualifiers = qualifiers; diff --git a/src/main/java/org/springframework/data/repository/config/RepositoryComponentProvider.java b/src/main/java/org/springframework/data/repository/config/RepositoryComponentProvider.java index 9c1c644ce8..b9f7b1796e 100644 --- a/src/main/java/org/springframework/data/repository/config/RepositoryComponentProvider.java +++ b/src/main/java/org/springframework/data/repository/config/RepositoryComponentProvider.java @@ -191,7 +191,7 @@ private static class AllTypeFilter implements TypeFilter { */ public AllTypeFilter(List<TypeFilter> delegates) { - Assert.notNull(delegates, "TypeFilter deleages must not be null"); + Assert.notNull(delegates, "TypeFilter delegates must not be null"); this.delegates = delegates; } diff --git a/src/main/java/org/springframework/data/util/AnnotatedTypeScanner.java b/src/main/java/org/springframework/data/util/AnnotatedTypeScanner.java index 2b5c1435c1..777f03a591 100644 --- a/src/main/java/org/springframework/data/util/AnnotatedTypeScanner.java +++ b/src/main/java/org/springframework/data/util/AnnotatedTypeScanner.java @@ -44,7 +44,7 @@ */ public class AnnotatedTypeScanner implements ResourceLoaderAware, EnvironmentAware { - private final Iterable<Class<? extends Annotation>> annotationTypess; + private final Iterable<Class<? extends Annotation>> annotationTypes; private final boolean considerInterfaces; private @Nullable ResourceLoader resourceLoader; @@ -83,7 +83,7 @@ public AnnotatedTypeScanner(boolean considerInterfaces, Class<? extends Annotati public AnnotatedTypeScanner(boolean considerInterfaces, Collection<Class<? extends Annotation>> annotationTypes) { this.considerInterfaces = considerInterfaces; - this.annotationTypess = annotationTypes; + this.annotationTypes = annotationTypes; } @Override @@ -146,7 +146,7 @@ Set<Class<?>> findTypes(Iterable<String> basePackages, Collection<TypeFilter> fi } public Set<Class<?>> findTypes(Iterable<String> basePackages) { - return findTypes(basePackages, Streamable.of(annotationTypess).stream().map(annotation -> new AnnotationTypeFilter(annotation, true, considerInterfaces)).collect(Collectors.toSet())); + return findTypes(basePackages, Streamable.of(annotationTypes).stream().map(annotation -> new AnnotationTypeFilter(annotation, true, considerInterfaces)).collect(Collectors.toSet())); } /** From 0c0698592ea315c2bb31a84b7a58c08c61354f6e Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 17 Jan 2025 10:32:01 +0100 Subject: [PATCH 090/108] Prepare 3.3.8 (2024.0.8). See #3222 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 3d5f76b165..a9dce6773d 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.8-SNAPSHOT</version> + <version>3.3.8</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index 824fbf2535..0709986ef8 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3.7 (2024.0.7) +Spring Data Commons 3.3.8 (2024.0.8) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -60,5 +60,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From 44a012278f796967e4ef86ddeb75eb7478075dcd Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 17 Jan 2025 10:32:17 +0100 Subject: [PATCH 091/108] Release version 3.3.8 (2024.0.8). See #3222 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a9dce6773d..8ec726a910 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.8-SNAPSHOT</version> + <version>3.3.8</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From a697462370f6294ff6b4fa84164773cac3dd6d44 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 17 Jan 2025 10:34:45 +0100 Subject: [PATCH 092/108] Prepare next development iteration. See #3222 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 8ec726a910..1a94aebdfd 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.8</version> + <version>3.3.9-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 334e855c2350960f1b2892908adc6015935fbefc Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 17 Jan 2025 10:34:46 +0100 Subject: [PATCH 093/108] After release cleanups. See #3222 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index 1a94aebdfd..1f457216a3 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.8</version> + <version>3.3.9-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From 6c386e97b331d917d8c6728f984c8045b0d21e87 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 21 Jan 2025 10:24:57 +0100 Subject: [PATCH 094/108] Document restrictions for zero Limit PageRequest translation. Closes #3102 --- src/main/java/org/springframework/data/domain/Limit.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/springframework/data/domain/Limit.java b/src/main/java/org/springframework/data/domain/Limit.java index bddcc6b359..ad44186966 100644 --- a/src/main/java/org/springframework/data/domain/Limit.java +++ b/src/main/java/org/springframework/data/domain/Limit.java @@ -28,7 +28,11 @@ * over using {@literal null} or {@link java.util.Optional#empty()} to indicate the absence of an actual {@link Limit}. * </p> * {@link Limit} itself does not make assumptions about the actual {@link #max()} value sign. This means that a negative - * value may be valid within a defined context. + * value may be valid within a defined context. A zero limit can be useful in cases where the result is not needed but + * the underlying activity to compute results might be required. + * <p> + * Note that using a zero Limit with repository query methods returning {@link Page} is rejected because of a zero-page + * size. * * @author Christoph Strobl * @author Oliver Drotbohm @@ -104,8 +108,7 @@ public boolean equals(@Nullable Object obj) { return false; } - return this.isUnlimited() && that.isUnlimited() - || max() == that.max(); + return this.isUnlimited() && that.isUnlimited() || max() == that.max(); } @Override From 27670b0aa0f7175e29e2b73bb99e1c4906bba877 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Wed, 22 Jan 2025 11:11:55 +0100 Subject: [PATCH 095/108] Fix Querydsl Nullability annotations. Closes #2044 --- .../data/querydsl/binding/MultiValueBinding.java | 2 +- .../data/querydsl/binding/OptionalValueBinding.java | 6 +++--- .../data/querydsl/binding/PathInformation.java | 3 +-- .../data/querydsl/binding/SingleValueBinding.java | 9 ++++++--- 4 files changed, 11 insertions(+), 9 deletions(-) diff --git a/src/main/java/org/springframework/data/querydsl/binding/MultiValueBinding.java b/src/main/java/org/springframework/data/querydsl/binding/MultiValueBinding.java index fce0a36ced..cd8c7dfad2 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/MultiValueBinding.java +++ b/src/main/java/org/springframework/data/querydsl/binding/MultiValueBinding.java @@ -38,7 +38,7 @@ public interface MultiValueBinding<T extends Path<? extends S>, S> { * * @param path {@link Path} to the property. Will not be {@literal null}. * @param value the value that should be bound. Will not be {@literal null} or empty. - * @return can be {@literal null}, in which case the binding will not be incorporated in the overall + * @return can be {@link Optional#empty()}, in which case the binding will not be incorporated in the overall * {@link Predicate}. */ Optional<Predicate> bind(T path, Collection<? extends S> value); diff --git a/src/main/java/org/springframework/data/querydsl/binding/OptionalValueBinding.java b/src/main/java/org/springframework/data/querydsl/binding/OptionalValueBinding.java index e3cad0e7c6..fb65a8d610 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/OptionalValueBinding.java +++ b/src/main/java/org/springframework/data/querydsl/binding/OptionalValueBinding.java @@ -33,12 +33,12 @@ public interface OptionalValueBinding<T extends Path<? extends S>, S> { /** * Returns the predicate to be applied to the given {@link Path} for the given value. The given value will be the - * first the first one provided for the given path and converted into the expected type. + * first one provided for the given path and converted into the expected type. * * @param path {@link Path} to the property. Will not be {@literal null}. * @param value the value that should be bound. Will not be {@literal null}. - * @return can be {@literal null}, in which case the binding will not be incorporated in the overall {@link Predicate} - * . + * @return can be {@link Optional#empty()}, in which case the binding will not be incorporated in the overall + * {@link Predicate} . */ Optional<Predicate> bind(T path, Optional<? extends S> value); } diff --git a/src/main/java/org/springframework/data/querydsl/binding/PathInformation.java b/src/main/java/org/springframework/data/querydsl/binding/PathInformation.java index b2031cbbd1..008e0f856d 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/PathInformation.java +++ b/src/main/java/org/springframework/data/querydsl/binding/PathInformation.java @@ -78,8 +78,7 @@ interface PathInformation { /** * Tries to reify a Querydsl {@link Path} from the given {@link PropertyPath} and base. * - * @param path must not be {@literal null}. - * @param base can be {@literal null}. + * @param resolver must not be {@literal null}. * @return */ Path<?> reifyPath(EntityPathResolver resolver); diff --git a/src/main/java/org/springframework/data/querydsl/binding/SingleValueBinding.java b/src/main/java/org/springframework/data/querydsl/binding/SingleValueBinding.java index f384975335..972ab89b28 100644 --- a/src/main/java/org/springframework/data/querydsl/binding/SingleValueBinding.java +++ b/src/main/java/org/springframework/data/querydsl/binding/SingleValueBinding.java @@ -15,6 +15,8 @@ */ package org.springframework.data.querydsl.binding; +import org.springframework.lang.Nullable; + import com.querydsl.core.types.Path; import com.querydsl.core.types.Predicate; @@ -31,12 +33,13 @@ public interface SingleValueBinding<T extends Path<? extends S>, S> { /** * Returns the predicate to be applied to the given {@link Path} for the given value. The given value will be the - * first the first one provided for the given path and converted into the expected type. + * first one provided for the given path and converted into the expected type. * * @param path {@link Path} to the property. Will not be {@literal null}. * @param value the value that should be bound. Will not be {@literal null}. - * @return can be {@literal null}, in which case the binding will not be incorporated in the overall {@link Predicate} - * . + * @return can be {@literal null}, in which case the binding will not be incorporated in the overall + * {@link Predicate}. */ + @Nullable Predicate bind(T path, S value); } From 0640fe5e6bf84d01f33ad2306333439465ea788e Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Wed, 22 Jan 2025 14:11:25 +0100 Subject: [PATCH 096/108] =?UTF-8?q?Document=20that=20fluent=20`findBy(?= =?UTF-8?q?=E2=80=A6)`=20queries=20must=20return=20a=20result.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes #3237 --- .../data/querydsl/QuerydslPredicateExecutor.java | 4 ++++ .../data/querydsl/ReactiveQuerydslPredicateExecutor.java | 4 ++++ .../data/repository/query/QueryByExampleExecutor.java | 4 ++++ .../data/repository/query/ReactiveQueryByExampleExecutor.java | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java b/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java index 5764d35050..996ed82637 100644 --- a/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java +++ b/src/main/java/org/springframework/data/querydsl/QuerydslPredicateExecutor.java @@ -115,6 +115,10 @@ public interface QuerydslPredicateExecutor<T> { /** * Returns entities matching the given {@link Predicate} applying the {@link Function queryFunction} that defines the * query and its result type. + * <p> + * The query object used with {@code queryFunction} is only valid inside the `findBy(…)` method call. This requires + * the query function to return a query result and not the {@link FluentQuery} object itself to ensure the query is + * executed inside the {@code findBy(…)} method. * * @param predicate must not be {@literal null}. * @param queryFunction the query function defining projection, sorting, and the result type diff --git a/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java b/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java index 2d1758d292..f6ab711ab0 100644 --- a/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java +++ b/src/main/java/org/springframework/data/querydsl/ReactiveQuerydslPredicateExecutor.java @@ -136,6 +136,10 @@ public interface ReactiveQuerydslPredicateExecutor<T> { /** * Returns entities matching the given {@link Predicate} applying the {@link Function queryFunction} that defines the * query and its result type. + * <p> + * The query object used with {@code queryFunction} is only valid inside the `findBy(…)` method call. This requires + * the query function to return a query result and not the {@link FluentQuery} object itself to ensure the query is + * executed inside the {@code findBy(…)} method. * * @param predicate must not be {@literal null}. * @param queryFunction the query function defining projection, sorting, and the result type diff --git a/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java b/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java index fb566fc4c2..90e285359b 100644 --- a/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java +++ b/src/main/java/org/springframework/data/repository/query/QueryByExampleExecutor.java @@ -95,6 +95,10 @@ public interface QueryByExampleExecutor<T> { /** * Returns entities matching the given {@link Example} applying the {@link Function queryFunction} that defines the * query and its result type. + * <p> + * The query object used with {@code queryFunction} is only valid inside the `findBy(…)` method call. This requires + * the query function to return a query result and not the {@link FluentQuery} object itself to ensure the query is + * executed inside the {@code findBy(…)} method. * * @param example must not be {@literal null}. * @param queryFunction the query function defining projection, sorting, and the result type diff --git a/src/main/java/org/springframework/data/repository/query/ReactiveQueryByExampleExecutor.java b/src/main/java/org/springframework/data/repository/query/ReactiveQueryByExampleExecutor.java index e1cd5322d8..631e641062 100644 --- a/src/main/java/org/springframework/data/repository/query/ReactiveQueryByExampleExecutor.java +++ b/src/main/java/org/springframework/data/repository/query/ReactiveQueryByExampleExecutor.java @@ -84,6 +84,10 @@ public interface ReactiveQueryByExampleExecutor<T> { /** * Returns entities matching the given {@link Example} applying the {@link Function queryFunction} that defines the * query and its result type. + * <p> + * The query object used with {@code queryFunction} is only valid inside the `findBy(…)` method call. This requires + * the query function to return a query result and not the {@link FluentQuery} object itself to ensure the query is + * executed inside the {@code findBy(…)} method. * * @param example must not be {@literal null}. * @param queryFunction the query function defining projection, sorting, and the result type From c761b73084e51b79d57c921cceb22b1d625213d3 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Tue, 11 Feb 2025 15:22:25 +0100 Subject: [PATCH 097/108] Update CI Properties. See #3233 --- .mvn/extensions.xml | 2 +- .mvn/jvm.config | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .mvn/jvm.config diff --git a/.mvn/extensions.xml b/.mvn/extensions.xml index 1e3bb355f5..e0857eaa25 100644 --- a/.mvn/extensions.xml +++ b/.mvn/extensions.xml @@ -3,6 +3,6 @@ <extension> <groupId>io.spring.develocity.conventions</groupId> <artifactId>develocity-conventions-maven-extension</artifactId> - <version>0.0.19</version> + <version>0.0.22</version> </extension> </extensions> diff --git a/.mvn/jvm.config b/.mvn/jvm.config new file mode 100644 index 0000000000..32599cefea --- /dev/null +++ b/.mvn/jvm.config @@ -0,0 +1,10 @@ +--add-exports jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.model=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED +--add-exports jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED +--add-opens jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED +--add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED From c6afb5916420ca2ebdc7a325bd5d865e8fa15dc0 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Feb 2025 09:49:41 +0100 Subject: [PATCH 098/108] Prepare 3.3.9 (2024.0.9). See #3233 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 1f457216a3..f91f2faee1 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.9-SNAPSHOT</version> + <version>3.3.9</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index 0709986ef8..3557d12686 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3.8 (2024.0.8) +Spring Data Commons 3.3.9 (2024.0.9) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -61,5 +61,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From 6c2452bfa35c12091e44de309dbbf0c21b05345e Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Feb 2025 09:50:00 +0100 Subject: [PATCH 099/108] Release version 3.3.9 (2024.0.9). See #3233 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index f91f2faee1..90595689e9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.9-SNAPSHOT</version> + <version>3.3.9</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 04dec0014f2f067d926f890770b271e0f1f01ae9 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Feb 2025 09:52:49 +0100 Subject: [PATCH 100/108] Prepare next development iteration. See #3233 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 90595689e9..a06b8e4379 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.9</version> + <version>3.3.10-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 14e67d3821b4d8e53b7540166e497882622499ec Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Feb 2025 09:52:50 +0100 Subject: [PATCH 101/108] After release cleanups. See #3233 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index a06b8e4379..e2f28543d6 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.9</version> + <version>3.3.10-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project> From fe9a99896693b6ae5c168a03ecfcc897edeb8959 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Thu, 20 Feb 2025 14:14:23 +0100 Subject: [PATCH 102/108] Consider getters using get as getter for boolean Kotlin properties. We now additionally consider get-prefixed methods in addition to is-prefixed methods as getters for boolean properties. Closes #3249 --- .../data/util/KotlinBeanInfoFactory.java | 30 +++++++++----- .../ProxyProjectionFactoryUnitTests.java | 1 + .../data/projection/Entities.kt | 40 +++++++++++++++++++ .../util/KotlinBeanInfoFactoryUnitTests.kt | 35 ++++++++++++++++ 4 files changed, 95 insertions(+), 11 deletions(-) create mode 100644 src/test/kotlin/org/springframework/data/projection/Entities.kt diff --git a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java index 69d38de146..258268c814 100644 --- a/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java +++ b/src/main/java/org/springframework/data/util/KotlinBeanInfoFactory.java @@ -94,18 +94,9 @@ private static void collectKotlinProperties(Class<?> beanClass, Collection<KCall if (member instanceof KProperty<?> property) { - Method getter = ReflectJvmMapping.getJavaGetter(property); Method setter = property instanceof KMutableProperty<?> kmp ? ReflectJvmMapping.getJavaSetter(kmp) : null; - - if (getter == null) { - Type javaType = ReflectJvmMapping.getJavaType(property.getReturnType()); - getter = ReflectionUtils.findMethod(beanClass, - javaType == Boolean.TYPE ? "is" : "get" + StringUtils.capitalize(property.getName())); - } - - if (getter != null) { - getter = ClassUtils.getMostSpecificMethod(getter, beanClass); - } + Type javaType = ReflectJvmMapping.getJavaType(property.getReturnType()); + Method getter = findGetter(beanClass, property, javaType); if (getter != null && (Modifier.isStatic(getter.getModifiers()) || getter.getParameterCount() != 0)) { continue; @@ -123,6 +114,21 @@ private static void collectKotlinProperties(Class<?> beanClass, Collection<KCall } } + private static @Nullable Method findGetter(Class<?> beanClass, KProperty<?> property, Type javaType) { + + Method getter = ReflectJvmMapping.getJavaGetter(property); + + if (getter == null && javaType == Boolean.TYPE) { + getter = ReflectionUtils.findMethod(beanClass, "is" + StringUtils.capitalize(property.getName())); + } + + if (getter == null) { + getter = ReflectionUtils.findMethod(beanClass, "get" + StringUtils.capitalize(property.getName())); + } + + return getter != null ? ClassUtils.getMostSpecificMethod(getter, beanClass) : null; + } + private static void collectBasicJavaProperties(Class<?> beanClass, Map<String, PropertyDescriptor> descriptors) throws IntrospectionException { @@ -204,5 +210,7 @@ public void setWriteMethod(@Nullable Method writeMethod) { public Method getWriteMethod() { return this.writeMethod; } + } + } diff --git a/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java b/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java index c905845db5..0d8a17d589 100755 --- a/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java +++ b/src/test/java/org/springframework/data/projection/ProxyProjectionFactoryUnitTests.java @@ -342,6 +342,7 @@ void supportsNullableWrapperDateToLocalDateTimeConversion() { assertThat(excerpt.getBirthdate()).contains(LocalDateTime.of(1967, 1, 9, 0, 0)); } + interface Contact {} interface CustomerWithLocalDateTime { diff --git a/src/test/kotlin/org/springframework/data/projection/Entities.kt b/src/test/kotlin/org/springframework/data/projection/Entities.kt new file mode 100644 index 0000000000..9b2b89deed --- /dev/null +++ b/src/test/kotlin/org/springframework/data/projection/Entities.kt @@ -0,0 +1,40 @@ +/* + * Copyright 2025 the original author or authors. + * + * 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 + * + * https://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. + */ +package org.springframework.data.projection + +open class KClassWithJavaGetter() { + + private var fromOuterSpace: Boolean = false + + open fun getFromOuterSpace() = fromOuterSpace + + open fun setFromOuterSpace(newValue: Boolean) { + this.fromOuterSpace = newValue + } + +} + +open class KClassWithIsGetter() { + + private var fromOuterSpace: Boolean = false + + open fun isFromOuterSpace() = fromOuterSpace + + open fun setFromOuterSpace(newValue: Boolean) { + this.fromOuterSpace = newValue + } + +} diff --git a/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt index 1c376029b7..9d97a4d2de 100644 --- a/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/util/KotlinBeanInfoFactoryUnitTests.kt @@ -58,6 +58,16 @@ class KotlinBeanInfoFactoryUnitTests { assertThat(pds).hasSize(1).extracting("name").contains("value") } + @Test // GH-3249 + internal fun considersBooleanGetAndIsGetters() { + + val isAndGet = BeanUtils.getPropertyDescriptors(KClassWithIsGetter::class.java) + assertThat(isAndGet[0].readMethod.name).isEqualTo("isFromOuterSpace") + + val getOnly = BeanUtils.getPropertyDescriptors(KClassWithGetGetter::class.java) + assertThat(getOnly[0].readMethod.name).isEqualTo("getFromOuterSpace") + } + @Test internal fun determinesInlineClassConsumerProperties() { @@ -200,4 +210,29 @@ class KotlinBeanInfoFactoryUnitTests { class User : AbstractAuditable() { var name: String? = null } + + open class KClassWithGetGetter() { + + private var fromOuterSpace: Boolean = false + + open fun getFromOuterSpace() = fromOuterSpace + + open fun setFromOuterSpace(newValue: Boolean) { + this.fromOuterSpace = newValue + } + } + + open class KClassWithIsGetter() { + + private var fromOuterSpace: Boolean = false + + open fun isFromOuterSpace() = fromOuterSpace + + open fun getFromOuterSpace() = fromOuterSpace + + open fun setFromOuterSpace(newValue: Boolean) { + this.fromOuterSpace = newValue + } + } + } From e4de17a245a8a4c31ed1b28b0b3e75292fbcadad Mon Sep 17 00:00:00 2001 From: mitu2 <chenmoand@outlook.com> Date: Sun, 29 Sep 2024 21:02:10 +0800 Subject: [PATCH 103/108] Remove branching overhead in `BytecodeUtil` by replacing `if` with `else if`. Closes #3168 --- .../data/mapping/model/BytecodeUtil.java | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java b/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java index 0d5f486bc9..2a204f1206 100644 --- a/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java +++ b/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java @@ -90,63 +90,63 @@ static void autoboxIfNeeded(Class<?> in, Class<?> out, MethodVisitor visitor) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Boolean", "booleanValue", "()Z", false); } - if (in.equals(Boolean.TYPE) && out.equals(Boolean.class)) { + else if (in.equals(Boolean.TYPE) && out.equals(Boolean.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Boolean", "valueOf", "(Z)Ljava/lang/Boolean;", false); } - if (in.equals(Byte.class) && out.equals(Byte.TYPE)) { + else if (in.equals(Byte.class) && out.equals(Byte.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Byte", "byteValue", "()B", false); } - if (in.equals(Byte.TYPE) && out.equals(Byte.class)) { + else if (in.equals(Byte.TYPE) && out.equals(Byte.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Byte", "valueOf", "(B)Ljava/lang/Byte;", false); } - if (in.equals(Character.class) && out.equals(Character.TYPE)) { + else if (in.equals(Character.class) && out.equals(Character.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Character", "charValue", "()C", false); } - if (in.equals(Character.TYPE) && out.equals(Character.class)) { + else if (in.equals(Character.TYPE) && out.equals(Character.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Character", "valueOf", "(C)Ljava/lang/Character;", false); } - if (in.equals(Double.class) && out.equals(Double.TYPE)) { + else if (in.equals(Double.class) && out.equals(Double.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Double", "doubleValue", "()D", false); } - if (in.equals(Double.TYPE) && out.equals(Double.class)) { + else if (in.equals(Double.TYPE) && out.equals(Double.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Double", "valueOf", "(D)Ljava/lang/Double;", false); } - if (in.equals(Float.class) && out.equals(Float.TYPE)) { + else if (in.equals(Float.class) && out.equals(Float.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Float", "floatValue", "()F", false); } - if (in.equals(Float.TYPE) && out.equals(Float.class)) { + else if (in.equals(Float.TYPE) && out.equals(Float.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Float", "valueOf", "(F)Ljava/lang/Float;", false); } - if (in.equals(Integer.class) && out.equals(Integer.TYPE)) { + else if (in.equals(Integer.class) && out.equals(Integer.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Integer", "intValue", "()I", false); } - if (in.equals(Integer.TYPE) && out.equals(Integer.class)) { + else if (in.equals(Integer.TYPE) && out.equals(Integer.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Integer", "valueOf", "(I)Ljava/lang/Integer;", false); } - if (in.equals(Long.class) && out.equals(Long.TYPE)) { + else if (in.equals(Long.class) && out.equals(Long.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Long", "longValue", "()J", false); } - if (in.equals(Long.TYPE) && out.equals(Long.class)) { + else if (in.equals(Long.TYPE) && out.equals(Long.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Long", "valueOf", "(J)Ljava/lang/Long;", false); } - if (in.equals(Short.class) && out.equals(Short.TYPE)) { + else if (in.equals(Short.class) && out.equals(Short.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Short", "shortValue", "()S", false); } - if (in.equals(Short.TYPE) && out.equals(Short.class)) { + else if (in.equals(Short.TYPE) && out.equals(Short.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Short", "valueOf", "(S)Ljava/lang/Short;", false); } } @@ -267,19 +267,19 @@ static void visitDefaultValue(Class<?> parameterType, MethodVisitor mv) { mv.visitInsn(Opcodes.ICONST_0); } - if (parameterType == Long.TYPE) { + else if (parameterType == Long.TYPE) { mv.visitInsn(Opcodes.LCONST_0); } - if (parameterType == Double.TYPE) { + else if (parameterType == Double.TYPE) { mv.visitInsn(Opcodes.DCONST_0); } - if (parameterType == Float.TYPE) { + else if (parameterType == Float.TYPE) { mv.visitInsn(Opcodes.FCONST_0); } - if (parameterType == Character.TYPE || parameterType == Byte.TYPE) { + else if (parameterType == Character.TYPE || parameterType == Byte.TYPE) { mv.visitIntInsn(Opcodes.BIPUSH, 0); } } else { From 270addfc9ae663e8395a768646a342d59fcdcf70 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Wed, 5 Mar 2025 10:39:07 +0100 Subject: [PATCH 104/108] Polishing. Reformat code. See #3168 --- .../data/mapping/model/BytecodeUtil.java | 76 +++++-------------- 1 file changed, 19 insertions(+), 57 deletions(-) diff --git a/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java b/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java index 2a204f1206..774fc2edd8 100644 --- a/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java +++ b/src/main/java/org/springframework/data/mapping/model/BytecodeUtil.java @@ -88,65 +88,35 @@ static void autoboxIfNeeded(Class<?> in, Class<?> out, MethodVisitor visitor) { if (in.equals(Boolean.class) && out.equals(Boolean.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Boolean", "booleanValue", "()Z", false); - } - - else if (in.equals(Boolean.TYPE) && out.equals(Boolean.class)) { + } else if (in.equals(Boolean.TYPE) && out.equals(Boolean.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Boolean", "valueOf", "(Z)Ljava/lang/Boolean;", false); - } - - else if (in.equals(Byte.class) && out.equals(Byte.TYPE)) { + } else if (in.equals(Byte.class) && out.equals(Byte.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Byte", "byteValue", "()B", false); - } - - else if (in.equals(Byte.TYPE) && out.equals(Byte.class)) { + } else if (in.equals(Byte.TYPE) && out.equals(Byte.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Byte", "valueOf", "(B)Ljava/lang/Byte;", false); - } - - else if (in.equals(Character.class) && out.equals(Character.TYPE)) { + } else if (in.equals(Character.class) && out.equals(Character.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Character", "charValue", "()C", false); - } - - else if (in.equals(Character.TYPE) && out.equals(Character.class)) { + } else if (in.equals(Character.TYPE) && out.equals(Character.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Character", "valueOf", "(C)Ljava/lang/Character;", false); - } - - else if (in.equals(Double.class) && out.equals(Double.TYPE)) { + } else if (in.equals(Double.class) && out.equals(Double.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Double", "doubleValue", "()D", false); - } - - else if (in.equals(Double.TYPE) && out.equals(Double.class)) { + } else if (in.equals(Double.TYPE) && out.equals(Double.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Double", "valueOf", "(D)Ljava/lang/Double;", false); - } - - else if (in.equals(Float.class) && out.equals(Float.TYPE)) { + } else if (in.equals(Float.class) && out.equals(Float.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Float", "floatValue", "()F", false); - } - - else if (in.equals(Float.TYPE) && out.equals(Float.class)) { + } else if (in.equals(Float.TYPE) && out.equals(Float.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Float", "valueOf", "(F)Ljava/lang/Float;", false); - } - - else if (in.equals(Integer.class) && out.equals(Integer.TYPE)) { + } else if (in.equals(Integer.class) && out.equals(Integer.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Integer", "intValue", "()I", false); - } - - else if (in.equals(Integer.TYPE) && out.equals(Integer.class)) { + } else if (in.equals(Integer.TYPE) && out.equals(Integer.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Integer", "valueOf", "(I)Ljava/lang/Integer;", false); - } - - else if (in.equals(Long.class) && out.equals(Long.TYPE)) { + } else if (in.equals(Long.class) && out.equals(Long.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Long", "longValue", "()J", false); - } - - else if (in.equals(Long.TYPE) && out.equals(Long.class)) { + } else if (in.equals(Long.TYPE) && out.equals(Long.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Long", "valueOf", "(J)Ljava/lang/Long;", false); - } - - else if (in.equals(Short.class) && out.equals(Short.TYPE)) { + } else if (in.equals(Short.class) && out.equals(Short.TYPE)) { visitor.visitMethodInsn(INVOKEVIRTUAL, "java/lang/Short", "shortValue", "()S", false); - } - - else if (in.equals(Short.TYPE) && out.equals(Short.class)) { + } else if (in.equals(Short.TYPE) && out.equals(Short.class)) { visitor.visitMethodInsn(INVOKESTATIC, "java/lang/Short", "valueOf", "(S)Ljava/lang/Short;", false); } } @@ -265,21 +235,13 @@ static void visitDefaultValue(Class<?> parameterType, MethodVisitor mv) { if (parameterType == Integer.TYPE || parameterType == Short.TYPE || parameterType == Boolean.TYPE) { mv.visitInsn(Opcodes.ICONST_0); - } - - else if (parameterType == Long.TYPE) { + } else if (parameterType == Long.TYPE) { mv.visitInsn(Opcodes.LCONST_0); - } - - else if (parameterType == Double.TYPE) { + } else if (parameterType == Double.TYPE) { mv.visitInsn(Opcodes.DCONST_0); - } - - else if (parameterType == Float.TYPE) { + } else if (parameterType == Float.TYPE) { mv.visitInsn(Opcodes.FCONST_0); - } - - else if (parameterType == Character.TYPE || parameterType == Byte.TYPE) { + } else if (parameterType == Character.TYPE || parameterType == Byte.TYPE) { mv.visitIntInsn(Opcodes.BIPUSH, 0); } } else { From 9f68936daf9bcfd3225c0bcaf7bca1033b5cb18e Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Mar 2025 07:35:41 +0100 Subject: [PATCH 105/108] Prepare 3.3.10 (2024.0.10). See #3245 --- pom.xml | 18 +++--------------- src/main/resources/notice.txt | 3 ++- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index e2f28543d6..d21b9708c4 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.10-SNAPSHOT</version> + <version>3.3.10</version> </parent> <properties> @@ -380,20 +380,8 @@ </profiles> <repositories> - <repository> - <id>spring-snapshot</id> - <url>https://repo.spring.io/snapshot</url> - <snapshots> - <enabled>true</enabled> - </snapshots> - <releases> - <enabled>false</enabled> - </releases> - </repository> - <repository> - <id>spring-milestone</id> - <url>https://repo.spring.io/milestone</url> - </repository> + + </repositories> </project> diff --git a/src/main/resources/notice.txt b/src/main/resources/notice.txt index 3557d12686..d9bae95055 100644 --- a/src/main/resources/notice.txt +++ b/src/main/resources/notice.txt @@ -1,4 +1,4 @@ -Spring Data Commons 3.3.9 (2024.0.9) +Spring Data Commons 3.3.10 (2024.0.10) Copyright (c) [2010-2021] Pivotal Software, Inc. This product is licensed to you under the Apache License, Version 2.0 (the "License"). @@ -62,5 +62,6 @@ conditions of the subcomponent's license, as noted in the LICENSE file. + From 903edf4db4087350668d362dd89bb7ead49a79e2 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Mar 2025 07:35:59 +0100 Subject: [PATCH 106/108] Release version 3.3.10 (2024.0.10). See #3245 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index d21b9708c4..a132ea161f 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.10-SNAPSHOT</version> + <version>3.3.10</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 6612686b8ba5e856f1f60b4f59524490390d661c Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Mar 2025 07:38:27 +0100 Subject: [PATCH 107/108] Prepare next development iteration. See #3245 --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index a132ea161f..f00ad55f3f 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ <groupId>org.springframework.data</groupId> <artifactId>spring-data-commons</artifactId> - <version>3.3.10</version> + <version>3.3.11-SNAPSHOT</version> <name>Spring Data Core</name> <description>Core Spring concepts underpinning every Spring Data module.</description> From 06c36102a36b384851d963e8d79b624a04eddb91 Mon Sep 17 00:00:00 2001 From: Mark Paluch <mark.paluch@broadcom.com> Date: Fri, 14 Mar 2025 07:38:28 +0100 Subject: [PATCH 108/108] After release cleanups. See #3245 --- pom.xml | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/pom.xml b/pom.xml index f00ad55f3f..7a9ce77013 100644 --- a/pom.xml +++ b/pom.xml @@ -25,7 +25,7 @@ <parent> <groupId>org.springframework.data.build</groupId> <artifactId>spring-data-parent</artifactId> - <version>3.3.10</version> + <version>3.3.11-SNAPSHOT</version> </parent> <properties> @@ -380,8 +380,20 @@ </profiles> <repositories> - - + <repository> + <id>spring-snapshot</id> + <url>https://repo.spring.io/snapshot</url> + <snapshots> + <enabled>true</enabled> + </snapshots> + <releases> + <enabled>false</enabled> + </releases> + </repository> + <repository> + <id>spring-milestone</id> + <url>https://repo.spring.io/milestone</url> + </repository> </repositories> </project>