Skip to content

Commit b2c9e64

Browse files
committed
1 parent ad92d2a commit b2c9e64

File tree

16 files changed

+54
-23
lines changed

16 files changed

+54
-23
lines changed

spring-batch-core/src/main/java/org/springframework/batch/core/JobParametersIncrementer.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2018 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -23,8 +23,10 @@
2323
* @author Dave Syer
2424
* @author Lucas Ward
2525
* @author Mahmoud Ben Hassine
26+
* @author Taeik Lim
2627
* @since 2.0
2728
*/
29+
@FunctionalInterface
2830
public interface JobParametersIncrementer {
2931

3032
/**

spring-batch-core/src/main/java/org/springframework/batch/core/JobParametersValidator.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2018 the original author or authors.
2+
* Copyright 2010-2022 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.
@@ -23,8 +23,10 @@
2323
*
2424
* @author Dave Syer
2525
* @author Mahmoud Ben Hassine
26+
* @author Taeik Lim
2627
*
2728
*/
29+
@FunctionalInterface
2830
public interface JobParametersValidator {
2931

3032
/**

spring-batch-core/src/main/java/org/springframework/batch/core/job/flow/JobExecutionDecider.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2018 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -27,8 +27,10 @@
2727
*
2828
* @author Dave Syer
2929
* @author Mahmoud Ben Hassine
30+
* @author Taeik Lim
3031
* @since 2.0
3132
*/
33+
@FunctionalInterface
3234
public interface JobExecutionDecider {
3335

3436
/**

spring-batch-core/src/main/java/org/springframework/batch/core/launch/JobLauncher.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -33,8 +33,9 @@
3333
*
3434
* @author Lucas Ward
3535
* @author Dave Syer
36+
* @author Taeik Lim
3637
*/
37-
38+
@FunctionalInterface
3839
public interface JobLauncher {
3940

4041
/**

spring-batch-core/src/main/java/org/springframework/batch/core/partition/PartitionHandler.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2021 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -31,8 +31,10 @@
3131
*
3232
* @author Dave Syer
3333
* @author Mahmoud Ben Hassine
34+
* @author Taeik Lim
3435
* @since 2.0
3536
*/
37+
@FunctionalInterface
3638
public interface PartitionHandler {
3739

3840
/**

spring-batch-core/src/main/java/org/springframework/batch/core/partition/support/Partitioner.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -27,8 +27,10 @@
2727
* key ranges, or a set of unique filenames.
2828
*
2929
* @author Dave Syer
30+
* @author Taeik Lim
3031
* @since 2.0
3132
*/
33+
@FunctionalInterface
3234
public interface Partitioner {
3335

3436
/**

spring-batch-core/src/main/java/org/springframework/batch/core/partition/support/StepExecutionAggregator.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2008-2009 the original author or authors.
2+
* Copyright 2008-2022 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.
@@ -24,10 +24,12 @@
2424
* of partitioned or remote execution.
2525
*
2626
* @author Dave Syer
27-
*
27+
* @author Taeik Lim
28+
*
2829
* @since 2.1
2930
*
3031
*/
32+
@FunctionalInterface
3133
public interface StepExecutionAggregator {
3234

3335
/**

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2022 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,8 +21,10 @@
2121
* properly override equals.
2222
*
2323
* @author Dave Syer
24+
* @author Taeik Lim
2425
*
2526
*/
27+
@FunctionalInterface
2628
public interface KeyGenerator {
2729

2830
Object getKey(Object item);

spring-batch-core/src/main/java/org/springframework/batch/core/step/job/JobParametersExtractor.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2010 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -24,8 +24,10 @@
2424
* {@link JobParameters}.
2525
*
2626
* @author Dave Syer
27-
*
27+
* @author Taeik Lim
28+
*
2829
*/
30+
@FunctionalInterface
2931
public interface JobParametersExtractor {
3032

3133
/**

spring-batch-core/src/main/java/org/springframework/batch/core/step/skip/SkipPolicy.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2021 the original author or authors.
2+
* Copyright 2006-2022 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,7 +21,9 @@
2121
* @author Lucas Ward
2222
* @author Dave Syer
2323
* @author Mahmoud Ben Hassine
24+
* @author Taeik Lim
2425
*/
26+
@FunctionalInterface
2527
public interface SkipPolicy {
2628

2729
/**

spring-batch-core/src/main/java/org/springframework/batch/core/step/tasklet/Tasklet.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2018 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -25,8 +25,10 @@
2525
*
2626
* @author Dave Syer
2727
* @author Mahmoud Ben Hassine
28-
*
28+
* @author Taeik Lim
29+
*
2930
*/
31+
@FunctionalInterface
3032
public interface Tasklet {
3133

3234
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemProcessor.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2020 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -29,10 +29,12 @@
2929
* @author Robert Kasanicky
3030
* @author Dave Syer
3131
* @author Mahmoud Ben Hassine
32-
*
32+
* @author Taeik Lim
33+
*
3334
* @param <I> type of input item
3435
* @param <O> type of output item
3536
*/
37+
@FunctionalInterface
3638
public interface ItemProcessor<I, O> {
3739

3840
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemReader.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2018 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -35,8 +35,10 @@
3535
* @author Dave Syer
3636
* @author Lucas Ward
3737
* @author Mahmoud Ben Hassine
38+
* @author Taeik Lim
3839
* @since 1.0
3940
*/
41+
@FunctionalInterface
4042
public interface ItemReader<T> {
4143

4244
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/item/ItemWriter.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -35,7 +35,9 @@
3535
*
3636
* @author Dave Syer
3737
* @author Lucas Ward
38+
* @author Taeik Lim
3839
*/
40+
@FunctionalInterface
3941
public interface ItemWriter<T> {
4042

4143
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/RepeatOperations.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -27,8 +27,10 @@
2727
* batch or not.
2828
*
2929
* @author Dave Syer
30-
*
30+
* @author Taeik Lim
31+
*
3132
*/
33+
@FunctionalInterface
3234
public interface RepeatOperations {
3335

3436
/**

spring-batch-infrastructure/src/main/java/org/springframework/batch/repeat/exception/ExceptionHandler.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2006-2007 the original author or authors.
2+
* Copyright 2006-2022 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.
@@ -29,8 +29,10 @@
2929
*
3030
* @author Dave Syer
3131
* @author Robert Kasanicky
32-
*
32+
* @author Taeik Lim
33+
*
3334
*/
35+
@FunctionalInterface
3436
public interface ExceptionHandler {
3537

3638
/**

0 commit comments

Comments
 (0)