++
добавление учета пробелов в сравнение
This commit is contained in:
@@ -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<>(
|
||||
|
||||
Reference in New Issue
Block a user