bug 60787: remove calls to System.out.println. Thanks to Kamile Demirel.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1785185 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Javen O'Neal 2017-03-02 18:47:28 +00:00
parent 31dd2885dd
commit 5b879942fc

View File

@ -522,7 +522,6 @@ public final class CellUtil {
log.log(POILogger.WARN, "Deprecation warning: CellUtil properties map uses Short values for " log.log(POILogger.WARN, "Deprecation warning: CellUtil properties map uses Short values for "
+ name + ". Should use BorderStyle enums instead."); + name + ". Should use BorderStyle enums instead.");
} }
System.out.println("BorderStyle short usage");
short code = ((Short) value).shortValue(); short code = ((Short) value).shortValue();
border = BorderStyle.valueOf(code); border = BorderStyle.valueOf(code);
} }
@ -555,7 +554,6 @@ public final class CellUtil {
log.log(POILogger.WARN, "Deprecation warning: CellUtil properties map uses Short values for " log.log(POILogger.WARN, "Deprecation warning: CellUtil properties map uses Short values for "
+ name + ". Should use FillPatternType enums instead."); + name + ". Should use FillPatternType enums instead.");
} }
System.out.println("FillPatternType short usage");
short code = ((Short) value).shortValue(); short code = ((Short) value).shortValue();
pattern = FillPatternType.forInt(code); pattern = FillPatternType.forInt(code);
} }
@ -588,7 +586,6 @@ public final class CellUtil {
log.log(POILogger.WARN, "Deprecation warning: CellUtil properties map used a Short value for " log.log(POILogger.WARN, "Deprecation warning: CellUtil properties map used a Short value for "
+ name + ". Should use HorizontalAlignment enums instead."); + name + ". Should use HorizontalAlignment enums instead.");
} }
System.out.println("HorizontalAlignment short usage");
short code = ((Short) value).shortValue(); short code = ((Short) value).shortValue();
align = HorizontalAlignment.forInt(code); align = HorizontalAlignment.forInt(code);
} }
@ -621,7 +618,6 @@ public final class CellUtil {
log.log(POILogger.WARN, "Deprecation warning: CellUtil properties map used a Short value for " log.log(POILogger.WARN, "Deprecation warning: CellUtil properties map used a Short value for "
+ name + ". Should use VerticalAlignment enums instead."); + name + ". Should use VerticalAlignment enums instead.");
} }
System.out.println("VerticalAlignment usage " + name + " " + value);
short code = ((Short) value).shortValue(); short code = ((Short) value).shortValue();
align = VerticalAlignment.forInt(code); align = VerticalAlignment.forInt(code);
} }