Polishing.
See gh-202.
This commit is contained in:
@@ -43,8 +43,8 @@ public class VaultPkiTemplate implements VaultPkiOperations {
|
|||||||
private final String path;
|
private final String path;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new {@link VaultPkiTemplate} given {@link VaultPkiOperations} and the
|
* Create a new {@link VaultPkiTemplate} given {@link VaultOperations} and the mount
|
||||||
* mount {@code path}.
|
* {@code path}.
|
||||||
*
|
*
|
||||||
* @param vaultOperations must not be {@literal null}.
|
* @param vaultOperations must not be {@literal null}.
|
||||||
* @param path must not be empty or {@literal null}.
|
* @param path must not be empty or {@literal null}.
|
||||||
|
|||||||
@@ -63,6 +63,13 @@ public class VaultTransitTemplate implements VaultTransitOperations {
|
|||||||
|
|
||||||
private final String path;
|
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) {
|
public VaultTransitTemplate(VaultOperations vaultOperations, String path) {
|
||||||
|
|
||||||
Assert.notNull(vaultOperations, "VaultOperations must not be null");
|
Assert.notNull(vaultOperations, "VaultOperations must not be null");
|
||||||
|
|||||||
Reference in New Issue
Block a user