GUACAMOLE-38: Clean up minor code issues.

This commit is contained in:
Nick Couchman committed 2018-06-01 13:40:53 -04:00
1 parent 27f4ad01f5
commit aaada49dfe
5 files changed
+12 -6

No files matched your search

@@ -50,7 +50,7 @@ public class QuickConnectDirectory extends SimpleDirectory<Connection> {
/**
* The internal counter for connection IDs.
*/
private AtomicInteger connectionId;
private final AtomicInteger connectionId;
/**
* Creates a new QuickConnectDirectory with the default
@@ -25,9 +25,7 @@ import org.apache.guacamole.GuacamoleException;
import org.apache.guacamole.net.auth.AbstractUserContext;
import org.apache.guacamole.net.auth.AuthenticationProvider;
import org.apache.guacamole.net.auth.ConnectionGroup;
import org.apache.guacamole.net.auth.Directory;
import org.apache.guacamole.net.auth.User;
import org.apache.guacamole.net.auth.simple.SimpleDirectory;
import org.apache.guacamole.net.auth.simple.SimpleUser;
/**
@@ -39,7 +39,7 @@ public class QuickConnectionGroup extends AbstractConnectionGroup {
/**
* A set that will store the Connection identifiers for this group.
*/
private Set<String> connectionIdentifiers =
private final Set<String> connectionIdentifiers =
new HashSet<String>(Collections.<String>emptyList());
/**
@@ -38,7 +38,7 @@ public class QuickConnectREST {
/**
* The connection directory for this REST endpoint.
*/
private QuickConnectDirectory directory;
private final QuickConnectDirectory directory;
/**
* Construct a new QuickConnectREST class, taking in a