Remove redundant check

Closes gh-3497
This commit is contained in:
izeye 2015-07-15 10:48:54 +09:00 committed by Stephane Nicoll
parent 86f938374a
commit 019140c901

View File

@ -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;