Skip to content
Snippets Groups Projects
Commit 1b56bd3f authored by Lange, Dr. Herbert's avatar Lange, Dr. Herbert
Browse files

fix issue with name clash with report

parent 4dd70103
No related branches found
No related tags found
No related merge requests found
...@@ -37,7 +37,7 @@ class CorpusThread extends Thread { ...@@ -37,7 +37,7 @@ class CorpusThread extends Thread {
private final Logger logger = LoggerFactory.getLogger(this.getClass().getName()); private final Logger logger = LoggerFactory.getLogger(this.getClass().getName());
Report report = new Report(); de.uni_hamburg.corpora.Report report = new de.uni_hamburg.corpora.Report();
String inFile ; String inFile ;
String functionNames; String functionNames;
String outFile; String outFile;
...@@ -97,7 +97,7 @@ class CorpusThread extends Thread { ...@@ -97,7 +97,7 @@ class CorpusThread extends Thread {
for (CorpusFunction f : functions) { for (CorpusFunction f : functions) {
logger.warn("Running function {}", f.getFunction()); logger.warn("Running function {}", f.getFunction());
report.addNote("CorpusService", "Run test " + f.getFunction()); report.addNote("CorpusService", "Run test " + f.getFunction());
Report result = f.execute(corpus); de.uni_hamburg.corpora.Report result = f.execute(corpus);
report.merge(result); report.merge(result);
report.addNote("CorpusService", "Finish test " + f.getFunction()); report.addNote("CorpusService", "Finish test " + f.getFunction());
logger.warn("Done with function {}", f.getFunction()); logger.warn("Done with function {}", f.getFunction());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment