From 0e3744826981df66a6180e35cbd02e14923962f1 Mon Sep 17 00:00:00 2001 From: CaiHQ Date: Mon, 6 Nov 2023 21:48:33 +0800 Subject: [PATCH] prune code --- src/main/base/org/bdware/sc/node/ContractNode.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/base/org/bdware/sc/node/ContractNode.java b/src/main/base/org/bdware/sc/node/ContractNode.java index 0f61c59..c70cbe0 100644 --- a/src/main/base/org/bdware/sc/node/ContractNode.java +++ b/src/main/base/org/bdware/sc/node/ContractNode.java @@ -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 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());