aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/hssf
diff options
context:
space:
mode:
authorMarius Volkhart <mariusvolkhart@apache.org>2021-02-01 01:02:26 +0000
committerMarius Volkhart <mariusvolkhart@apache.org>2021-02-01 01:02:26 +0000
commit7a0cc6e7e58f49c28b129057d03daf7ac33c4334 (patch)
treee1ce20591cdfd6c4554f3ce7d6500b32bba683be /src/java/org/apache/poi/hssf
parente367148e09cbbb61e5b48b5deacdf85b5096d1cc (diff)
downloadpoi-7a0cc6e7e58f49c28b129057d03daf7ac33c4334.tar.gz
poi-7a0cc6e7e58f49c28b129057d03daf7ac33c4334.zip
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
Diffstat (limited to 'src/java/org/apache/poi/hssf')
-rw-r--r--src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java b/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java
index b6c286fa6b..7dd3fa0ffb 100644
--- a/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java
+++ b/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java
@@ -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);