Cyberduck Mountain Duck CLI

Changeset 41275


Ignore:
Timestamp:
Jun 7, 2017 9:00:18 PM (14 months ago)
Author:
dkocher
Message:

Remove dependencies.

Location:
shelves/02.06.2017/bonjour
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • shelves/02.06.2017/bonjour/pom.xml

    r41255 r41275  
    3636            <type>pom</type>
    3737            <scope>test</scope>
    38             <version>${project.version}</version>
    39         </dependency>
    40         <dependency>
    41             <groupId>ch.cyberduck</groupId>
    42             <artifactId>ftp</artifactId>
    43             <version>${project.version}</version>
    44         </dependency>
    45         <dependency>
    46             <groupId>ch.cyberduck</groupId>
    47             <artifactId>ssh</artifactId>
    48             <version>${project.version}</version>
    49         </dependency>
    50         <dependency>
    51             <groupId>ch.cyberduck</groupId>
    52             <artifactId>webdav</artifactId>
    5338            <version>${project.version}</version>
    5439        </dependency>
  • shelves/02.06.2017/bonjour/src/main/java/ch/cyberduck/core/bonjour/AbstractRendezvous.java

    r41269 r41275  
    180180    protected Protocol getProtocol(final String fullname) {
    181181        if(fullname.contains(SERVICE_TYPE_SFTP)) {
    182             return ProtocolFactory.forScheme(Scheme.sftp);
     182            return ProtocolFactory.global.forScheme(Scheme.sftp);
    183183        }
    184184        if(fullname.contains(SERVICE_TYPE_FTP)) {
    185             return ProtocolFactory.forScheme(Scheme.ftp);
     185            return ProtocolFactory.global.forScheme(Scheme.ftp);
    186186        }
    187187        if(fullname.contains(SERVICE_TYPE_WEBDAV)) {
    188             return ProtocolFactory.forName("dav");
     188            return ProtocolFactory.global.forScheme(Scheme.dav);
    189189        }
    190190        if(fullname.contains(SERVICE_TYPE_WEBDAV_TLS)) {
    191             return ProtocolFactory.forName("davs");
     191            return ProtocolFactory.global.forScheme(Scheme.davs);
    192192        }
    193193        log.warn(String.format("Cannot find service type in %s", fullname));
Note: See TracChangeset for help on using the changeset viewer.
swiss made software