[ 
https://issues.apache.org/jira/browse/DIRMINA-427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Trustin Lee resolved DIRMINA-427.
---------------------------------

    Resolution: Duplicate

It's duplicate of DIRMINA-361.  Will fix in 2.0.0-M1.

> Creating a common  EventType enum
> ---------------------------------
>
>                 Key: DIRMINA-427
>                 URL: https://issues.apache.org/jira/browse/DIRMINA-427
>             Project: MINA
>          Issue Type: Improvement
>    Affects Versions: 1.1.2
>            Reporter: Emmanuel Lecharny
>            Priority: Minor
>         Attachments: mina-with-enum.diff
>
>
> I have migrated the EventType class found in VmPipeFilterChain and 
> ExecutorFilter to core/src/main/java/org/apache/mina/common/EventType.java, 
> and it's now an enum. It is easier to use, as you don't have to do a cascade 
> if/then/else in the ExecutorFilter and VmPipeFilterChain classes, they are 
> replaced by a switch( eventType ).
> See the diff attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to