Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f6dcea8

Browse files
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

Lines changed: 2 additions & 2 deletions
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<? extendsT> getWrittenItems() {
43+
public List<T> getWrittenItems() {
4444
return this.writtenItems;
4545
}
4646

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /