summaryrefslogtreecommitdiff
path: root/js/src/Ice/LocatorManager.js
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-10-23 17:40:46 +0200
committerJose <jose@zeroc.com>2014-10-23 17:40:46 +0200
commitc159f0ba2a4320883d70695ed50f5499c3ec18bd (patch)
tree89401fbe9a877844b972ebdab438bd472c58ddfc /js/src/Ice/LocatorManager.js
parentICE-5772 Remove .depend folder on make clean (diff)
downloadice-c159f0ba2a4320883d70695ed50f5499c3ec18bd.tar.bz2
ice-c159f0ba2a4320883d70695ed50f5499c3ec18bd.tar.xz
ice-c159f0ba2a4320883d70695ed50f5499c3ec18bd.zip
Fixed (ICE-5768) - JavaScript HashMap improvement
Diffstat (limited to 'js/src/Ice/LocatorManager.js')
-rw-r--r--js/src/Ice/LocatorManager.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/src/Ice/LocatorManager.js b/js/src/Ice/LocatorManager.js
index c0a3b27e49d..e261c86c927 100644
--- a/js/src/Ice/LocatorManager.js
+++ b/js/src/Ice/LocatorManager.js
@@ -27,10 +27,8 @@ var LocatorManager = Ice.Class({
{
this._background = properties.getPropertyAsInt("Ice.BackgroundLocatorCacheUpdates") > 0;
- this._table = new HashMap(); // Map<Ice.LocatorPrx, LocatorInfo>
- this._table.keyComparator = HashMap.compareEquals;
- this._locatorTables = new HashMap(); // Map<Ice.Identity, LocatorTable>
- this._locatorTables.keyComparator = HashMap.compareEquals;
+ this._table = new HashMap(HashMap.compareEquals); // Map<Ice.LocatorPrx, LocatorInfo>
+ this._locatorTables = new HashMap(HashMap.compareEquals); // Map<Ice.Identity, LocatorTable>
},
destroy: function()
{