Author: nbelaevski
Date: 2008-06-26 18:26:59 -0400 (Thu, 26 Jun 2008)
New Revision: 9256
Modified:
trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java
Log:
Small optimization
Modified:
trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java
===================================================================
---
trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java 2008-06-26
18:13:32 UTC (rev 9255)
+++
trunk/ui/modal-panel/src/main/java/org/richfaces/renderkit/ModalPanelRendererBase.java 2008-06-26
22:26:59 UTC (rev 9256)
@@ -68,7 +68,7 @@
if (panel.isKeepVisualState()) {
if (null != clnId) {
- panel.setShowWhenRendered(new Boolean((String) clnId).booleanValue());
+ panel.setShowWhenRendered(Boolean.parseBoolean((String) clnId));
Map<String, Object> visualOptions = (Map<String, Object>)
panel.getVisualOptions();
Iterator<Entry<String, String>> it = rqMap.entrySet().iterator();
Show replies by date