Skip to content

Commit

Permalink
remove getContext() (#3235)
Browse files Browse the repository at this point in the history
  • Loading branch information
beiwei30 authored Jan 17, 2019
1 parent 43d74b3 commit f770b7c
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
import java.util.Map;

import static org.apache.dubbo.common.utils.PojoUtils.realize;
import static org.apache.dubbo.rpc.RpcContext.getContext;

/**
* InvokeTelnetHandler
Expand Down Expand Up @@ -124,7 +123,6 @@ public String telnet(Channel channel, String message) {
try {
Object[] array = realize(list.toArray(), invokeMethod.getParameterTypes(),
invokeMethod.getGenericParameterTypes());
getContext().setLocalAddress(channel.getLocalAddress()).setRemoteAddress(channel.getRemoteAddress());
long start = System.currentTimeMillis();
RpcResult result = new RpcResult();
try {
Expand Down

0 comments on commit f770b7c

Please sign in to comment.