Minor JavaDoc corrections

This commit is contained in:
Stefan Kalscheuer 2016-12-24 12:43:58 +01:00
parent e988833eb9
commit 17145e53be
3 changed files with 5 additions and 1 deletions

View File

@ -135,7 +135,8 @@ public class HTTPVaultConnector implements VaultConnector {
/**
* Create connector using full URL and trusted certificate.
*
* @param baseURL The URL
* @param baseURL The URL
* @param sslContext Custom SSL Context
*/
public HTTPVaultConnector(String baseURL, SSLContext sslContext) {
this.baseURL = baseURL;

View File

@ -405,6 +405,7 @@ public interface VaultConnector {
*
* @param leaseID the lase ID
* @return Renewed lease
* @throws VaultConnectorException on error
*/
default SecretResponse renew(final String leaseID) throws VaultConnectorException {
return renew(leaseID, null);
@ -416,6 +417,7 @@ public interface VaultConnector {
* @param leaseID the lase ID
* @param increment number of seconds to extend lease time
* @return Renewed lease
* @throws VaultConnectorException on error
*/
SecretResponse renew(final String leaseID, final Integer increment) throws VaultConnectorException;

View File

@ -128,6 +128,7 @@ public class HTTPVaultConnectorFactory extends VaultConnectorFactory {
*
* @param cert path to certificate file
* @return self
* @throws VaultConnectorException on error
* @since 0.4.0
*/
public HTTPVaultConnectorFactory withTrustedCA(Path cert) throws VaultConnectorException {