Revision: 1290
          http://stripes.svn.sourceforge.net/stripes/?rev=1290&view=rev
Author:   bengunter
Date:     2010-09-29 16:23:29 +0000 (Wed, 29 Sep 2010)

Log Message:
-----------
STS-391: Removed duplicate log entry when a component renders to "" in 
toString(). The toString() calls write(), which logs it there so no need to log 
it again.

Modified Paths:
--------------
    
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentRenderer.java

Modified: 
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentRenderer.java
===================================================================
--- 
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentRenderer.java
  2010-09-29 04:06:51 UTC (rev 1289)
+++ 
branches/1.5.x/stripes/src/net/sourceforge/stripes/tag/layout/LayoutComponentRenderer.java
  2010-09-29 16:23:29 UTC (rev 1290)
@@ -192,13 +192,7 @@
         finally {
             log.debug("End stringify \"", componentName, "\" in ", 
context.getRenderPage(), " -> ",
                     context.getDefinitionPage());
-
             contents = context.getOut().closeBuffer(pageContext);
-            if ("".equals(contents)) {
-                log.debug("Component \"", componentName,
-                        "\" evaluated to empty string in context ", 
context.getRenderPage(),
-                        " -> ", context.getDefinitionPage());
-            }
         }
 
         return contents;


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

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to