mirror of
https://gitee.com/BDWare/common
synced 2025-01-09 17:34:16 +00:00
prune code
This commit is contained in:
parent
a33f8c43a7
commit
0e37448269
@ -239,8 +239,7 @@ public class ContractNode {
|
||||
}
|
||||
|
||||
public void maintainRouteJoinInfo(JsonObject methodRouteInfoMap, JsonObject methodJoinInfoMap,
|
||||
JsonObject methodForkInfoMap,
|
||||
JsonObject dependentFunctions) {
|
||||
JsonObject methodForkInfoMap, JsonObject dependentFunctions) {
|
||||
// all functions存了ContractNode中,所有的FunctionNode
|
||||
List<FunctionNode> allFunctions = getFunctions();
|
||||
for (FunctionNode functionNode : allFunctions) {
|
||||
@ -306,7 +305,7 @@ public class ContractNode {
|
||||
}
|
||||
|
||||
public void packSourceFunctionAndDependentFunctions(FunctionNode sourceFunctionNode,
|
||||
JsonObject functions) {
|
||||
JsonObject functions) {
|
||||
if (sourceFunctionNode == null)
|
||||
return;
|
||||
functions.addProperty(sourceFunctionNode.functionName, sourceFunctionNode.plainText());
|
||||
|
Loading…
Reference in New Issue
Block a user