Polishing.

See gh-202.
This commit is contained in:
Mark Paluch
2018-02-28 14:37:18 +01:00
parent 458f47eb30
commit 48c8fdec61
2 changed files with 9 additions and 2 deletions

View File

@@ -43,8 +43,8 @@ public class VaultPkiTemplate implements VaultPkiOperations {
private final String path;
/**
* Create a new {@link VaultPkiTemplate} given {@link VaultPkiOperations} and the
* mount {@code path}.
* Create a new {@link VaultPkiTemplate} given {@link VaultOperations} and the mount
* {@code path}.
*
* @param vaultOperations must not be {@literal null}.
* @param path must not be empty or {@literal null}.

View File

@@ -63,6 +63,13 @@ public class VaultTransitTemplate implements VaultTransitOperations {
private final String path;
/**
* Create a new {@link VaultTransitTemplate} given {@link VaultOperations} and the
* mount {@code path}.
*
* @param vaultOperations must not be {@literal null}.
* @param path must not be empty or {@literal null}.
*/
public VaultTransitTemplate(VaultOperations vaultOperations, String path) {
Assert.notNull(vaultOperations, "VaultOperations must not be null");