Susmit Sarkar created SSHD-1124:
-----------------------------------

             Summary: Starting sshdServer compile time error
                 Key: SSHD-1124
                 URL: https://issues.apache.org/jira/browse/SSHD-1124
             Project: MINA SSHD
          Issue Type: Question
            Reporter: Susmit Sarkar


Getting a compile-time error with this below piece of code:

 
{code:java}
// code placeholder
SftpSubsystemFactory subsystemfactory =  new SftpSubsystemFactory(); 
sshdServer.setSubsystemFactories(Collections.singletonList(subsystemfactory));{code}
Error is:
{code:java}
// code placeholder
error: incompatible types: List<SftpSubsystemFactory> cannot be converted to 
List<SubsystemFactory>DaemonSSHD.java:218: error: incompatible types: 
List<SftpSubsystemFactory> cannot be converted to List<SubsystemFactory>    
[javac] 
sshdServer.setSubsystemFactories(Collections.singletonList(subsystemfactory));  
  [javac]   
{code}
                                                        ^

Any suggestion will be helpful



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to