Consistent abstract declaration for utility classes (plus polishing)
Issue: SPR-16968
This commit is contained in:
@@ -22,7 +22,7 @@ package org.springframework.cache.config;
|
||||
* @author Juergen Hoeller
|
||||
* @since 4.1
|
||||
*/
|
||||
public final class CacheManagementConfigUtils {
|
||||
public abstract class CacheManagementConfigUtils {
|
||||
|
||||
/**
|
||||
* The name of the cache advisor bean.
|
||||
@@ -48,8 +48,4 @@ public final class CacheManagementConfigUtils {
|
||||
public static final String JCACHE_ASPECT_BEAN_NAME =
|
||||
"org.springframework.cache.config.internalJCacheAspect";
|
||||
|
||||
|
||||
private CacheManagementConfigUtils() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -29,7 +29,6 @@ import org.springframework.core.annotation.AnnotatedElementUtils;
|
||||
*/
|
||||
final class BeanAnnotationHelper {
|
||||
|
||||
|
||||
private BeanAnnotationHelper() {
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ import org.springframework.beans.factory.support.BeanDefinitionRegistry;
|
||||
*/
|
||||
final class ScopedProxyCreator {
|
||||
|
||||
|
||||
private ScopedProxyCreator() {
|
||||
}
|
||||
|
||||
|
||||
@@ -49,7 +49,6 @@ import org.springframework.lang.Nullable;
|
||||
*/
|
||||
final class PostProcessorRegistrationDelegate {
|
||||
|
||||
|
||||
private PostProcessorRegistrationDelegate() {
|
||||
}
|
||||
|
||||
@@ -306,7 +305,7 @@ final class PostProcessorRegistrationDelegate {
|
||||
* BeanPostProcessor instantiation, i.e. when a bean is not eligible for
|
||||
* getting processed by all BeanPostProcessors.
|
||||
*/
|
||||
private static class BeanPostProcessorChecker implements BeanPostProcessor {
|
||||
private static final class BeanPostProcessorChecker implements BeanPostProcessor {
|
||||
|
||||
private static final Log logger = LogFactory.getLog(BeanPostProcessorChecker.class);
|
||||
|
||||
|
||||
@@ -46,7 +46,6 @@ import org.springframework.format.datetime.DateFormatterRegistrar;
|
||||
*/
|
||||
final class JodaTimeConverters {
|
||||
|
||||
|
||||
private JodaTimeConverters() {
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,6 @@ import org.springframework.format.datetime.DateFormatterRegistrar;
|
||||
*/
|
||||
final class DateTimeConverters {
|
||||
|
||||
|
||||
private DateTimeConverters() {
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ import javax.management.ObjectName;
|
||||
*/
|
||||
public final class ObjectNameManager {
|
||||
|
||||
|
||||
private ObjectNameManager() {
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ package org.springframework.scheduling.config;
|
||||
* @author Juergen Hoeller
|
||||
* @since 4.1
|
||||
*/
|
||||
public final class TaskManagementConfigUtils {
|
||||
public abstract class TaskManagementConfigUtils {
|
||||
|
||||
/**
|
||||
* The bean name of the internally managed Scheduled annotation processor.
|
||||
@@ -42,9 +42,4 @@ public final class TaskManagementConfigUtils {
|
||||
public static final String ASYNC_EXECUTION_ASPECT_BEAN_NAME =
|
||||
"org.springframework.scheduling.config.internalAsyncExecutionAspect";
|
||||
|
||||
|
||||
private TaskManagementConfigUtils() {
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user