You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ma...@apache.org on 2021/02/01 01:02:26 UTC
svn commit: r1886089 -
/poi/trunk/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java
Author: mariusvolkhart
Date: Mon Feb 1 01:02:26 2021
New Revision: 1886089
URL: http://svn.apache.org/viewvc?rev=1886089&view=rev
Log:
Fix inconsistent logging statement
The conditions check for max, but the logging was copy/pasted and still uses the minimum.
Modified:
poi/trunk/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java
Modified: poi/trunk/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java?rev=1886089&r1=1886088&r2=1886089&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/record/cf/DataBarFormatting.java Mon Feb 1 01:02:26 2021
@@ -73,7 +73,7 @@ public final class DataBarFormatting imp
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);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org