mirror of
https://gitee.com/BDWare/common
synced 2025-01-10 09:54:13 +00:00
delete useless updateFunctionMap
This commit is contained in:
parent
3dc6a34770
commit
f6c2e9e445
@ -46,14 +46,6 @@ public class ContractNode {
|
|||||||
getFunctions().add(function);
|
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) {
|
public void addClass(ClassNode clzNode) {
|
||||||
getClzs().add(clzNode);
|
getClzs().add(clzNode);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user