risdenk commented on a change in pull request #54: [WIP] KNOX-1756 - Knox
Gateway TLS Keystore and Alias Should be Configurable
URL: https://github.com/apache/knox/pull/54#discussion_r258097302
##########
File path:
gateway-server/src/main/java/org/apache/knox/gateway/services/security/impl/DefaultKeystoreService.java
##########
@@ -260,16 +247,13 @@ public boolean
isCredentialStoreForClusterAvailable(String clusterName) throws K
@Override
public boolean isKeystoreForGatewayAvailable() throws
KeystoreServiceException {
- boolean rc;
- final File keyStoreFile = new File( keyStoreDir + GATEWAY_KEYSTORE );
readLock.lock();
try {
try {
Review comment:
Don't need nested try/catch block
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services