GUACAMOLE-38: Remove unnecessary null check.

This commit is contained in:
Nick Couchman committed 2018-06-01 13:40:51 -04:00
1 parent add78b9cdb
commit 8ed356a7f2
1 file changed
-3
@@ -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));
} }