Skip to content

Commit 3271542

Browse files
committed
Add @Interited to @TypeExcludeFilters
Update `@TypeExcludeFilters` so that it is also annotated with `@Inherited`. Closes gh-22939
1 parent 89a6f83 commit 3271542

File tree

1 file changed

+3
-1
lines changed
  • spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/filter

1 file changed

+3
-1
lines changed

spring-boot-project/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/filter/TypeExcludeFilters.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-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.
@@ -18,6 +18,7 @@
1818

1919
import java.lang.annotation.Documented;
2020
import java.lang.annotation.ElementType;
21+
import java.lang.annotation.Inherited;
2122
import java.lang.annotation.Retention;
2223
import java.lang.annotation.RetentionPolicy;
2324
import java.lang.annotation.Target;
@@ -37,6 +38,7 @@
3738
@Target(ElementType.TYPE)
3839
@Retention(RetentionPolicy.RUNTIME)
3940
@Documented
41+
@Inherited
4042
public @interface TypeExcludeFilters {
4143

4244
/**

0 commit comments

Comments
 (0)