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