You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2008/11/12 16:28:20 UTC
svn commit: r713401 -
/myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java
Author: bommel
Date: Wed Nov 12 07:28:20 2008
New Revision: 713401
URL: http://svn.apache.org/viewvc?rev=713401&view=rev
Log:
avoid unneeded warn messages
Modified:
myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java
Modified: myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java?rev=713401&r1=713400&r2=713401&view=diff
==============================================================================
--- myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java (original)
+++ myfaces/tobago/trunk/theme/standard/src/main/java/org/apache/myfaces/tobago/renderkit/util/RenderUtil.java Wed Nov 12 07:28:20 2008
@@ -177,7 +177,9 @@
try {
defaultCharWidth = ThemeConfig.getValue(facesContext, component, "fontWidth");
} catch (NullPointerException e) {
- LOG.warn("no value for \"fontWidth\" found in theme-config");
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("no value for \"fontWidth\" found in theme-config");
+ }
}
String fontWidths = ResourceManagerUtil.getProperty(facesContext, "tobago", "tobago.font2.widths");
@@ -202,7 +204,9 @@
try {
defaultCharWidth = ThemeConfig.getValue(facesContext, component, "fontWidth");
} catch (NullPointerException e) {
- LOG.warn("no value for \"fontWidth\" found in theme-config");
+ if (LOG.isDebugEnabled()) {
+ LOG.debug("no value for \"fontWidth\" found in theme-config");
+ }
}
String fontWidths = ResourceManagerUtil.getProperty(facesContext, "tobago", "tobago.font.widths");