docs(java): specify the new behaviour of leaveWorkspace

This commit is contained in:
zaaarf 2024-11-03 19:36:36 +01:00
parent c0bff45989
commit 518143d5b9
No known key found for this signature in database
GPG key ID: 102E445F4C3F829B

View file

@ -128,7 +128,8 @@ public final class Client {
/**
* Leaves a workspace.
* @param workspaceId the id of the workspaces to leave
* @return true if it succeeded (usually fails if the workspace wasn't active)
* @return true if it succeeded or wasn't in the workspace; false if there are still
* leftover references around
*/
public boolean leaveWorkspace(String workspaceId) {
return leave_workspace(this.ptr, workspaceId);