aboutsummaryrefslogtreecommitdiffstats
path: root/src/testcases/org/apache/poi/hssf/util
diff options
context:
space:
mode:
authorJaven O'Neal <onealj@apache.org>2016-06-24 21:39:44 +0000
committerJaven O'Neal <onealj@apache.org>2016-06-24 21:39:44 +0000
commitb849a0c1623e74751302534f92fa8aac24fd1961 (patch)
tree9aff411dfa81dd7bd03be2b818a1d012439eaaee /src/testcases/org/apache/poi/hssf/util
parent2ca32da0459b41502b132ae4aa1ad099a86135a4 (diff)
downloadpoi-b849a0c1623e74751302534f92fa8aac24fd1961.tar.gz
poi-b849a0c1623e74751302534f92fa8aac24fd1961.zip
bug 59748: replace Hashtable with HashMap; contributed by Axel Howind
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750168 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/testcases/org/apache/poi/hssf/util')
-rw-r--r--src/testcases/org/apache/poi/hssf/util/TestHSSFColor.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testcases/org/apache/poi/hssf/util/TestHSSFColor.java b/src/testcases/org/apache/poi/hssf/util/TestHSSFColor.java
index d93f5d7b08..319a7449ec 100644
--- a/src/testcases/org/apache/poi/hssf/util/TestHSSFColor.java
+++ b/src/testcases/org/apache/poi/hssf/util/TestHSSFColor.java
@@ -17,7 +17,7 @@
package org.apache.poi.hssf.util;
-import java.util.Hashtable;
+import java.util.Map;
import junit.framework.TestCase;
/**
@@ -40,7 +40,7 @@ public final class TestHSSFColor extends TestCase {
}
public void testTrippletHash() {
- Hashtable tripplets = HSSFColor.getTripletHash();
+ Map<String, HSSFColor> tripplets = HSSFColor.getTripletHash();
assertEquals(
HSSFColor.MAROON.class,