This is an automated email from the ASF dual-hosted git repository.
huxing pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git
The following commit(s) were added to refs/heads/master by this push:
new 36ba4c9 Remove redundant cast.
36ba4c9 is described below
commit 36ba4c9b16834b58d84620e85ba428a2cab0da55
Author: Huxing Zhang <[email protected]>
AuthorDate: Wed May 16 17:01:29 2018 +0800
Remove redundant cast.
---
.../src/main/java/com/alibaba/dubbo/config/ServiceConfig.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java
b/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java
index 7af02b4..d04d51c 100644
---
a/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java
+++
b/dubbo-config/dubbo-config-api/src/main/java/com/alibaba/dubbo/config/ServiceConfig.java
@@ -757,7 +757,7 @@ public class ServiceConfig<T> extends AbstractServiceConfig
{
throw new IllegalStateException("The interface class " +
interfaceClass + " is not a interface!");
}
this.interfaceClass = interfaceClass;
- setInterface(interfaceClass == null ? (String) null :
interfaceClass.getName());
+ setInterface(interfaceClass == null ? null : interfaceClass.getName());
}
public T getRef() {
--
To stop receiving notification emails like this one, please contact
[email protected].