Skip to content

Commit 85e3f23

Browse files
committed
Consistent abstract declaration of "Abstract" base classes
Closes gh-25240
1 parent 323977b commit 85e3f23

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-2015 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.
@@ -35,7 +35,7 @@
3535
* @see JCacheConfigurer
3636
*/
3737
@Configuration
38-
public class AbstractJCacheConfiguration extends AbstractCachingConfiguration {
38+
public abstract class AbstractJCacheConfiguration extends AbstractCachingConfiguration {
3939

4040
protected CacheResolver exceptionCacheResolver;
4141

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-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.
@@ -30,7 +30,7 @@
3030
* @see org.springframework.web.servlet.view.velocity.VelocityViewResolver
3131
* @see org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
3232
*/
33-
public class AbstractTemplateViewResolver extends UrlBasedViewResolver {
33+
public abstract class AbstractTemplateViewResolver extends UrlBasedViewResolver {
3434

3535
private boolean exposeRequestAttributes = false;
3636

0 commit comments

Comments
 (0)