From f6dcea81c80b680e9ca96918dc90c6dce75f0ef7 Mon Sep 17 00:00:00 2001 From: Mahmoud Ben Hassine Date: Fri, 3 May 2024 08:55:01 +0100 Subject: [PATCH] Remove wildcard return type in ListItemWriter Resolves #4576 --- .../springframework/batch/item/support/ListItemWriter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/ListItemWriter.java b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/ListItemWriter.java index 58247b9ad..773cd6c3c 100644 --- a/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/ListItemWriter.java +++ b/spring-batch-infrastructure/src/main/java/org/springframework/batch/item/support/ListItemWriter.java @@ -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 implements ItemWriter { writtenItems.addAll(chunk.getItems()); } - public List getWrittenItems() { + public List getWrittenItems() { return this.writtenItems; }