Skip to content

Commit

Permalink
Fixed a SonarQube issue
Browse files Browse the repository at this point in the history
  • Loading branch information
robtimus committed Aug 8, 2023
1 parent 6909e2d commit 785fa1c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Service;
import com.ingenico.connect.gateway.sdk.java.CommunicatorConfiguration;
import com.ingenico.connect.gateway.sdk.java.Connection;
import com.ingenico.connect.gateway.sdk.java.PooledConnection;
import com.ingenico.connect.gateway.sdk.java.ProxyConfiguration;
Expand Down Expand Up @@ -91,7 +92,7 @@ private Set<String> getHttpsProtocols() {
return new LinkedHashSet<>(protocols);
}
}
return null;
return CommunicatorConfiguration.DEFAULT_HTTPS_PROTOCOLS;
}

@Service
Expand Down

0 comments on commit 785fa1c

Please sign in to comment.