Author: nbelaevski
Date: 2008-03-28 06:25:20 -0400 (Fri, 28 Mar 2008)
New Revision: 7351
Modified:
trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
Log:
http://jira.jboss.com/jira/browse/RF-2285
Modified: trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java
===================================================================
--- trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2008-03-28
09:22:32 UTC (rev 7350)
+++ trunk/ui/tree/src/main/java/org/richfaces/renderkit/NodeRendererBase.java 2008-03-28
10:25:20 UTC (rev 7351)
@@ -118,8 +118,7 @@
UITree tree = treeNode.getUITree();
if (tree.isShowConnectingLines()) {
- if (((Boolean) (treeNode.getAttributes().get("isLastElement")))
- .booleanValue()) {
+ if (Boolean.TRUE.equals(treeNode.getAttributes().get("isLastElement"))) {
variables.setVariable("line", "dr-tree-h-ic-line-last");
} else {
variables.setVariable("line", "dr-tree-h-ic-line-node");