GUACAMOLE-926: Clean up unneeded code, trailing whitespace; fix bugs, styling, comments and licenses.

This commit is contained in:
James Muehlner
2023-03-15 18:19:44 +00:00
parent f8fb95fbc8
commit d657d2b90a
35 changed files with 373 additions and 436 deletions

View File

@@ -23,7 +23,7 @@ import org.apache.guacamole.GuacamoleException;
/**
* An operation that should be attempted atomically when passed to
* {@link Directory#tryAtomically()}, if atomic operations are supported by
* {@link Directory#tryAtomically}, if atomic operations are supported by
* the Directory.
*/
public interface AtomicDirectoryOperation<ObjectType extends Identifiable> {
@@ -36,12 +36,12 @@ public interface AtomicDirectoryOperation<ObjectType extends Identifiable> {
* provided directory outside this function, or of the directory invoking
* this function are not guaranteed.
*
* NOTE: If atomicity is required for this operation, a GuacamoleException
* may be thrown by this function before any changes are made, ensuring the
* operation will only ever be performed atomically.
* <p>NOTE: If atomicity is required for this operation, a
* GuacamoleException may be thrown by this function before any changes are
* made, ensuring the operation will only ever be performed atomically.
*
* @param atomic
* True if the provided directory is guaranteed to peform the operation
* True if the provided directory is guaranteed to perform the operation
* atomically within the context of this function.
*
* @param directory