diff --git a/src/main/kotlin/org/springframework/data/core/KPropertyExtensions.kt b/src/main/kotlin/org/springframework/data/core/KPropertyExtensions.kt index b3c306fea..79ce8fd20 100644 --- a/src/main/kotlin/org/springframework/data/core/KPropertyExtensions.kt +++ b/src/main/kotlin/org/springframework/data/core/KPropertyExtensions.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2025 the original author or authors. + * Copyright 2018-present the original author or authors. * * Licensed under the 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/core/KPropertyPath.kt b/src/main/kotlin/org/springframework/data/core/KPropertyPath.kt index 796d60c29..9d20d9435 100644 --- a/src/main/kotlin/org/springframework/data/core/KPropertyPath.kt +++ b/src/main/kotlin/org/springframework/data/core/KPropertyPath.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2025 the original author or authors. + * Copyright 2018-present the original author or authors. * * Licensed under the Apache License, Version 2.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 0fcab37f2..da0044dbd 100755 --- a/src/test/java/org/springframework/data/domain/ExampleMatcherUnitTests.java +++ b/src/test/java/org/springframework/data/domain/ExampleMatcherUnitTests.java @@ -121,7 +121,7 @@ class ExampleMatcherUnitTests { assertThat(matcher.getIgnoredPaths()).hasSize(2); } - @Test // + @Test // GH-3400 void ignoredPropertyPathsShouldReturnUniqueProperties() { matcher = matching().withIgnorePaths(Person::getFirstname, Person::getLastname, Person::getFirstname); diff --git a/src/test/java/org/springframework/data/domain/SortUnitTests.java b/src/test/java/org/springframework/data/domain/SortUnitTests.java index 969643a94..1c96a027f 100755 --- a/src/test/java/org/springframework/data/domain/SortUnitTests.java +++ b/src/test/java/org/springframework/data/domain/SortUnitTests.java @@ -208,7 +208,7 @@ class SortUnitTests { assertThat(result.isIgnoreCase()).isEqualTo(source.isIgnoreCase()); } - @Test + @Test // GH-3400 void createsNewOrderForDifferentPropertyPath() { var source = Order.desc("foo").nullsFirst().ignoreCase(); diff --git a/src/test/kotlin/org/springframework/data/core/KPropertyExtensionsTests.kt b/src/test/kotlin/org/springframework/data/core/KPropertyExtensionsTests.kt index e358418c2..a4190d2d1 100644 --- a/src/test/kotlin/org/springframework/data/core/KPropertyExtensionsTests.kt +++ b/src/test/kotlin/org/springframework/data/core/KPropertyExtensionsTests.kt @@ -1,5 +1,5 @@ /* - * Copyright 2018-2025 the original author or authors. + * Copyright 2018-present the original author or authors. * * Licensed under the 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/core/KPropertyReferenceUnitTests.kt b/src/test/kotlin/org/springframework/data/core/KPropertyReferenceUnitTests.kt index 22ec18fc7..e63cbb20f 100644 --- a/src/test/kotlin/org/springframework/data/core/KPropertyReferenceUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/core/KPropertyReferenceUnitTests.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2025-present the original author 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.core import org.assertj.core.api.Assertions.assertThat diff --git a/src/test/kotlin/org/springframework/data/core/KTypedPropertyPathUnitTests.kt b/src/test/kotlin/org/springframework/data/core/KTypedPropertyPathUnitTests.kt index 4dcbaefbb..8375914e8 100644 --- a/src/test/kotlin/org/springframework/data/core/KTypedPropertyPathUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/core/KTypedPropertyPathUnitTests.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2025-present the original author 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.core import org.junit.jupiter.params.ParameterizedTest diff --git a/src/test/kotlin/org/springframework/data/core/PropertyReferenceKtUnitTests.kt b/src/test/kotlin/org/springframework/data/core/PropertyReferenceKtUnitTests.kt index e30b92fc1..9f19f9692 100644 --- a/src/test/kotlin/org/springframework/data/core/PropertyReferenceKtUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/core/PropertyReferenceKtUnitTests.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2025-present the original author 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.core import org.assertj.core.api.Assertions.assertThat diff --git a/src/test/kotlin/org/springframework/data/core/TypedPropertyPathKtUnitTests.kt b/src/test/kotlin/org/springframework/data/core/TypedPropertyPathKtUnitTests.kt index 3dd5043ed..1bdf963fc 100644 --- a/src/test/kotlin/org/springframework/data/core/TypedPropertyPathKtUnitTests.kt +++ b/src/test/kotlin/org/springframework/data/core/TypedPropertyPathKtUnitTests.kt @@ -1,3 +1,18 @@ +/* + * Copyright 2025-present the original author 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.core import org.assertj.core.api.Assertions.assertThat