Remove redundant "extends Object"

This commit is contained in:
Mahmoud Ben Hassine
2023-06-22 11:17:13 +02:00
parent 51f6357e91
commit ee30af4789
8 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2022 the original author or authors.
* Copyright 2006-2023 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.
@@ -53,7 +53,7 @@ public class InfiniteLoopWriter implements StepExecutionListener, ItemWriter<Obj
}
@Override
public void write(Chunk<? extends Object> items) throws Exception {
public void write(Chunk<?> items) throws Exception {
try {
Thread.sleep(500);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2022 the original author or authors.
* Copyright 2006-2023 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.
@@ -26,7 +26,7 @@ import org.springframework.batch.item.ItemWriter;
public class DummyItemWriter implements ItemWriter<Object> {
@Override
public void write(Chunk<? extends Object> item) throws Exception {
public void write(Chunk<?> items) throws Exception {
// NO-OP
Thread.sleep(500);
}