You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: drivers/mock/org.kubi.driver.smartcampus/src/main/java/org/kubi/driver/mock/smartcampus/SmartCampusPlugin.java
Copy file name to clipboardexpand all lines: drivers/zwave/org.kubi.driver.zwave.productstore/src/main/resources/org.kubi.driver.zwave.productstore-all.js
+40-14
Original file line number
Diff line number
Diff line change
@@ -2417,23 +2417,40 @@ var org;
2417
2417
};
2418
2418
KCacheLayer.prototype.insert = function (p_key, current, p_obj_insert) {
2419
2419
if (current == org.kevoree.modeling.api.KConfig.KEY_SIZE - 1) {
2420
-
if (this._cachedObjects == null) {
2421
-
this._cachedObjects = new org.kevoree.modeling.api.map.LongHashMap(org.kevoree.modeling.api.KConfig.CACHE_INIT_SIZE, org.kevoree.modeling.api.KConfig.CACHE_LOAD_FACTOR);
this._nestedLayers = new org.kevoree.modeling.api.map.LongHashMap(org.kevoree.modeling.api.KConfig.CACHE_INIT_SIZE, org.kevoree.modeling.api.KConfig.CACHE_LOAD_FACTOR);
2424
+
this.private_nestedLayers_init();
2428
2425
}
2429
2426
var previousLayer = this._nestedLayers.get(p_key.part(current));
2430
-
if (previousLayer == null) {
2431
-
previousLayer = new org.kevoree.modeling.api.data.cache.KCacheLayer();
previousLayer.insert(p_key, current + 1, p_obj_insert);
2435
2433
}
2436
2434
};
2435
+
KCacheLayer.prototype.private_insert_object = function (p_key, current, p_obj_insert) {
2436
+
if (this._cachedObjects == null) {
2437
+
this._cachedObjects = new org.kevoree.modeling.api.map.LongHashMap(org.kevoree.modeling.api.KConfig.CACHE_INIT_SIZE, org.kevoree.modeling.api.KConfig.CACHE_LOAD_FACTOR);
KCacheLayer.prototype.private_nestedLayers_init = function () {
2442
+
if (this._nestedLayers == null) {
2443
+
this._nestedLayers = new org.kevoree.modeling.api.map.LongHashMap(org.kevoree.modeling.api.KConfig.CACHE_INIT_SIZE, org.kevoree.modeling.api.KConfig.CACHE_LOAD_FACTOR);
2444
+
}
2445
+
};
2446
+
KCacheLayer.prototype.private_insert_nested = function (p_key, current, p_obj_insert) {
2447
+
var previousLayer = this._nestedLayers.get(p_key.part(current));
2448
+
if (previousLayer == null) {
2449
+
previousLayer = new org.kevoree.modeling.api.data.cache.KCacheLayer();
0 commit comments