Browse Source

Update License Headers.

Original Pull Request: #3409
main
Christoph Strobl 6 days ago
parent
commit
b06af675d4
No known key found for this signature in database
GPG Key ID: E6054036D0C37A4B
  1. 2
      src/main/kotlin/org/springframework/data/core/KPropertyExtensions.kt
  2. 2
      src/main/kotlin/org/springframework/data/core/KPropertyPath.kt
  3. 2
      src/test/java/org/springframework/data/domain/ExampleMatcherUnitTests.java
  4. 2
      src/test/java/org/springframework/data/domain/SortUnitTests.java
  5. 2
      src/test/kotlin/org/springframework/data/core/KPropertyExtensionsTests.kt
  6. 15
      src/test/kotlin/org/springframework/data/core/KPropertyReferenceUnitTests.kt
  7. 15
      src/test/kotlin/org/springframework/data/core/KTypedPropertyPathUnitTests.kt
  8. 15
      src/test/kotlin/org/springframework/data/core/PropertyReferenceKtUnitTests.kt
  9. 15
      src/test/kotlin/org/springframework/data/core/TypedPropertyPathKtUnitTests.kt

2
src/main/kotlin/org/springframework/data/core/KPropertyExtensions.kt

@ -1,5 +1,5 @@ @@ -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.

2
src/main/kotlin/org/springframework/data/core/KPropertyPath.kt

@ -1,5 +1,5 @@ @@ -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.

2
src/test/java/org/springframework/data/domain/ExampleMatcherUnitTests.java

@ -121,7 +121,7 @@ class ExampleMatcherUnitTests { @@ -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);

2
src/test/java/org/springframework/data/domain/SortUnitTests.java

@ -208,7 +208,7 @@ class SortUnitTests { @@ -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();

2
src/test/kotlin/org/springframework/data/core/KPropertyExtensionsTests.kt

@ -1,5 +1,5 @@ @@ -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.

15
src/test/kotlin/org/springframework/data/core/KPropertyReferenceUnitTests.kt

@ -1,3 +1,18 @@ @@ -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

15
src/test/kotlin/org/springframework/data/core/KTypedPropertyPathUnitTests.kt

@ -1,3 +1,18 @@ @@ -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

15
src/test/kotlin/org/springframework/data/core/PropertyReferenceKtUnitTests.kt

@ -1,3 +1,18 @@ @@ -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

15
src/test/kotlin/org/springframework/data/core/TypedPropertyPathKtUnitTests.kt

@ -1,3 +1,18 @@ @@ -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

Loading…
Cancel
Save