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
Copy file name to clipboardExpand all lines: spring-batch-infrastructure/src/main/java/org/springframework/batch/item/file/MultiResourceItemReader.java
+4-1Lines changed: 4 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2006-2019 the original author or authors.
2
+
* Copyright 2006-2020 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.
@@ -251,8 +251,11 @@ public void setResources(Resource[] resources) {
251
251
* Getter for the current resource.
252
252
* @return the current resource or {@code null} if all resources have been
253
253
* processed or the first resource has not been assigned yet.
254
+
*
255
+
* @deprecated In favor of using {@link ResourceAware} instead.
254
256
*/
255
257
@Nullable
258
+
@Deprecated
256
259
publicResourcegetCurrentResource() {
257
260
if (currentResource >= resources.length || currentResource < 0) {
0 commit comments