You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ce...@apache.org on 2019/10/26 05:26:44 UTC

svn commit: r1868980 - /poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java

Author: centic
Date: Sat Oct 26 05:26:44 2019
New Revision: 1868980

URL: http://svn.apache.org/viewvc?rev=1868980&view=rev
Log:
Adjust an error message slightly

Modified:
    poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java

Modified: poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java?rev=1868980&r1=1868979&r2=1868980&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java (original)
+++ poi/trunk/src/java/org/apache/poi/hssf/model/InternalWorkbook.java Sat Oct 26 05:26:44 2019
@@ -447,8 +447,7 @@ public final class InternalWorkbook {
         }
         if (index > (numfonts - 1)) {
             throw new ArrayIndexOutOfBoundsException(
-            "There are only " + numfonts
-            + " font records, you asked for " + idx);
+            "There are only " + numfonts + " font records, but you asked for index " + idx);
         }
 
         return ( FontRecord ) records.get((records.getFontpos() - (numfonts - 1)) + index);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org