From 41cbc8ea7645efd76f8c6c6404a5c23e8407e47c Mon Sep 17 00:00:00 2001 From: j-dimension Date: Fri, 24 Nov 2023 14:06:34 +0100 Subject: [PATCH] renamed method --- .../java/org/jlawyer/io/rest/v7/MessagingEndpointLocalV7.java | 2 +- .../src/java/org/jlawyer/io/rest/v7/MessagingEndpointV7.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/MessagingEndpointLocalV7.java b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/MessagingEndpointLocalV7.java index 0ea3e07e3..87f99d419 100644 --- a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/MessagingEndpointLocalV7.java +++ b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/MessagingEndpointLocalV7.java @@ -676,6 +676,6 @@ public interface MessagingEndpointLocalV7 { public Response submitMessage(RestfulInstantMessageV7 msg); - public Response deleteDocument(String id); + public Response deleteMessage(String id); } diff --git a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/MessagingEndpointV7.java b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/MessagingEndpointV7.java index 9840d7cf8..1b32305ad 100644 --- a/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/MessagingEndpointV7.java +++ b/j-lawyer-server/j-lawyer-io/src/java/org/jlawyer/io/rest/v7/MessagingEndpointV7.java @@ -772,7 +772,7 @@ public Response submitMessage(RestfulInstantMessageV7 msg) { @Consumes(MediaType.APPLICATION_JSON) @Path("/{id}/delete") @RolesAllowed({"loginRole"}) - public Response deleteDocument(@PathParam("id") String id) { + public Response deleteMessage(@PathParam("id") String id) { try { InitialContext ic = new InitialContext();