try to fix tests - disabling 2 that need investigation

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1902627 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
PJ Fanning 2022-07-10 11:21:21 +00:00
parent 0a283a36c8
commit 536537e360
1 changed files with 1 additions and 1 deletions

View File

@ -707,7 +707,7 @@ public final class HSSFCellStyle implements CellStyle, Duplicatable {
@Override
public void setFillForegroundColor(org.apache.poi.ss.usermodel.Color color)
{
if (color == null || color instanceof HSSFColor) {
if (color instanceof HSSFColor) {
short index2 = ((HSSFColor)color).getIndex2();
if (index2 != -1) setFillForegroundColor(index2);
} else if (color != null) {