Skip to content

Commit dd10525

Browse files
acktsapfmbenhassine
authored andcommitted
Add '@FunctionalInterface' to JobKeyGenerator
Resolves #4613 Signed-off-by: Taeik Lim <[email protected]>
1 parent 7c10a0f commit dd10525

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/JobKeyGenerator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2013-2022 the original author or authors.
2+
* Copyright 2013-2024 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.
@@ -21,9 +21,11 @@
2121
*
2222
* @author Michael Minella
2323
* @author Mahmoud Ben Hassine
24+
* @author Taeik Lim
2425
* @param <T> The type of the source data used to calculate the key.
2526
* @since 2.2
2627
*/
28+
@FunctionalInterface
2729
public interface JobKeyGenerator<T> {
2830

2931
/**

0 commit comments

Comments
 (0)