private static void importTaskDepends(DBControl dbc, Map<GanttTask, WorkPackage> matchList, ImportInfo info) {
Logic.lockReading();
try {
for (GanttTask t : matchList.keySet()) {
for (GanttTask dep : t.getDepends()) {
WPDRData data = new WPDRData();
data.dependency = matchList.get(dep).getId();
data.successor = matchList.get(t).getId();
if (!dbc.existsRelation(new WorkPackageDependsRelation(dbc, data))) {
//matchList.get(t).getDependency(matchList.get(dep).getId());
matchList.get(t).linkDependency(matchList.get(dep));