Skip to content

Commit c34bd71

Browse files
authored
deprecated AccessGrantClient delete method (#544)
1 parent ce18761 commit c34bd71

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

access-grant/src/main/java/com/inrupt/client/accessgrant/AccessGrantClient.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,10 @@ public CompletionStage<Void> revoke(final AccessCredential credential) {
544544
*
545545
* @param credential the access credential
546546
* @return the next stage of completion
547+
* @deprecated as of Beta4
547548
*/
549+
550+
@Deprecated
548551
public CompletionStage<Void> delete(final AccessCredential credential) {
549552
final Request req = Request.newBuilder(credential.getIdentifier()).DELETE().build();
550553
return client.send(req, Response.BodyHandlers.discarding())

0 commit comments

Comments
 (0)