<!-- Don't forget to update status.xml too! -->
<release version="3.1.1-alpha1" date="2008-??-??">
+ <action dev="POI-DEVELOPERS" type="fix">45336 - Fix HSSFColor.getTripletHash()</action>
<action dev="POI-DEVELOPERS" type="fix">45334 - Fixed formula parser to handle dots in identifiers</action>
<action dev="POI-DEVELOPERS" type="fix">45252 - Improvement for HWPF Range.replaceText()</action>
<action dev="POI-DEVELOPERS" type="fix">45001 - Further fix for HWPF Range.delete() and unicode characters</action>
<!-- Don't forget to update changes.xml too! -->
<changes>
<release version="3.1.1-alpha1" date="2008-??-??">
+ <action dev="POI-DEVELOPERS" type="fix">45336 - Fix HSSFColor.getTripletHash()</action>
<action dev="POI-DEVELOPERS" type="fix">45334 - Fixed formula parser to handle dots in identifiers</action>
<action dev="POI-DEVELOPERS" type="fix">45252 - Improvement for HWPF Range.replaceText()</action>
<action dev="POI-DEVELOPERS" type="fix">45001 - Further fix for HWPF Range.delete() and unicode characters</action>
String hexString = color.getHexString();
if (result.containsKey(hexString)) {
- throw new RuntimeException("Dup color hexString (" + hexString
- + ") for color (" + color.getClass().getName() + ")");
+ HSSFColor other = (HSSFColor)result.get(hexString);
+ throw new RuntimeException(
+ "Dup color hexString (" + hexString
+ + ") for color (" + color.getClass().getName() + ") - "
+ + " already taken by (" + other.getClass().getName() + ")"
+ );
}
result.put(hexString, color);
}
public final static short index = 0x19;
public final static short[] triplet =
{
- 153, 51, 102
+ 127, 0, 0
};
- public final static String hexString = "9999:3333:6666";
+ public final static String hexString = "8000:0:0";
public short getIndex()
{