Skip to content

Commit 910ca1d

Browse files
committed
Add @FunctionalInterface to ChunkProcessor
Signed-off-by: KyeongHoon Lee <[email protected]>
1 parent cb62d3d commit 910ca1d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/step/item/ChunkProcessor.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2022 the original author or authors.
2+
* Copyright 2006-2025 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.
@@ -22,8 +22,10 @@
2222
/**
2323
* Interface defined for processing {@link org.springframework.batch.item.Chunk}s.
2424
*
25+
* @author Kyeonghoon Lee
2526
* @since 2.0
2627
*/
28+
@FunctionalInterface
2729
public interface ChunkProcessor<I> {
2830

2931
void process(StepContribution contribution, Chunk<I> chunk) throws Exception;

0 commit comments

Comments
 (0)