исправление бага с кешированием.
This commit is contained in:
@@ -16,14 +16,10 @@ public class ConfigurationCache extends VisualCache{
|
||||
public TestsJson testsJson = null;
|
||||
//--
|
||||
public ConfigurationCache(Configuration configuration) {
|
||||
// System.out.println("configuration cache new instance for "+configuration.id);
|
||||
// System.out.println("packageGroupsJson="+Utils.Brackets(configuration.packedGroupsJson));
|
||||
if (configuration.packedGroupsJson.isEmpty()) {
|
||||
// System.out.println("empty");
|
||||
groupsJson = new GroupsJson(); //просто пустой
|
||||
}
|
||||
else {
|
||||
// System.out.println("not empty");
|
||||
groupsJson = Utils.gson.fromJson(configuration.packedGroupsJson, GroupsJson.class);
|
||||
}
|
||||
//--
|
||||
|
||||
Reference in New Issue
Block a user