mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Remove redundant check
Closes gh-3497
This commit is contained in:
parent
86f938374a
commit
019140c901
@ -230,9 +230,6 @@ public class ConfigurationMetadataMatchers {
|
||||
if (itemHint == null) {
|
||||
return false;
|
||||
}
|
||||
if (this.name != null && !this.name.equals(itemHint.getName())) {
|
||||
return false;
|
||||
}
|
||||
for (ValueHintMatcher value : this.values) {
|
||||
if (!value.matches(itemHint)) {
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user