You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove RepositoryMethodReference from RepositoryItemReaderBuilder
This class and its usage have been reported to be confusing and
causing context startup failures without real added value.
This commit removes that class to simplify the creation
of a RepositoryItemReader through its builder.
Resolves#793
Copy file name to clipboardExpand all lines: spring-batch-infrastructure/src/main/java/org/springframework/batch/item/data/builder/RepositoryItemReaderBuilder.java
+1-108
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2017-2018 the original author or authors.
2
+
* Copyright 2017-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -53,8 +53,6 @@ public class RepositoryItemReaderBuilder<T> {
Copy file name to clipboardExpand all lines: spring-batch-infrastructure/src/test/java/org/springframework/batch/item/data/builder/RepositoryItemReaderBuilderTests.java
+2-31
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2017-2021 the original author or authors.
2
+
* Copyright 2017-2022 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -42,6 +42,7 @@
42
42
/**
43
43
* @author Glenn Renfro
44
44
* @author Drummond Dawson
45
+
* @author Mahmoud Ben Hassine
45
46
*/
46
47
publicclassRepositoryItemReaderBuilderTests {
47
48
@@ -88,36 +89,6 @@ public void testBasicRead() throws Exception {
88
89
assertEquals("page size was not expected value.", 10, this.pageRequestContainer.getValue().getPageSize());
0 commit comments