delete useless updateFunctionMap

This commit is contained in:
haoeliu@foxmail.com 2023-01-25 17:44:21 +08:00
parent 3dc6a34770
commit f6c2e9e445

View File

@ -46,14 +46,6 @@ public class ContractNode {
getFunctions().add(function);
}
public void updateFunctionMap(String oldFunctionName, String newFunctionName) {
FunctionNode fn = functionMap.getOrDefault(oldFunctionName, null);
if(fn != null) {
functionMap.remove(oldFunctionName);
functionMap.put(newFunctionName, fn);
}
}
public void addClass(ClassNode clzNode) {
getClzs().add(clzNode);
}