Skip to content

Commit

Permalink
should not use IdentityHashMap, otherwise cannot use method object to…
Browse files Browse the repository at this point in the history
… get (#5675)
  • Loading branch information
beiwei30 authored and qinliujie committed Jan 17, 2020
1 parent d2f58d4 commit a9a69ea
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
Expand Down Expand Up @@ -117,7 +116,7 @@ public AsyncMethodInfo getAsyncInfo(String methodName) {
/* *************** Start, metadata compatible **************** */

private ServiceMetadata serviceMetadata;
private Map<Method, ConsumerMethodModel> methodModels = new IdentityHashMap<Method, ConsumerMethodModel>();
private Map<Method, ConsumerMethodModel> methodModels = new HashMap<>();

public ConsumerModel(String serviceKey
, Object proxyObject
Expand Down

0 comments on commit a9a69ea

Please sign in to comment.