Goldstein Lyor created SSHD-509:
-----------------------------------

             Summary: Use targeted derived NamedFactory(ies) for the various 
generic parameters
                 Key: SSHD-509
                 URL: https://issues.apache.org/jira/browse/SSHD-509
             Project: MINA SSHD
          Issue Type: Improvement
    Affects Versions: 1.0.0
            Reporter: Goldstein Lyor
            Assignee: Goldstein Lyor
             Fix For: 1.0.0


E.g. {code:java}
public interface ChannelFactory extends NamedFactory<Channel> {
...
}{code} as this makes the code more readable and easier to navigate - e.g., 
easy to find all _NamedFactory<Channel>_. *Note:* the internal code will still 
use the generic __NamedFactory<T>_ interface, but *implementations* will use 
the "extended" interface. E.g. {code:java}
public class ChannelSessionFactory implements ChannelFactory {
}{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to