File tree 10 files changed +54
-20
lines changed
spring-batch-core/src/main/java/org/springframework/batch/core/configuration/xml
spring-batch-infrastructure/src/main/java/org/springframework/batch
spring-batch-test/src/main/java/org/springframework/batch/test
10 files changed +54
-20
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2006-2007 the original author or authors.
2
+ * Copyright 2006-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
21
21
22
22
/**
23
23
* @author Dan Garrette
24
+ * @author Taeik Lim
24
25
* @since 2.0.1
25
26
*/
26
- public class BeanDefinitionUtils {
27
+ public abstract class BeanDefinitionUtils {
28
+
29
+ private BeanDefinitionUtils () {
30
+ }
27
31
28
32
/**
29
33
* @param beanName a bean definition name
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2006-2023 the original author or authors.
2
+ * Copyright 2006-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
37
37
* @author Thomas Risberg
38
38
* @author Michael Minella
39
39
* @author Mahmoud Ben Hassine
40
+ * @author Taeik Lim
40
41
*/
41
- public class CoreNamespaceUtils {
42
+ public abstract class CoreNamespaceUtils {
43
+
44
+ private CoreNamespaceUtils () {
45
+ }
42
46
43
47
private static final String STEP_SCOPE_PROCESSOR_BEAN_NAME = "org.springframework.batch.core.scope.internalStepScope" ;
44
48
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
28
28
* @author Thomas Risberg
29
29
* @author Juergen Hoeller
30
30
* @author Marten Deinum
31
+ * @author Taeik Lim
31
32
* @since 2.0
32
33
*/
33
- public class JdbcParameterUtils {
34
+ public abstract class JdbcParameterUtils {
35
+
36
+ private JdbcParameterUtils () {
37
+ }
34
38
35
39
/**
36
40
* Count the occurrences of the character placeholder in an SQL string
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2006-2023 the original author or authors.
2
+ * Copyright 2006-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
31
31
* @author Dave Syer
32
32
* @author Michael Minella
33
33
* @author Mahmoud Ben Hassine
34
+ * @author Taeik Lim
34
35
* @since 2.0
35
36
*/
36
- public class SqlPagingQueryUtils {
37
+ public abstract class SqlPagingQueryUtils {
38
+
39
+ private SqlPagingQueryUtils () {
40
+ }
37
41
38
42
/**
39
43
* Generate SQL query string using a LIMIT clause
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2006-2021 the original author or authors.
2
+ * Copyright 2006-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
27
27
*
28
28
* @author Peter Zozom
29
29
* @author Mahmoud Ben Hassine
30
+ * @author Taeik Lim
30
31
*/
31
- public final class FileUtils {
32
+ public abstract class FileUtils {
32
33
33
34
// forbids instantiation
34
35
private FileUtils () {
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2023 the original author or authors.
2
+ * Copyright 2002-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
34
34
*
35
35
* @author Lucas Ward
36
36
* @author Mahmoud Ben Hassine
37
+ * @author Taeik Lim
37
38
* @since 2.0
38
39
*/
39
- public class MethodInvokerUtils {
40
+ public abstract class MethodInvokerUtils {
41
+
42
+ private MethodInvokerUtils () {
43
+ }
40
44
41
45
/**
42
46
* Create a {@link MethodInvoker} using the provided method name to search.
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2014-2023 the original author or authors.
2
+ * Copyright 2014-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
29
29
*
30
30
* @author Michael Minella
31
31
* @author Mahmoud Ben Hassine
32
+ * @author Taeik Lim
32
33
* @since 2.2.6
33
34
*/
34
- public class ReflectionUtils {
35
+ public abstract class ReflectionUtils {
35
36
36
37
private ReflectionUtils () {
37
38
}
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2006-2018 the original author or authors.
2
+ * Copyright 2006-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
30
30
*
31
31
* @author Dave Syer
32
32
* @author Mahmoud Ben Hassine
33
+ * @author Taeik Lim
33
34
* @since 2.1.4
34
35
*
35
36
*/
36
- public class ExecutionContextTestUtils {
37
+ public abstract class ExecutionContextTestUtils {
38
+
39
+ private ExecutionContextTestUtils () {
40
+ }
37
41
38
42
@ SuppressWarnings ("unchecked" )
39
43
@ Nullable
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2006-2023 the original author or authors.
2
+ * Copyright 2006-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
29
29
* @author Dave Syer
30
30
* @author Jimmy Praet
31
31
* @author Mahmoud Ben Hassine
32
+ * @author Taeik Lim
32
33
*/
33
- public class JobScopeTestUtils {
34
+ public abstract class JobScopeTestUtils {
35
+
36
+ private JobScopeTestUtils () {
37
+ }
34
38
35
39
public static <T > T doInJobScope (JobExecution jobExecution , Callable <T > callable ) throws Exception {
36
40
try {
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2006-2010 the original author or authors.
2
+ * Copyright 2006-2024 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
27
27
* test case that happen to be step scoped in the application context.
28
28
*
29
29
* @author Dave Syer
30
+ * @author Taeik Lim
30
31
*
31
32
*/
32
- public class StepScopeTestUtils {
33
+ public abstract class StepScopeTestUtils {
34
+
35
+ private StepScopeTestUtils () {
36
+ }
33
37
34
38
public static <T > T doInStepScope (StepExecution stepExecution , Callable <T > callable ) throws Exception {
35
39
try {
You can’t perform that action at this time.
0 commit comments