You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2011/09/12 22:56:03 UTC

svn commit: r1169922 - /tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Tree.java

Author: hlship
Date: Mon Sep 12 20:56:03 2011
New Revision: 1169922

URL: http://svn.apache.org/viewvc?rev=1169922&view=rev
Log:
Remove temporary logging statements from Tree component, inadventently checked-in

Modified:
    tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Tree.java

Modified: tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Tree.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Tree.java?rev=1169922&r1=1169921&r2=1169922&view=diff
==============================================================================
--- tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Tree.java (original)
+++ tapestry/tapestry5/trunk/tapestry-core/src/main/java/org/apache/tapestry5/corelib/components/Tree.java Mon Sep 12 20:56:03 2011
@@ -27,7 +27,6 @@ import org.apache.tapestry5.runtime.Rend
 import org.apache.tapestry5.runtime.RenderQueue;
 import org.apache.tapestry5.services.javascript.JavaScriptSupport;
 import org.apache.tapestry5.tree.*;
-import org.slf4j.Logger;
 
 import java.util.List;
 
@@ -129,9 +128,6 @@ public class Tree
         }
     };
 
-    @Inject
-    private Logger logger;
-
     /**
      * Renders a single node (which may be the last within its containing node).
      * This is a mix of immediate rendering, and queuing up various Blocks and Render commands
@@ -174,10 +170,6 @@ public class Tree
 
                 e.attribute("id", clientId);
 
-                logger.info(String.format("Selection model for %s is %s.",
-                        resources.getCompleteId(),
-                        selectionModel));
-
                 spec.put("leaf", node.isLeaf());
 
                 if (hasChildren)
@@ -206,11 +198,6 @@ public class Tree
                         {
                             spec.put("selected", true);
                         }
-
-                        logger.info(String.format("%s rendered node %s as selectable", resources.getCompleteId(), node.getId()));
-                    } else
-                    {
-                        logger.info(String.format("%s rendered node %s as NOT selectable", resources.getCompleteId(), node.getId()));
                     }
                 }