[seam-commits] Seam SVN: r8655 - trunk/src/excel/org/jboss/seam/excel/jxl.

seam-commits at lists.jboss.org seam-commits at lists.jboss.org
Mon Aug 11 15:45:50 EDT 2008


Author: nickarls
Date: 2008-08-11 15:45:50 -0400 (Mon, 11 Aug 2008)
New Revision: 8655

Modified:
   trunk/src/excel/org/jboss/seam/excel/jxl/JXLTemplates.java
Log:
JBSEAM-3235. Fixed. Again. Minor typo also corrected.

Modified: trunk/src/excel/org/jboss/seam/excel/jxl/JXLTemplates.java
===================================================================
--- trunk/src/excel/org/jboss/seam/excel/jxl/JXLTemplates.java	2008-08-11 19:43:40 UTC (rev 8654)
+++ trunk/src/excel/org/jboss/seam/excel/jxl/JXLTemplates.java	2008-08-11 19:45:50 UTC (rev 8655)
@@ -184,7 +184,7 @@
          worksheetTemplates.put(template.getName(), (UIWorksheetTemplate) template);
          break;
       default:
-         throw new ExcelWorkbookException(Interpolator.instance().interpolate("Uknown template type {0}", template.getType()));
+         throw new ExcelWorkbookException(Interpolator.instance().interpolate("Unknown template type {0}", template.getType()));
       }
    }
 
@@ -207,9 +207,7 @@
             if (cellTemplate == null)
             {
                String validNames = getValidTemplateNames(cellTemplates.keySet());
-               if (!"".equals(validNames)) {
-                  log.warn(Interpolator.instance().interpolate("Could not find cell template {0}, try {1}", templateName, validNames));
-               }
+               log.trace(Interpolator.instance().interpolate("Could not find cell template {0}, try {1}", templateName, validNames));
             }
             else
             {




More information about the seam-commits mailing list