mirror of
https://gitee.com/BDWare/common
synced 2026-01-03 12:09:29 +00:00
delete useless updateFunctionMap
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user