Skip to content

Commit 6011b36

Browse files
cuteasonqinliujie
authored andcommitted
fix(AbstractProxyInvoker):fix NPE problem(apache#788)
NPE bug fixed.
1 parent dbd06d7 commit 6011b36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dubbo-rpc/dubbo-rpc-api/src/main/java/com/alibaba/dubbo/rpc/proxy/AbstractProxyInvoker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ public Result invoke(Invocation invocation) throws RpcException {
8181

8282
@Override
8383
public String toString() {
84-
return getInterface() + " -> " + getUrl() == null ? " " : getUrl().toString();
84+
return getInterface() + " -> " + (getUrl() == null ? " " : getUrl().toString());
8585
}
8686

8787

88-
}
88+
}

0 commit comments

Comments
 (0)