no message
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
package _VisualDVM.ProjectData.SapforData.Variants;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import _VisualDVM.Visual.UI;
|
||||
import _VisualDVM.ProjectData.PredictorStatistic.PredictorStatistics_2021;
|
||||
import _VisualDVM.ProjectData.Project.db_project_info;
|
||||
import _VisualDVM.ProjectData.SapforData.Arrays.ProjectArray;
|
||||
import _VisualDVM.ProjectData.SapforData.Regions.ParallelRegion;
|
||||
import _VisualDVM.Visual.UI;
|
||||
import javafx.util.Pair;
|
||||
|
||||
import java.io.File;
|
||||
@@ -21,6 +21,7 @@ public class ParallelVariant extends DBObject {
|
||||
public PredictorStatistics_2021 stats = null;
|
||||
public Vector<String> templates_description = new Vector<>();
|
||||
public LinkedHashMap<Pair<BigInteger, BigInteger>, Long> key = new LinkedHashMap<>();
|
||||
public File project = null;
|
||||
public ParallelVariant(db_project_info father_in, Vector<BigInteger> vector) {
|
||||
father = father_in;
|
||||
UniqKey = "";
|
||||
@@ -71,7 +72,6 @@ public class ParallelVariant extends DBObject {
|
||||
public String getDescription() {
|
||||
return String.join(";", templates_description);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Object getPK() {
|
||||
return UniqKey;
|
||||
@@ -81,9 +81,8 @@ public class ParallelVariant extends DBObject {
|
||||
super.Select(flag);
|
||||
UI.getVersionsWindow().getVariantsWindow().ShowCheckedVariantsCount();
|
||||
}
|
||||
public File project = null;
|
||||
public File restoreProject() {
|
||||
project=null;
|
||||
project = null;
|
||||
if (stats != null) {
|
||||
if (stats.last_version.isEmpty()) return null;
|
||||
project = Paths.get(father.Home.getAbsolutePath(), stats.last_version).toFile();
|
||||
|
||||
Reference in New Issue
Block a user