You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/04/16 14:24:15 UTC

svn commit: r765598 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java

Author: lofwyr
Date: Thu Apr 16 12:24:15 2009
New Revision: 765598

URL: http://svn.apache.org/viewvc?rev=765598&view=rev
Log:
better error message

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java?rev=765598&r1=765597&r2=765598&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/renderkit/html/HtmlStyleMap.java Thu Apr 16 12:24:15 2009
@@ -38,7 +38,7 @@
     if (o instanceof String && (s.equals("height") || s.equals("width"))) {
       String str = (String) o;
       if (str.endsWith("px")) {
-        LOG.error("", new Exception());
+        LOG.error("width or height should not end with 'px'. Will ignored.", new Exception());
         o = Integer.parseInt(str.substring(0, str.length() - 2));
       }
     }