import static java.lang.Character.toLowerCase;
import static java.lang.String.format;
class SshSftpCygwinConnection extends SshSftpConnection {
public SshSftpCygwinConnection(String type, ConnectionOptions options, AddressPortMapper mapper) {
super(type, fixOptions(options), mapper);
<BUG>checkArgument(os == WINDOWS, "Cannot create a " + SSH_PROTOCOL + ":%s connection to a host that is not running Windows", sshConnectionType.toString().toLowerCase());
</BUG>
}
private static ConnectionOptions fixOptions(final ConnectionOptions options) {
ConnectionOptions fixedOptions = new ConnectionOptions(options);

import static java.lang.Character.toLowerCase;
import static java.lang.String.format;
class SshSftpCygwinConnection extends SshSftpConnection {
public SshSftpCygwinConnection(String type, ConnectionOptions options, AddressPortMapper mapper) {
super(type, fixOptions(options), mapper);
checkArgument(os == WINDOWS, "Cannot create a %s connection to a host that is not running Windows", protocolAndConnectionType);
}
private static ConnectionOptions fixOptions(final ConnectionOptions options) {
ConnectionOptions fixedOptions = new ConnectionOptions(options);
