内置扩展匹配器相关结构优化..

This commit is contained in:
aoshiguchen
2022-06-29 16:39:42 +08:00
parent 57d46191ff
commit d7ebb55756
@@ -71,6 +71,7 @@ public class TypeMatchInfo {
}
public boolean isMatched() {
return TypeMatchLevel.byTypeDistance(this.typeDistance) != null && typeConverter != null;
TypeMatchLevel matchLevel = TypeMatchLevel.byTypeDistance(this.typeDistance);
return matchLevel != null && matchLevel != TypeMatchLevel.NOT && typeConverter != null;
}
}