Skip to content

Commit

Permalink
Set protocol type to s3.
Browse files Browse the repository at this point in the history
Former-commit-id: 85045518d32750acfa974243de8d9c31ea09466d
  • Loading branch information
dkocher committed Jun 1, 2016
1 parent f1b7347 commit fc67754
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
5 changes: 1 addition & 4 deletions core/src/main/java/ch/cyberduck/core/AbstractProtocol.java
Expand Up @@ -27,9 +27,6 @@
import java.util.Locale;
import java.util.Set;

/**
* @version $Id$
*/
public abstract class AbstractProtocol implements Protocol {

@Override
Expand Down Expand Up @@ -93,7 +90,7 @@ public boolean isHostnameConfigurable() {
*/
@Override
public boolean isPortConfigurable() {
return true;
return StringUtils.isBlank(this.getDefaultHostname());
}

@Override
Expand Down
1 change: 0 additions & 1 deletion core/src/main/java/ch/cyberduck/core/Protocol.java
Expand Up @@ -89,7 +89,6 @@ public boolean validate(final Credentials credentials, final LoginOptions option
}
},
irods,
spectra,
b2;

/**
Expand Down
3 changes: 0 additions & 3 deletions core/src/main/java/ch/cyberduck/core/ProtocolFactory.java
Expand Up @@ -30,9 +30,6 @@
import java.util.List;
import java.util.Set;

/**
* @version $Id$
*/
public final class ProtocolFactory {
private static final Logger log = Logger.getLogger(ProtocolFactory.class);

Expand Down
Expand Up @@ -44,6 +44,11 @@ public Scheme getScheme() {
return Scheme.https;
}

@Override
public Type getType() {
return Type.s3;
}

@Override
public boolean isHostnameConfigurable() {
return true;
Expand Down

0 comments on commit fc67754

Please sign in to comment.