diff --git a/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/AbstractConfig.java b/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/AbstractConfig.java index 3eee351cb502..9ee0b1074b2a 100644 --- a/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/AbstractConfig.java +++ b/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/AbstractConfig.java @@ -111,7 +111,7 @@ protected void appendAnnotation(Class annotationClass, Object annotation) { } String setter = "set" + property.substring(0, 1).toUpperCase() + property.substring(1); Object value = method.invoke(annotation, new Object[0]); - if (value != null && ! value.equals(method.getDefaultValue())) { + if (value != null) { Class parameterType = ReflectUtils.getBoxedClass(method.getReturnType()); if ("filter".equals(property) || "listener".equals(property)) { parameterType = String.class; diff --git a/pom.xml b/pom.xml index 7cb65054ec77..309b8adcc52a 100644 --- a/pom.xml +++ b/pom.xml @@ -539,14 +539,14 @@ +8 - - WuXiaoFei(Teaey) - xiaofei.wxf - xiaofei.wxf (AT) alibaba-inc.com - - Developer - - +8 - + + WuXiaoFei(Teaey) + xiaofei.wxf + xiaofei.wxf (AT) alibaba-inc.com + + Developer + + +8 +