Skip to content

Commit

Permalink
remove getContext() (apache#3235)
Browse files Browse the repository at this point in the history
  • Loading branch information
beiwei30 authored and Kiddinglife committed Jan 17, 2019
1 parent 43d74b3 commit a62b4e5
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 a62b4e5

Please sign in to comment.