From 8dbefb4f6069a414cb8431762e10d5061b57fa17 Mon Sep 17 00:00:00 2001 From: leedaegeon Date: Tue, 26 May 2026 20:42:30 +0900 Subject: [PATCH] Add `@FunctionalInterface` to StepInterruptionPolicy Signed-off-by: leedaegeon --- .../batch/core/step/StepInterruptionPolicy.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spring-batch-core/src/main/java/org/springframework/batch/core/step/StepInterruptionPolicy.java b/spring-batch-core/src/main/java/org/springframework/batch/core/step/StepInterruptionPolicy.java index 1c2f74c75c..7f3ba3939c 100644 --- a/spring-batch-core/src/main/java/org/springframework/batch/core/step/StepInterruptionPolicy.java +++ b/spring-batch-core/src/main/java/org/springframework/batch/core/step/StepInterruptionPolicy.java @@ -1,5 +1,5 @@ /* - * Copyright 2006-2007 the original author or authors. + * Copyright 2006-2026 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. @@ -23,8 +23,10 @@ * implementations to check if a job has been interrupted. * * @author Lucas Ward + * @author Daegeon Lee * */ +@FunctionalInterface public interface StepInterruptionPolicy { /**