myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mmarinsc...@apache.org
Subject svn commit: r373260 - /myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/navmenu/htmlnavmenu/HtmlPanelNavigationMenu.java
Date Sat, 28 Jan 2006 23:41:50 GMT
Author: mmarinschek
Date: Sat Jan 28 15:41:43 2006
New Revision: 373260

URL: http://svn.apache.org/viewcvs?rev=373260&view=rev
Log:
changed log level of two statements

Modified:
    myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/navmenu/htmlnavmenu/HtmlPanelNavigationMenu.java

Modified: myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/navmenu/htmlnavmenu/HtmlPanelNavigationMenu.java
URL: http://svn.apache.org/viewcvs/myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/navmenu/htmlnavmenu/HtmlPanelNavigationMenu.java?rev=373260&r1=373259&r2=373260&view=diff
==============================================================================
--- myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/navmenu/htmlnavmenu/HtmlPanelNavigationMenu.java
(original)
+++ myfaces/tomahawk/trunk/core/src/main/java/org/apache/myfaces/custom/navmenu/htmlnavmenu/HtmlPanelNavigationMenu.java
Sat Jan 28 15:41:43 2006
@@ -42,7 +42,6 @@
 
     static final String PREVIOUS_VIEW_ROOT = HtmlPanelNavigationMenu.class.getName() + ".PREVIOUS_VIEW_ROOT";
     private boolean _itemOpenActiveStatesRestored = false;
-    private transient Object[] _state;
 
     public void decode(FacesContext context)
     {
@@ -90,7 +89,7 @@
                 }
                 else
                 {
-                    log.error("Navigation item " + child.getClientId(facesContext) + " not
found in previous view.");
+                    log.debug("Navigation item " + child.getClientId(facesContext) + " not
found in previous view.");
                 }
                 if (child.getChildCount() > 0)
                 {
@@ -257,13 +256,12 @@
         values[8] = _separatorStyle;
         values[9] = _layout;
         values[10] = _preprocessed;
-        return ((Object) (values));
+        return values;
     }
 
     public void restoreState(FacesContext context, Object state)
     {
         Object values[] = (Object[])state;
-        _state = values;
         super.restoreState(context, values[0]);
         _itemClass = (String)values[1];
         _openItemClass = (String)values[2];



Mime
View raw message