GUACAMOLE-38: Remove unnecessary null check.
This commit is contained in:
1 parent
add78b9cdb
commit
8ed356a7f2
1 file changed
-3
-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));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user