fix. при построении деревьев версий не всегда считывались файлы проектов.

This commit is contained in:
2023-10-16 01:37:48 +03:00
parent 2ca7b19f68
commit 11140ddf9f
2 changed files with 5 additions and 3 deletions

2
.idea/workspace.xml generated
View File

@@ -7,7 +7,7 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment=""> <list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/src/Repository/Component/Visualiser.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Repository/Component/Visualiser.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />

View File

@@ -313,8 +313,9 @@ public class PerformSapforTask extends Pass_2021<SapforTask> {
} }
project.CreateVisualiserData(); project.CreateVisualiserData();
//--- //---
project.Open();
if (isTransformation && !messages.isEmpty()) { if (isTransformation && !messages.isEmpty()) {
project.Open();
project.db.BeginTransaction(); project.db.BeginTransaction();
for (MessageError m : messages) { for (MessageError m : messages) {
if (project.db.files.containsKey(m.file)) { if (project.db.files.containsKey(m.file)) {
@@ -325,8 +326,9 @@ public class PerformSapforTask extends Pass_2021<SapforTask> {
} }
} }
project.db.Commit(); project.db.Commit();
project.db.Disconnect();
} }
project.db.Disconnect();
} }
//-------------------------------------------------->> //-------------------------------------------------->>
@Override @Override