Skip to content

Commit a37fda5

Browse files
committed
Consistent abstract declaration of "Abstract" base classes
Closes gh-25240
1 parent c2457b9 commit a37fda5

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

spring-context-support/src/main/java/org/springframework/cache/jcache/config/AbstractJCacheConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2018 the original author or authors.
2+
* Copyright 2002-2020 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.
@@ -36,7 +36,7 @@
3636
* @see JCacheConfigurer
3737
*/
3838
@Configuration
39-
public class AbstractJCacheConfiguration extends AbstractCachingConfiguration {
39+
public abstract class AbstractJCacheConfiguration extends AbstractCachingConfiguration {
4040

4141
@Nullable
4242
protected CacheResolver exceptionCacheResolver;

spring-context/src/main/java/org/springframework/jmx/export/metadata/AbstractJmxAttribute.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2007 the original author or authors.
2+
* Copyright 2002-2020 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.
@@ -22,7 +22,7 @@
2222
* @author Rob Harrop
2323
* @since 1.2
2424
*/
25-
public class AbstractJmxAttribute {
25+
public abstract class AbstractJmxAttribute {
2626

2727
private String description = "";
2828

spring-webmvc/src/main/java/org/springframework/web/servlet/view/AbstractTemplateViewResolver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2020 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,7 +27,7 @@
2727
* @see AbstractTemplateView
2828
* @see org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
2929
*/
30-
public class AbstractTemplateViewResolver extends UrlBasedViewResolver {
30+
public abstract class AbstractTemplateViewResolver extends UrlBasedViewResolver {
3131

3232
private boolean exposeRequestAttributes = false;
3333

0 commit comments

Comments
 (0)