You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2006/10/06 21:32:01 UTC

svn commit: r453739 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/ToggleOutputLinkRenderer.java

Author: werpu
Date: Fri Oct  6 12:32:01 2006
New Revision: 453739

URL: http://svn.apache.org/viewvc?view=rev&rev=453739
Log:
killed static log ref antipattern

Modified:
    myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/ToggleOutputLinkRenderer.java

Modified: myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/ToggleOutputLinkRenderer.java
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/ToggleOutputLinkRenderer.java?view=diff&rev=453739&r1=453738&r2=453739
==============================================================================
--- myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/ToggleOutputLinkRenderer.java (original)
+++ myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/ToggleOutputLinkRenderer.java Fri Oct  6 12:32:01 2006
@@ -36,7 +36,6 @@
 {
     public static final int DEFAULT_MAX_SUGGESTED_ITEMS = 200;
  
-    private static Log log = LogFactory.getLog(ToggleOutputLinkRenderer.class);
         
     
     public void encodeEnd(FacesContext context, UIComponent component) throws IOException
@@ -107,6 +106,7 @@
     		
     		if (component == null) 
     		{
+                Log log = LogFactory.getLog(ToggleOutputLinkRenderer.class);
     			log.error("Unable to find component with id " + componentId);
     			continue;
     		}