From 7b08adece833c9ec5bdc263433039f14b3bebf7e Mon Sep 17 00:00:00 2001 From: Nick Burch Date: Fri, 18 Feb 2011 17:41:17 +0000 Subject: [PATCH] Fix generics warnings git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1072080 13f79535-47bb-0310-9956-ffa450edef68 --- src/java/org/apache/poi/hssf/util/HSSFColor.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/java/org/apache/poi/hssf/util/HSSFColor.java b/src/java/org/apache/poi/hssf/util/HSSFColor.java index b640b37e1c..bca0047dc3 100644 --- a/src/java/org/apache/poi/hssf/util/HSSFColor.java +++ b/src/java/org/apache/poi/hssf/util/HSSFColor.java @@ -53,14 +53,14 @@ public class HSSFColor implements Color { * * @return a hashtable containing all colors keyed by Integer excel-style palette indexes */ - public final static Hashtable getIndexHash() { + public final static Hashtable getIndexHash() { return createColorsByIndexMap(); } - private static Hashtable createColorsByIndexMap() { + private static Hashtable createColorsByIndexMap() { HSSFColor[] colors = getAllColors(); - Hashtable result = new Hashtable(colors.length * 3 / 2); + Hashtable result = new Hashtable(colors.length * 3 / 2); for (int i = 0; i < colors.length; i++) { HSSFColor color = colors[i]; @@ -142,14 +142,14 @@ public class HSSFColor implements Color { * * @return a hashtable containing all colors keyed by String gnumeric-like triplets */ - public final static Hashtable getTripletHash() + public final static Hashtable getTripletHash() { return createColorsByHexStringMap(); } - private static Hashtable createColorsByHexStringMap() { + private static Hashtable createColorsByHexStringMap() { HSSFColor[] colors = getAllColors(); - Hashtable result = new Hashtable(colors.length * 3 / 2); + Hashtable result = new Hashtable(colors.length * 3 / 2); for (int i = 0; i < colors.length; i++) { HSSFColor color = colors[i]; -- 2.39.5