[
https://issues.apache.org/jira/browse/IMAP-240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Norman Maurer updated IMAP-240:
-------------------------------
Description:
AbstractCommandParser subclasses does parse the "data" when it get called. It
does this even if the command is not valid for the state, this should get
improved. There is no need todo the parsing if we will not execute it later.
Better to fail fast here..
was:
At the momen DefailImapDecoder lookup the right ImapCommandParser for a given
command and then use it to parse it. It does this even if the command is not
valid for the state, this should get improved. There is no need todo the
parsing if we will not execute it later.
Better to fail fast here..
Summary: AbstractImapCommandParser should only parse the command if its
valid for the state of the session (was: DefaultImapDecoder should only parse
the command if its valid for the state of the session)
> AbstractImapCommandParser should only parse the command if its valid for the
> state of the session
> -------------------------------------------------------------------------------------------------
>
> Key: IMAP-240
> URL: https://issues.apache.org/jira/browse/IMAP-240
> Project: JAMES Imap
> Issue Type: Bug
> Components: Parser
> Affects Versions: 0.1, 0.2-M1
> Reporter: Norman Maurer
> Fix For: 0.2
>
>
> AbstractCommandParser subclasses does parse the "data" when it get called. It
> does this even if the command is not valid for the state, this should get
> improved. There is no need todo the parsing if we will not execute it later.
> Better to fail fast here..
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]