Remove wildcard return type in ListItemWriter

Resolves #4576
This commit is contained in:
Mahmoud Ben Hassine
2024-05-03 08:55:01 +01:00
parent 74c0b27022
commit f6dcea81c8

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2023 the original author or authors.
* Copyright 2014-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -40,7 +40,7 @@ public class ListItemWriter<T> implements ItemWriter<T> {
writtenItems.addAll(chunk.getItems());
}
public List<? extends T> getWrittenItems() {
public List<T> getWrittenItems() {
return this.writtenItems;
}