Skip to content

Commit 1ca9dd6

Browse files
committed
Update license header year to 2025
1 parent c3a087c commit 1ca9dd6

24 files changed

+48
-48
lines changed

spring-batch-notion/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ limitations under the License.
134134
</licenseSet>
135135
</licenseSets>
136136
<properties>
137-
<year>2024</year>
137+
<year>2025</year>
138138
</properties>
139139
</configuration>
140140
<executions>

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/Filter.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/NotionDatabaseItemReader.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,7 +15,6 @@
1515
*/
1616
package org.springframework.batch.extensions.notion;
1717

18-
import org.springframework.batch.extensions.notion.mapping.PropertyMapper;
1918
import notion.api.v1.NotionClient;
2019
import notion.api.v1.http.JavaNetHttpClient;
2120
import notion.api.v1.logging.Slf4jLogger;
@@ -26,6 +25,7 @@
2625
import notion.api.v1.model.pages.PageProperty;
2726
import notion.api.v1.model.pages.PageProperty.RichText;
2827
import notion.api.v1.request.databases.QueryDatabaseRequest;
28+
import org.springframework.batch.extensions.notion.mapping.PropertyMapper;
2929
import org.springframework.batch.item.ExecutionContext;
3030
import org.springframework.batch.item.ItemReader;
3131
import org.springframework.batch.item.data.AbstractPaginatedDataItemReader;

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/Sort.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/mapping/BeanWrapperPropertyMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/mapping/CaseInsensitivePropertyMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/mapping/ClassResolver.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/mapping/ConstructorBasedPropertyMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/mapping/ConstructorPropertyMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/mapping/PropertyMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/main/java/org/springframework/batch/extensions/notion/mapping/RecordPropertyMapper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/FilterTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/NotionJvmSdkTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/SortTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/it/IntegrationTest.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/it/RequestBodies.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,11 +15,11 @@
1515
*/
1616
package org.springframework.batch.extensions.notion.it;
1717

18-
import org.springframework.batch.extensions.notion.Sort.Direction;
19-
import org.springframework.batch.extensions.notion.Sort.Timestamp;
2018
import org.json.JSONArray;
2119
import org.json.JSONException;
2220
import org.json.JSONObject;
21+
import org.springframework.batch.extensions.notion.Sort.Direction;
22+
import org.springframework.batch.extensions.notion.Sort.Timestamp;
2323

2424
import java.util.UUID;
2525

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/it/RequestHeaders.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/it/ResponseBodies.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/it/pagination/MultiplePagesDescendingTests.java

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,10 +15,6 @@
1515
*/
1616
package org.springframework.batch.extensions.notion.it.pagination;
1717

18-
import org.springframework.batch.extensions.notion.NotionDatabaseItemReader;
19-
import org.springframework.batch.extensions.notion.Sort;
20-
import org.springframework.batch.extensions.notion.it.IntegrationTest;
21-
import org.springframework.batch.extensions.notion.mapping.RecordPropertyMapper;
2218
import org.json.JSONObject;
2319
import org.junit.jupiter.api.Test;
2420
import org.springframework.batch.core.Job;
@@ -27,6 +23,10 @@
2723
import org.springframework.batch.core.job.builder.JobBuilder;
2824
import org.springframework.batch.core.repository.JobRepository;
2925
import org.springframework.batch.core.step.builder.StepBuilder;
26+
import org.springframework.batch.extensions.notion.NotionDatabaseItemReader;
27+
import org.springframework.batch.extensions.notion.Sort;
28+
import org.springframework.batch.extensions.notion.it.IntegrationTest;
29+
import org.springframework.batch.extensions.notion.mapping.RecordPropertyMapper;
3030
import org.springframework.batch.item.support.ListItemWriter;
3131
import org.springframework.batch.test.JobLauncherTestUtils;
3232
import org.springframework.beans.factory.annotation.Autowired;
@@ -47,6 +47,10 @@
4747
import static com.github.tomakehurst.wiremock.client.WireMock.post;
4848
import static com.github.tomakehurst.wiremock.common.ContentTypes.AUTHORIZATION;
4949
import static com.github.tomakehurst.wiremock.common.ContentTypes.CONTENT_TYPE;
50+
import static java.util.UUID.randomUUID;
51+
import static org.assertj.core.api.BDDAssertions.then;
52+
import static org.assertj.core.api.InstanceOfAssertFactories.LIST;
53+
import static org.springframework.batch.core.ExitStatus.COMPLETED;
5054
import static org.springframework.batch.extensions.notion.Sort.Direction.DESCENDING;
5155
import static org.springframework.batch.extensions.notion.it.RequestBodies.queryRequest;
5256
import static org.springframework.batch.extensions.notion.it.RequestBodies.sortByProperty;
@@ -56,10 +60,6 @@
5660
import static org.springframework.batch.extensions.notion.it.ResponseBodies.result;
5761
import static org.springframework.batch.extensions.notion.it.ResponseBodies.richText;
5862
import static org.springframework.batch.extensions.notion.it.ResponseBodies.title;
59-
import static java.util.UUID.randomUUID;
60-
import static org.assertj.core.api.BDDAssertions.then;
61-
import static org.assertj.core.api.InstanceOfAssertFactories.LIST;
62-
import static org.springframework.batch.core.ExitStatus.COMPLETED;
6363

