Kaydet (Commit) e92d3e90 authored tarafından Noel Grandin's avatar Noel Grandin

java: scripting: fix bug in removing model from map

found by PMD

Change-Id: I4bd35dd30f6c77aad96932216d8459b812004a88
üst 3090d96f
...@@ -181,7 +181,7 @@ public class XStorageHelper implements XEventListener { ...@@ -181,7 +181,7 @@ public class XStorageHelper implements XEventListener {
if (model != null) { if (model != null) {
LogUtils.DEBUG(" Disposing doc " + model.getURL()); LogUtils.DEBUG(" Disposing doc " + model.getURL());
modelMap.remove(model); modelMap.remove(PathUtils.getOidForModel(model));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment