From a6a95f93dd11c3fde33982303231fe357c6c0e8b Mon Sep 17 00:00:00 2001 From: villberg Date: Sat, 18 Oct 2014 19:01:00 +0000 Subject: [PATCH] (refs #5418) Replace uses of HashMap with THashMap git-svn-id: https://www.simantics.org/svn/simantics/sysdyn/trunk@30450 ac1ea38d-2e2b-0410-8846-a27921b304fc --- .../src/org/simantics/sysdyn/adapter/VariableRVIUtils.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/VariableRVIUtils.java b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/VariableRVIUtils.java index 7b6a68bc..5ba16968 100644 --- a/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/VariableRVIUtils.java +++ b/org.simantics.sysdyn/src/org/simantics/sysdyn/adapter/VariableRVIUtils.java @@ -11,10 +11,13 @@ *******************************************************************************/ package org.simantics.sysdyn.adapter; +import gnu.trove.map.hash.THashMap; + import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedHashMap; import java.util.List; +import java.util.Map; import org.simantics.databoard.Bindings; import org.simantics.db.ReadGraph; @@ -244,7 +247,7 @@ public class VariableRVIUtils { String currentFilter = filter[i].trim(); ArrayList tempResult = new ArrayList(); - HashMap sums = new HashMap(); + Map sums = new THashMap(); for(SysdynDataSet dataset : result) { String tempIndexes = dataset.name.substring(dataset.name.indexOf('[') + 1, dataset.name.indexOf(']')); String[] indexes = tempIndexes.split(","); -- 2.47.1