commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CHAIN-98) Refactor command interface and base Implementations to enumeration to represent states
Date Fri, 21 Jun 2013 06:43:20 GMT

    [ https://issues.apache.org/jira/browse/CHAIN-98?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13690069#comment-13690069
] 

Simone Tripodi commented on CHAIN-98:
-------------------------------------

Agreed, as discussed in ML - I'd suggest to strip the {{PROCESSING}} pre/postfix from enum
name and having something like

{code}
enum Processing {

  CONTINUE, COMPLETE /* and other states, if needed */ ;

}
{code}

Would you submit a patch for that? :) TIA!
                
> Refactor command interface and base Implementations to enumeration to represent states
> --------------------------------------------------------------------------------------
>
>                 Key: CHAIN-98
>                 URL: https://issues.apache.org/jira/browse/CHAIN-98
>             Project: Commons Chain
>          Issue Type: Task
>    Affects Versions: 2.0
>            Reporter: Jonas Sprenger
>             Fix For: 2.0
>
>
> Base implementations should return the constants CONTINUE_PROCESSING or PROCESSING_COMPLETE
instead of returning true or false

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message