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
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.