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: [email protected] For additional commands, e-mail: [email protected]
