Browse Source

Consistent abstract declaration of "Abstract" base classes

Closes gh-25240
pull/25295/head
Juergen Hoeller 6 years ago
parent
commit
e46ccd74b1
  1. 4
      spring-context-support/src/main/java/org/springframework/cache/jcache/config/AbstractJCacheConfiguration.java
  2. 4
      spring-context/src/main/java/org/springframework/jmx/export/metadata/AbstractJmxAttribute.java
  3. 4
      spring-webmvc/src/main/java/org/springframework/web/servlet/view/AbstractTemplateViewResolver.java

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

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 * @see JCacheConfigurer
*/ */
@Configuration @Configuration
public class AbstractJCacheConfiguration extends AbstractCachingConfiguration { public abstract class AbstractJCacheConfiguration extends AbstractCachingConfiguration {
@Nullable @Nullable
protected Supplier<CacheResolver> exceptionCacheResolver; protected Supplier<CacheResolver> exceptionCacheResolver;

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

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 * @author Rob Harrop
* @since 1.2 * @since 1.2
*/ */
public class AbstractJmxAttribute { public abstract class AbstractJmxAttribute {
private String description = ""; private String description = "";

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

@ -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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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 AbstractTemplateView
* @see org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver * @see org.springframework.web.servlet.view.freemarker.FreeMarkerViewResolver
*/ */
public class AbstractTemplateViewResolver extends UrlBasedViewResolver { public abstract class AbstractTemplateViewResolver extends UrlBasedViewResolver {
private boolean exposeRequestAttributes = false; private boolean exposeRequestAttributes = false;

Loading…
Cancel
Save