добавление учета пробелов в сравнение
This commit is contained in:
2025-07-13 19:33:57 +03:00
parent 6263934cbb
commit c5cd8113c0
29 changed files with 158 additions and 238 deletions

View File

@@ -673,7 +673,7 @@ public class TestsDatabase extends SQLiteDatabase {
Vector<DVMCompilationOptionsSet> optionsSets = getVectorByFK(dvmSettings_in, DVMCompilationOptionsSet.class);
Vector<DVMEnvironmentsSet> environmentsSets = getVectorByFK(dvmSettings_in, DVMEnvironmentsSet.class);
//----
if (optionsSets.isEmpty() && environmentsSets.isEmpty()){
if (optionsSets.isEmpty() && environmentsSets.isEmpty()) {
return res;
}
int size_ = Math.min(optionsSets.size(), environmentsSets.size());
@@ -687,14 +687,14 @@ public class TestsDatabase extends SQLiteDatabase {
environmentsLine));
}
//дополнения
if (optionsSets.size()<environmentsSets.size()){
if (optionsSets.size() < environmentsSets.size()) {
for (int i = optionsSets.size(); i < environmentsSets.size(); ++i) {
res.add(new Pair<>(
"",
printEnvironmentsLine(getVectorByFK(environmentsSets.get(i), DVMEnvironment.class))
));
}
}else {
} else {
if (optionsSets.size() > environmentsSets.size()) {
for (int i = environmentsSets.size(); i < optionsSets.size(); ++i) {
res.add(new Pair<>(