test
This commit is contained in:
+1
-1
@@ -51,7 +51,7 @@ public class FixedViolationHunkParser extends FixedViolationParser {
|
||||
FileOutputStream f = null;
|
||||
try {
|
||||
String pj = diffentryFile.getParent().split("GumTreeInputBug4")[1];
|
||||
String root = "/Users/anilkoyuncu/bugStudy/dataset/GumTreeOutput2";
|
||||
String root = diffentryFile.getParent().split("GumTreeInputBug4")[0];
|
||||
String hunkTreeFileName = root+pj.replace("DiffEntries","ActionSetDumps/") + diffentryFile.getName() + "_" + String.valueOf(hunkSet);
|
||||
f = new FileOutputStream(new File(hunkTreeFileName));
|
||||
ObjectOutputStream o = new ObjectOutputStream(f);
|
||||
|
||||
@@ -108,7 +108,7 @@ public class TestHunkParser {
|
||||
try {
|
||||
log.info("Akka begins...");
|
||||
system = ActorSystem.create("Mining-FixPattern-System");
|
||||
parsingActor = system.actorOf(ParseFixPatternActor.props(20, editScriptsFilePath,
|
||||
parsingActor = system.actorOf(ParseFixPatternActor.props(1, editScriptsFilePath,
|
||||
patchesSourceCodeFilePath, buggyTokensFilePath, editScriptSizesFilePath), "mine-fix-pattern-actor");
|
||||
parsingActor.tell(msg, ActorRef.noSender());
|
||||
} catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user