Merge pull request #30236 from izeye

* pr/30236:
  Update copyright year of changed files
  Polish StandardAnnotationCustomizableTypeExcludeFilters

Closes gh-30236
This commit is contained in:
Stephane Nicoll
2022-03-21 13:35:10 +01:00
4 changed files with 6 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2022 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.
@@ -26,7 +26,7 @@ import org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCust
*/
class DataCassandraTypeExcludeFilter extends StandardAnnotationCustomizableTypeExcludeFilter<DataCassandraTest> {
protected DataCassandraTypeExcludeFilter(Class<?> testClass) {
DataCassandraTypeExcludeFilter(Class<?> testClass) {
super(testClass);
}

View File

@@ -26,7 +26,7 @@ import org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCust
*/
class DataCouchbaseTypeExcludeFilter extends StandardAnnotationCustomizableTypeExcludeFilter<DataCouchbaseTest> {
protected DataCouchbaseTypeExcludeFilter(Class<?> testClass) {
DataCouchbaseTypeExcludeFilter(Class<?> testClass) {
super(testClass);
}

View File

@@ -27,7 +27,7 @@ import org.springframework.boot.test.autoconfigure.filter.StandardAnnotationCust
class DataElasticsearchTypeExcludeFilter
extends StandardAnnotationCustomizableTypeExcludeFilter<DataElasticsearchTest> {
protected DataElasticsearchTypeExcludeFilter(Class<?> testClass) {
DataElasticsearchTypeExcludeFilter(Class<?> testClass) {
super(testClass);
}

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2012-2020 the original author or authors.
* Copyright 2012-2022 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.
@@ -34,7 +34,7 @@ public final class WebServiceClientExcludeFilter
private final Class<?>[] components;
protected WebServiceClientExcludeFilter(Class<?> testClass) {
WebServiceClientExcludeFilter(Class<?> testClass) {
super(testClass);
this.components = getAnnotation().getValue("components", Class[].class).orElseGet(() -> new Class<?>[0]);
}