Add @Interited to @TypeExcludeFilters
Update `@TypeExcludeFilters` so that it is also annotated with `@Inherited`. Closes gh-22939
This commit is contained in:
parent
89a6f83344
commit
3271542d98
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright 2012-2019 the original author or authors.
|
||||
* Copyright 2012-2020 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.
|
||||
|
|
@ -18,6 +18,7 @@ package org.springframework.boot.test.autoconfigure.filter;
|
|||
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Inherited;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
|
|
@ -37,6 +38,7 @@ import org.springframework.boot.context.TypeExcludeFilter;
|
|||
@Target(ElementType.TYPE)
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Documented
|
||||
@Inherited
|
||||
public @interface TypeExcludeFilters {
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue