Revision: 454
          http://svn.sourceforge.net/stripes/?rev=454&view=rev
Author:   tfenne
Date:     2006-10-25 18:11:45 -0700 (Wed, 25 Oct 2006)

Log Message:
-----------
Merge of fix for STS-294: HtmlTagSupportBeanInfo using commons logging instead 
of stripes' Log

Modified Paths:
--------------
    
branches/1.4.x/stripes/src/net/sourceforge/stripes/tag/HtmlTagSupportBeanInfo.java

Modified: 
branches/1.4.x/stripes/src/net/sourceforge/stripes/tag/HtmlTagSupportBeanInfo.java
===================================================================
--- 
branches/1.4.x/stripes/src/net/sourceforge/stripes/tag/HtmlTagSupportBeanInfo.java
  2006-10-26 01:10:15 UTC (rev 453)
+++ 
branches/1.4.x/stripes/src/net/sourceforge/stripes/tag/HtmlTagSupportBeanInfo.java
  2006-10-26 01:11:45 UTC (rev 454)
@@ -14,13 +14,13 @@
  */
 package net.sourceforge.stripes.tag;
 
-import org.apache.commons.logging.LogFactory;
+import net.sourceforge.stripes.util.Log;
 
-import java.beans.SimpleBeanInfo;
 import java.beans.PropertyDescriptor;
+import java.beans.SimpleBeanInfo;
+import java.lang.reflect.Method;
 import java.util.ArrayList;
 import java.util.List;
-import java.lang.reflect.Method;
 
 /**
  * <p>Descirbes the properties supported by the HtmlTagSupport class which is 
the parent of all the
@@ -34,6 +34,7 @@
  * @author Tim Fennell
  */
 public class HtmlTagSupportBeanInfo extends SimpleBeanInfo {
+    private static final Log log = 
Log.getInstance(HtmlTagSupportBeanInfo.class);
 
     /**
      * Generates a simple set of PropertyDescriptors for the HtmlTagSupport 
class.
@@ -75,9 +76,7 @@
         }
         catch (Exception e) {
             // This is crazy talk, we're only doing things that should always 
succeed
-            LogFactory.getLog(HtmlTagSupportBeanInfo.class).fatal
-                ("Could not contruct bean info for HtmlTagSupport. This is 
very bad.", e);
-
+            log.fatal(e, "Could not contruct bean info for HtmlTagSupport. 
This is very bad.");
             return null;
         }
     }


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to