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
{
Show replies by date