myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r453739 - /myfaces/tomahawk/trunk/sandbox/core/src/main/java/org/apache/myfaces/custom/toggle/ToggleOutputLinkRenderer.java
Date Fri, 06 Oct 2006 19:32:01 GMT
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;
     		}



Mime
View raw message