mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '2.3.x'
Closes gh-24013
This commit is contained in:
commit
d41e739f8c
@ -62,6 +62,16 @@ class TestTypeExcludeFilter extends TypeExcludeFilter {
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
return (obj != null) && (getClass() == obj.getClass());
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return getClass().hashCode();
|
||||
}
|
||||
|
||||
private boolean isTestConfiguration(MetadataReader metadataReader) {
|
||||
return (metadataReader.getAnnotationMetadata().isAnnotated(TestComponent.class.getName()));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user