[seam-commits] Seam SVN: r14166 - branches/community/Seam_2_3/jboss-seam-excel/src/main/java/org/jboss/seam/excel/jxl.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Sep 5 08:27:11 EDT 2011


Author: manaRH
Date: 2011-09-05 08:27:11 -0400 (Mon, 05 Sep 2011)
New Revision: 14166

Modified:
   branches/community/Seam_2_3/jboss-seam-excel/src/main/java/org/jboss/seam/excel/jxl/JXLExcelWorkbook.java
Log:
JBSEAM-4814 - fixed exception message for reaching MAX_ROWS

Modified: branches/community/Seam_2_3/jboss-seam-excel/src/main/java/org/jboss/seam/excel/jxl/JXLExcelWorkbook.java
===================================================================
--- branches/community/Seam_2_3/jboss-seam-excel/src/main/java/org/jboss/seam/excel/jxl/JXLExcelWorkbook.java	2011-09-05 12:26:39 UTC (rev 14165)
+++ branches/community/Seam_2_3/jboss-seam-excel/src/main/java/org/jboss/seam/excel/jxl/JXLExcelWorkbook.java	2011-09-05 12:27:11 UTC (rev 14166)
@@ -128,7 +128,7 @@
         currentRowIndex++;
         if (currentRowIndex >= MAX_ROWS) {
             throw new ExcelWorkbookException(Interpolator.instance()
-                    .interpolate("Excel only supports {0} rows", MAX_COLUMNS));
+                    .interpolate("Excel only supports {0} rows", MAX_ROWS));
         }
     }
 



More information about the seam-commits mailing list