Fix inconsistent logging statement

The conditions check for max, but the logging was copy/pasted and still uses the minimum.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1886089 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Marius Volkhart 2021-02-01 01:02:26 +00:00
parent e367148e09
commit 7a0cc6e7e5
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ public final class DataBarFormatting implements Duplicatable, GenericRecord {
if (percentMin < 0 || percentMin > 100)
LOG.log(POILogger.WARN, "Inconsistent Minimum Percentage found " + percentMin);
if (percentMax < 0 || percentMax > 100)
LOG.log(POILogger.WARN, "Inconsistent Minimum Percentage found " + percentMin);
LOG.log(POILogger.WARN, "Inconsistent Maximum Percentage found " + percentMax);
color = new ExtendedColor(in);
thresholdMin = new DataBarThreshold(in);