GUACAMOLE-38: Remove unnecessary null check.

This commit is contained in:
Nick Couchman
2018-03-24 22:06:21 -04:00
parent add78b9cdb
commit 8ed356a7f2

View File

@@ -91,9 +91,6 @@ public class QuickConnectREST {
public String create(@FormParam("uri") String uri) public String create(@FormParam("uri") String uri)
throws GuacamoleException { throws GuacamoleException {
if (directory == null)
throw new GuacamoleServerException("No connection directory available.");
return directory.create(QCParser.getConfiguration(uri)); return directory.create(QCParser.getConfiguration(uri));
} }