From 9fda5bc99b81017a30476bfc103ee48497bb6f8f Mon Sep 17 00:00:00 2001 From: Artur Signell Date: Thu, 22 Mar 2012 13:57:59 +0200 Subject: [PATCH] KeyMapper now uses HashMap instead of Hashtable internally - fixed test --- .../server-side/com/vaadin/tests/server/TestKeyMapper.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/server-side/com/vaadin/tests/server/TestKeyMapper.java b/tests/server-side/com/vaadin/tests/server/TestKeyMapper.java index ca8ec763c2..4f5f0b1431 100644 --- a/tests/server-side/com/vaadin/tests/server/TestKeyMapper.java +++ b/tests/server-side/com/vaadin/tests/server/TestKeyMapper.java @@ -1,7 +1,7 @@ package com.vaadin.tests.server; import java.lang.reflect.Field; -import java.util.Hashtable; +import java.util.HashMap; import junit.framework.TestCase; @@ -89,8 +89,8 @@ public class TestKeyMapper extends TestCase { f1.setAccessible(true); f2.setAccessible(true); - Hashtable h1 = (Hashtable) f1.get(mapper); - Hashtable h2 = (Hashtable) f2.get(mapper); + HashMap h1 = (HashMap) f1.get(mapper); + HashMap h2 = (HashMap) f2.get(mapper); assertEquals(i, h1.size()); assertEquals(i, h2.size()); -- 2.39.5