use of net.sourceforge.processdash.log.defects.DefectLog in project processdash by dtuma.
the class RestoreIndivDataWorker method analyze.
public void analyze(String path, Defect d) {
DashHierarchy hier = ctx.getHierarchy();
PropertyKey node = hier.findClosestKey(path);
DefectLogID defectLogID = hier.defectLog(node, defectDirectory);
DefectLog defectLog = new DefectLog(defectLogID.filename, defectLogID.path.path(), ctx.getData());
if (defectLog.getDefect(d.number) == null)
defectLog.writeDefect(d);
}
Aggregations