This is an automated email from the ASF dual-hosted git repository.

solomax pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openmeetings.git


The following commit(s) were added to refs/heads/master by this push:
     new 8035ce0fc [OPENMEETINGS-2733] some Sonar issues
8035ce0fc is described below

commit 8035ce0fc38b0c6470a5f7c80dfb9b2b56d1fba7
Author: Maxim Solodovnik <[email protected]>
AuthorDate: Tue Dec 27 13:26:06 2022 +0700

    [OPENMEETINGS-2733] some Sonar issues
---
 .../openmeetings/webservice/RoomWebService.java    | 34 ----------------------
 1 file changed, 34 deletions(-)

diff --git 
a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/RoomWebService.java
 
b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/RoomWebService.java
index 6f3c9f732..88047c6f2 100644
--- 
a/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/RoomWebService.java
+++ 
b/openmeetings-webservice/src/main/java/org/apache/openmeetings/webservice/RoomWebService.java
@@ -579,38 +579,4 @@ public class RoomWebService extends BaseWebService {
                        }
                });
        }
-
-       /**
-        * @deprecated please use {@link WbWebService#resetWb(String, long)} 
method instead
-        *
-        * Method to clean room white board (all objects will be purged)
-        *
-        * @param sid - The SID of the User. This SID must be marked as Loggedin
-        * @param id - id of the room to clean
-        * @return - serviceResult object with the result
-        * @throws {@link ServiceException} in case of any errors
-        */
-       @Deprecated(since = "5.0.0-M3")
-       @WebMethod
-       @GET
-       @Path("/cleanwb/{id}")
-       @Operation(
-                       deprecated = true,
-                       description = "Method to clean room white board (all 
objects will be purged) - Deprecated use WbService#resetWb method instead",
-                       responses = {
-                                       @ApiResponse(responseCode = "200", 
description = "serviceResult object with the result",
-                                                       content = 
@Content(schema = @Schema(implementation = ServiceResultWrapper.class))),
-                                       @ApiResponse(responseCode = "500", 
description = "Error in case of invalid credentials or server error")
-                       }
-               )
-       public ServiceResult cleanWb(@WebParam(name="sid") @QueryParam("sid") 
String sid
-                       , @WebParam(name="id") @PathParam("id") long id
-                       ) throws ServiceException
-       {
-               log.debug("[cleanwb] room id {}", id);
-               return performCall(sid, User.Right.SOAP, sd -> {
-                       wbManager.reset(id, sd.getUserId());
-                       return new ServiceResult("", Type.SUCCESS);
-               });
-       }
 }

Reply via email to