6464
/**
6565
* @author Stefano Cordio

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/it/pagination/MultiplePagesTests.java

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,9 +15,6 @@
1515
*/
1616
package org.springframework.batch.extensions.notion.it.pagination;
1717

18-
import org.springframework.batch.extensions.notion.NotionDatabaseItemReader;
19-
import org.springframework.batch.extensions.notion.it.IntegrationTest;
20-
import org.springframework.batch.extensions.notion.mapping.RecordPropertyMapper;
2118
import org.json.JSONObject;
2219
import org.junit.jupiter.api.Test;
2320
import org.springframework.batch.core.Job;
@@ -26,6 +23,9 @@
2623
import org.springframework.batch.core.job.builder.JobBuilder;
2724
import org.springframework.batch.core.repository.JobRepository;
2825
import org.springframework.batch.core.step.builder.StepBuilder;
26+
import org.springframework.batch.extensions.notion.NotionDatabaseItemReader;
27+
import org.springframework.batch.extensions.notion.it.IntegrationTest;
28+
import org.springframework.batch.extensions.notion.mapping.RecordPropertyMapper;
2929
import org.springframework.batch.item.support.ListItemWriter;
3030
import org.springframework.batch.test.JobLauncherTestUtils;
3131
import org.springframework.beans.factory.annotation.Autowired;
@@ -46,17 +46,17 @@
4646
import static com.github.tomakehurst.wiremock.client.WireMock.post;
4747
import static com.github.tomakehurst.wiremock.common.ContentTypes.AUTHORIZATION;
4848
import static com.github.tomakehurst.wiremock.common.ContentTypes.CONTENT_TYPE;
49+
import static java.util.UUID.randomUUID;
50+
import static org.assertj.core.api.BDDAssertions.then;
51+
import static org.assertj.core.api.InstanceOfAssertFactories.LIST;
52+
import static org.springframework.batch.core.ExitStatus.COMPLETED;
4953
import static org.springframework.batch.extensions.notion.it.RequestBodies.queryRequest;
5054
import static org.springframework.batch.extensions.notion.it.RequestHeaders.NOTION_VERSION;
5155
import static org.springframework.batch.extensions.notion.it.RequestHeaders.NOTION_VERSION_VALUE;
5256
import static org.springframework.batch.extensions.notion.it.ResponseBodies.queryResponse;
5357
import static org.springframework.batch.extensions.notion.it.ResponseBodies.result;
5458
import static org.springframework.batch.extensions.notion.it.ResponseBodies.richText;
5559
import static org.springframework.batch.extensions.notion.it.ResponseBodies.title;
56-
import static java.util.UUID.randomUUID;
57-
import static org.assertj.core.api.BDDAssertions.then;
58-
import static org.assertj.core.api.InstanceOfAssertFactories.LIST;
59-
import static org.springframework.batch.core.ExitStatus.COMPLETED;
6060

6161
/**
6262
* @author Stefano Cordio

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/mapping/BeanWrapperPropertyMapperTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,10 +15,10 @@
1515
*/
1616
package org.springframework.batch.extensions.notion.mapping;
1717

18-
import org.springframework.batch.extensions.notion.mapping.TestData.AllPropertiesSource;
19-
import org.springframework.batch.extensions.notion.mapping.TestData.PartialPropertiesSource;
2018
import org.junit.jupiter.api.Test;
2119
import org.junit.jupiter.params.ParameterizedTest;
20+
import org.springframework.batch.extensions.notion.mapping.TestData.AllPropertiesSource;
21+
import org.springframework.batch.extensions.notion.mapping.TestData.PartialPropertiesSource;
2222

2323
import java.util.Map;
2424

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/mapping/ConstructorPropertyMapperTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,11 +15,11 @@
1515
*/
1616
package org.springframework.batch.extensions.notion.mapping;
1717

18-
import org.springframework.batch.extensions.notion.mapping.TestData.AllPropertiesSource;
19-
import org.springframework.batch.extensions.notion.mapping.TestData.PartialPropertiesSource;
2018
import org.junit.jupiter.api.Nested;
2119
import org.junit.jupiter.api.Test;
2220
import org.junit.jupiter.params.ParameterizedTest;
21+
import org.springframework.batch.extensions.notion.mapping.TestData.AllPropertiesSource;
22+
import org.springframework.batch.extensions.notion.mapping.TestData.PartialPropertiesSource;
2323

2424
import java.util.Map;
2525

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/mapping/RecordPropertyMapperTests.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -15,11 +15,11 @@
1515
*/
1616
package org.springframework.batch.extensions.notion.mapping;
1717

18-
import org.springframework.batch.extensions.notion.mapping.TestData.AllPropertiesSource;
19-
import org.springframework.batch.extensions.notion.mapping.TestData.PartialPropertiesSource;
2018
import org.junit.jupiter.api.Nested;
2119
import org.junit.jupiter.api.Test;
2220
import org.junit.jupiter.params.ParameterizedTest;
21+
import org.springframework.batch.extensions.notion.mapping.TestData.AllPropertiesSource;
22+
import org.springframework.batch.extensions.notion.mapping.TestData.PartialPropertiesSource;
2323

2424
import java.util.Map;
2525

spring-batch-notion/src/test/java/org/springframework/batch/extensions/notion/mapping/TestData.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2024 the original author or authors.
2+
* Copyright 2002-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)