We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4550d56 commit b0b1453Copy full SHA for b0b1453
dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java
@@ -757,7 +757,7 @@ public void setInterface(Class<?> interfaceClass) {
757
throw new IllegalStateException("The interface class " + interfaceClass + " is not a interface!");
758
}
759
this.interfaceClass = interfaceClass;
760
- setInterface(interfaceClass == null ? (String) null : interfaceClass.getName());
+ setInterface(interfaceClass == null ? null : interfaceClass.getName());
761
762
763
public T getRef() {
0 commit comments