From 43e0c3357408eed5b84e2298b39ed55dc98f4400 Mon Sep 17 00:00:00 2001 From: Kui LIU Date: Mon, 31 Jul 2017 11:31:04 +0200 Subject: [PATCH] Remove the data which are useless for current situation. --- .../uni/serval/FixPatternParser/SingleStatementParser.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/edu/lu/uni/serval/FixPatternParser/SingleStatementParser.java b/src/main/java/edu/lu/uni/serval/FixPatternParser/SingleStatementParser.java index 3c762a8..7439519 100644 --- a/src/main/java/edu/lu/uni/serval/FixPatternParser/SingleStatementParser.java +++ b/src/main/java/edu/lu/uni/serval/FixPatternParser/SingleStatementParser.java @@ -156,10 +156,10 @@ public class SingleStatementParser { String semiSourceCodeEditScripts = getSemiSourceCodeEditScripts(actionSet); - this.buggyTrees += Configuration.BUGGY_TREE_TOKEN + "\n" + simpleTree.toString() + "\n"; +// this.buggyTrees += Configuration.BUGGY_TREE_TOKEN + "\n" + simpleTree.toString() + "\n"; this.tokensOfSourceCode += getTokensDeepFirst(simpleTree).trim() + "\n"; - this.actionSets += Configuration.BUGGY_TREE_TOKEN + "\n" + readActionSet(actionSet, "") + "\n"; - this.originalTree += Configuration.BUGGY_TREE_TOKEN + "\n" + actionSet.getOriginalTree().toString() + "\n"; +// this.actionSets += Configuration.BUGGY_TREE_TOKEN + "\n" + readActionSet(actionSet, "") + "\n"; +// this.originalTree += Configuration.BUGGY_TREE_TOKEN + "\n" + actionSet.getOriginalTree().toString() + "\n"; // Source Code of patches. String patchSourceCode = getPatchSourceCode(hunk, startLine, endLine, startLine2, endLine2);