Make util classes to follow style guide

Signed-off-by: Taeik Lim <sibera21@gmail.com>

Issue #4545
This commit is contained in:
Taeik Lim
2024-02-06 13:00:15 +09:00
committed by Mahmoud Ben Hassine
parent 376d84888f
commit fb180404cb
10 changed files with 54 additions and 20 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 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.
@@ -28,9 +28,13 @@ import java.util.List;
* @author Thomas Risberg
* @author Juergen Hoeller
* @author Marten Deinum
* @author Taeik Lim
* @since 2.0
*/
public class JdbcParameterUtils {
public abstract class JdbcParameterUtils {
private JdbcParameterUtils() {
}
/**
* Count the occurrences of the character placeholder in an SQL string

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2023 the original author or authors.
* Copyright 2006-2024 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.
@@ -31,9 +31,13 @@ import org.springframework.util.StringUtils;
* @author Dave Syer
* @author Michael Minella
* @author Mahmoud Ben Hassine
* @author Taeik Lim
* @since 2.0
*/
public class SqlPagingQueryUtils {
public abstract class SqlPagingQueryUtils {
private SqlPagingQueryUtils() {
}
/**
* Generate SQL query string using a LIMIT clause

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2021 the original author or authors.
* Copyright 2006-2024 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.
@@ -27,8 +27,9 @@ import org.springframework.util.Assert;
*
* @author Peter Zozom
* @author Mahmoud Ben Hassine
* @author Taeik Lim
*/
public final class FileUtils {
public abstract class FileUtils {
// forbids instantiation
private FileUtils() {

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 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.
@@ -34,9 +34,13 @@ import org.springframework.util.ReflectionUtils;
*
* @author Lucas Ward
* @author Mahmoud Ben Hassine
* @author Taeik Lim
* @since 2.0
*/
public class MethodInvokerUtils {
public abstract class MethodInvokerUtils {
private MethodInvokerUtils() {
}
/**
* Create a {@link MethodInvoker} using the provided method name to search.

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2014-2023 the original author or authors.
* Copyright 2014-2024 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.
@@ -29,9 +29,10 @@ import org.springframework.core.annotation.AnnotationUtils;
*
* @author Michael Minella
* @author Mahmoud Ben Hassine
* @author Taeik Lim
* @since 2.2.6
*/
public class ReflectionUtils {
public abstract class ReflectionUtils {
private ReflectionUtils() {
}