Skip to content

Commit

Permalink
Add @FunctionalInterface to ChunkProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
pongdangx2 committed Feb 26, 2025
1 parent e706957 commit f24da33
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2006-2022 the original author or authors.
* Copyright 2006-2025 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.
Expand All @@ -22,8 +22,10 @@
/**
* Interface defined for processing {@link org.springframework.batch.item.Chunk}s.
*
* @author Kyeonghoon Lee
* @since 2.0
*/
@FunctionalInterface
public interface ChunkProcessor<I> {

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

0 comments on commit f24da33

Please sign in to comment.