myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksei Valikov (JIRA)" <...@myfaces.apache.org>
Subject [jira] Created: (TOMAHAWK-189) Remove explicit cast in AjaxDecodePhaseListener
Date Fri, 10 Mar 2006 13:56:39 GMT
Remove explicit cast in AjaxDecodePhaseListener
-----------------------------------------------

         Key: TOMAHAWK-189
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-189
     Project: MyFaces Tomahawk
        Type: Bug
    Versions: 1.1.2-SNAPSHOT    
    Reporter: Aleksei Valikov


Currently, AjaxDecodePhaseListener performs an explicit cast in beforePhase():

            if (!context.getApplication().getStateManager().isSavingStateInClient(context))
            {
                ((JspStateManagerImpl) context.getApplication().getStateManager()).saveSerializedView(context);
            }

I am using a custom state manager, whic is not JspStateManagerImpl, and I get class cast exception.
Please remove the explicit cast.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message