Consistent abstract declaration of "Abstract" base classes

Closes gh-25240
This commit is contained in:
Juergen Hoeller 2020-06-11 23:43:41 +02:00
parent ae1ed9d458
commit e46ccd74b1
3 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2018 the original author or authors.
* Copyright 2002-2020 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.
@ -39,7 +39,7 @@ import org.springframework.lang.Nullable;
* @see JCacheConfigurer
*/
@Configuration
public class AbstractJCacheConfiguration extends AbstractCachingConfiguration {
public abstract class AbstractJCacheConfiguration extends AbstractCachingConfiguration {
@Nullable
protected Supplier<CacheResolver> exceptionCacheResolver;

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2007 the original author or authors.
* Copyright 2002-2020 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.
@ -22,7 +22,7 @@ package org.springframework.jmx.export.metadata;
* @author Rob Harrop
* @since 1.2
*/
public class AbstractJmxAttribute {
public abstract class AbstractJmxAttribute {
private String description = "";

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 the original author or authors.
* Copyright 2002-2020 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,7 +27,7 @@ package org.springframework.web.servlet.view;
* @see AbstractTemplateView
* @see org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
*/
public class AbstractTemplateViewResolver extends UrlBasedViewResolver {
public abstract class AbstractTemplateViewResolver extends UrlBasedViewResolver {
private boolean exposeRequestAttributes = false;