Author: nbelaevski
Date: 2008-06-26 18:28:11 -0400 (Thu, 26 Jun 2008)
New Revision: 9257
Modified:
trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java
Log:
Small optimization
Modified: trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java
===================================================================
---
trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java 2008-06-26
22:26:59 UTC (rev 9256)
+++
trunk/ui/panelmenu/src/main/java/org/richfaces/component/UIPanelMenuGroup.java 2008-06-26
22:28:11 UTC (rev 9257)
@@ -84,7 +84,7 @@
return false;
}
if(value instanceof String){
- value = new Boolean((String)value);
+ value = Boolean.valueOf((String) value);
}
return ((Boolean)value).booleanValue();
Show replies by date