From ee993d85323419fb779a8edbef4350947c4d076a Mon Sep 17 00:00:00 2001 From: Marek Gradzki Date: Tue, 10 Apr 2018 07:10:53 +0200 Subject: Fix various Sonar warnings Change-Id: I0883042a80525b72f33e66fdb0d5b9e600dcc713 Signed-off-by: Marek Gradzki --- .../io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'infra/northbound/restconf') diff --git a/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java b/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java index 5a27bcb8e..b88819285 100644 --- a/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java +++ b/infra/northbound/restconf/src/main/java/io/fd/honeycomb/northbound/restconf/HttpsConnectorProvider.java @@ -59,10 +59,10 @@ final class HttpsConnectorProvider extends ProviderTrait { URL keystoreURL = getClass().getResource(cfg.restconfKeystore.get()); sslContextFactory.setKeyStorePath(keystoreURL.getPath()); sslContextFactory.setKeyStorePassword(cfg.keystorePassword.get()); - sslContextFactory.setKeyManagerPassword((cfg.keystoreManagerPassword.get())); + sslContextFactory.setKeyManagerPassword(cfg.keystoreManagerPassword.get()); URL truststoreURL = getClass().getResource(cfg.restconfTruststore.get()); sslContextFactory.setTrustStorePath(truststoreURL.getPath()); - sslContextFactory.setTrustStorePassword((cfg.truststorePassword.get())); + sslContextFactory.setTrustStorePassword(cfg.truststorePassword.get()); // TODO HONEYCOMB-167 make this more configurable sslContextFactory.setExcludeCipherSuites("SSL_RSA_WITH_DES_CBC_SHA", "SSL_DHE_RSA_WITH_DES_CBC_SHA", "SSL_DHE_DSS_WITH_DES_CBC_SHA", "SSL_RSA_EXPORT_WITH_RC4_40_MD5", -- cgit 1.2.3-korg