Deprecate Policy.BuiltinCapabilities.WRITE

Deprecate constant as it is deprecated since Vault 0.5.

Closes gh-575.
This commit is contained in:
Mark Paluch
2020-08-11 12:11:33 +02:00
parent a2118891ae
commit 225c5ed012

View File

@@ -546,7 +546,10 @@ public class Policy {
/**
* Deprecated: Previous capability literal before it was split into
* {@link #CREATE} and {@link #UPDATE}.
*
* @deprecated since 2.3 and Vault 0.5.
*/
@Deprecated
WRITE,
/**
@@ -610,7 +613,6 @@ public class Policy {
gen.writeEndObject();
gen.writeEndObject();
}
}