++
завершено избавление от джсонов
This commit is contained in:
@@ -657,7 +657,7 @@ public class TestsDatabase extends SQLiteDatabase {
|
||||
//--
|
||||
public void Patch() throws Exception {
|
||||
/*
|
||||
Vector<DVMCompilationOptionsSet> sets = new Vector<>();
|
||||
Vector<DVMCompilationOptionsSet> sets1 = new Vector<>();
|
||||
for (DVMSettings dvm_settings : dvmSettings.Data.values()) {
|
||||
OptionsSetJson optionsSetJson = Utils_.gson.fromJson(dvm_settings.packedCompilationOptionsJson, OptionsSetJson.class);
|
||||
for (OptionsJson optionsJson : optionsSetJson.values) {
|
||||
@@ -666,11 +666,11 @@ public class TestsDatabase extends SQLiteDatabase {
|
||||
for (OptionJson optionJson : optionsJson.values) {
|
||||
set.options.add(new DVMCompilationOption(optionJson.name, optionJson.value));
|
||||
}
|
||||
sets.add(set);
|
||||
sets1.add(set);
|
||||
}
|
||||
}
|
||||
BeginTransaction();
|
||||
for (DVMCompilationOptionsSet set : sets) {
|
||||
for (DVMCompilationOptionsSet set : sets1) {
|
||||
Insert(set);
|
||||
|
||||
for (DVMCompilationOption option : set.options) {
|
||||
@@ -679,8 +679,6 @@ public class TestsDatabase extends SQLiteDatabase {
|
||||
}
|
||||
}
|
||||
Commit();
|
||||
*/
|
||||
/*
|
||||
Vector<DVMEnvironmentsSet> sets = new Vector<>();
|
||||
for (DVMSettings dvm_settings : dvmSettings.Data.values()) {
|
||||
EnvironmentsSetJson environmentsSetJson = Utils_.gson.fromJson(dvm_settings.packedRunEnvironmentValuesJson, EnvironmentsSetJson.class);
|
||||
@@ -702,7 +700,7 @@ public class TestsDatabase extends SQLiteDatabase {
|
||||
}
|
||||
}
|
||||
Commit();
|
||||
*/
|
||||
*/
|
||||
}
|
||||
public static String printOptionsLine(Vector<DVMCompilationOption> options) {
|
||||
Vector<String> res = new Vector<>();
|
||||
|
||||
Reference in New Issue
Block a user