Skip to content

Commit f6dcea8

Browse files
committed
Remove wildcard return type in ListItemWriter
Resolves #4576
1 parent 74c0b27 commit f6dcea8

File tree

1 file changed

+2
-2
lines changed
  • spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support

1 file changed

+2
-2
lines changed

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/ListItemWriter.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2014-2023 the original author or authors.
2+
* Copyright 2014-2024 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.
@@ -40,7 +40,7 @@ public void write(Chunk<? extends T> chunk) throws Exception {
4040
writtenItems.addAll(chunk.getItems());
4141
}
4242

43-
public List<? extends T> getWrittenItems() {
43+
public List<T> getWrittenItems() {
4444
return this.writtenItems;
4545
}
4646

0 commit comments

Comments
 (0)