mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-38: Remove unnecessary null check.
This commit is contained in:
@@ -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