From efe391f2c5c0ae8f867ef3f24a67a1b7d2747bc8 Mon Sep 17 00:00:00 2001 From: EnigmaOppo Date: Fri, 29 Jul 2022 16:24:45 +0800 Subject: [PATCH] fix the bug that the Feature's tag match is wrong --- commons/src/main/java/esa/commons/spi/SpiLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commons/src/main/java/esa/commons/spi/SpiLoader.java b/commons/src/main/java/esa/commons/spi/SpiLoader.java index 27b8607..0ac0d0b 100644 --- a/commons/src/main/java/esa/commons/spi/SpiLoader.java +++ b/commons/src/main/java/esa/commons/spi/SpiLoader.java @@ -868,7 +868,7 @@ private boolean isMatchAnnotationTags(Map annotationTagsArr, Map if (!annotationKey.equals(key)) { continue; } - if (StringUtils.isBlank(value) || annotationValue.equals(value)) { + if (StringUtils.isBlank(annotationValue) || annotationValue.equals(value)) { return true; } }