output fix
This commit is contained in:
@@ -82,11 +82,11 @@ public class AkkaParser2 {
|
|||||||
String pjName = target.getName();
|
String pjName = target.getName();
|
||||||
// output path
|
// output path
|
||||||
String GUM_TREE_OUTPUT = outputRootPath + pjName + "/";
|
String GUM_TREE_OUTPUT = outputRootPath + pjName + "/";
|
||||||
final String editScriptsFilePath = GUM_TREE_OUTPUT + "editScripts.list";
|
final String editScriptsFilePath = GUM_TREE_OUTPUT + "editScripts/";
|
||||||
final String patchesSourceCodeFilePath =GUM_TREE_OUTPUT + "patchSourceCode.list";
|
final String patchesSourceCodeFilePath =GUM_TREE_OUTPUT + "patchSourceCode/";
|
||||||
final String buggyTokensFilePath = GUM_TREE_OUTPUT + "tokens.list";
|
final String buggyTokensFilePath = GUM_TREE_OUTPUT + "tokens/";
|
||||||
final String editScriptSizesFilePath = GUM_TREE_OUTPUT + "editScriptSizes.csv";
|
final String editScriptSizesFilePath = GUM_TREE_OUTPUT + "editScriptSizes/";
|
||||||
final String alarmTypesFilePath = GUM_TREE_OUTPUT + "alarmTypes.list";
|
final String alarmTypesFilePath = GUM_TREE_OUTPUT + "alarmTypes/";
|
||||||
|
|
||||||
FileHelper.deleteDirectory(editScriptsFilePath);
|
FileHelper.deleteDirectory(editScriptsFilePath);
|
||||||
FileHelper.deleteDirectory(patchesSourceCodeFilePath);
|
FileHelper.deleteDirectory(patchesSourceCodeFilePath);
|
||||||
@@ -107,6 +107,7 @@ public class AkkaParser2 {
|
|||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ public class ParseFixPatternWorker extends UntypedActor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (sizes.length() > 0) {
|
if (sizes.length() > 0) {
|
||||||
FileHelper.outputToFile(editScriptsFilePath + "edistScripts_" + id + ".list", editScripts, true);
|
FileHelper.outputToFile(editScriptsFilePath + "editScripts_" + id + ".list", editScripts, true);
|
||||||
FileHelper.outputToFile(patchesSourceCodeFilePath + "patches_" + id + ".list", patchesSourceCode, true);
|
FileHelper.outputToFile(patchesSourceCodeFilePath + "patches_" + id + ".list", patchesSourceCode, true);
|
||||||
FileHelper.outputToFile(editScriptSizesFilePath + "sizes_" + id + ".list", sizes, true);
|
FileHelper.outputToFile(editScriptSizesFilePath + "sizes_" + id + ".list", sizes, true);
|
||||||
FileHelper.outputToFile(buggyTokensFilePath + "tokens_" + id + ".list", tokens, true);
|
FileHelper.outputToFile(buggyTokensFilePath + "tokens_" + id + ".list", tokens, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user