mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-360: Clean up style issues.
This commit is contained in:
@@ -112,7 +112,7 @@ public class ActiveConnectionService
|
|||||||
@Override
|
@Override
|
||||||
public void deleteObject(ModeledAuthenticatedUser user, String identifier)
|
public void deleteObject(ModeledAuthenticatedUser user, String identifier)
|
||||||
throws GuacamoleException {
|
throws GuacamoleException {
|
||||||
|
|
||||||
// Close connection, if it exists and we have permission
|
// Close connection, if it exists and we have permission
|
||||||
ActiveConnection activeConnection = retrieveObject(user, identifier);
|
ActiveConnection activeConnection = retrieveObject(user, identifier);
|
||||||
if (activeConnection != null
|
if (activeConnection != null
|
||||||
@@ -162,7 +162,7 @@ public class ActiveConnectionService
|
|||||||
throw new GuacamoleSecurityException("Permission denied.");
|
throw new GuacamoleSecurityException("Permission denied.");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve the permission set for the specified user that relates
|
* Retrieve the permission set for the specified user that relates
|
||||||
* to access to active connections.
|
* to access to active connections.
|
||||||
@@ -181,7 +181,7 @@ public class ActiveConnectionService
|
|||||||
throws GuacamoleException {
|
throws GuacamoleException {
|
||||||
return user.getUser().getActiveConnectionPermissions();
|
return user.getUser().getActiveConnectionPermissions();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return a boolean value representing whether or not a user has the given
|
* Return a boolean value representing whether or not a user has the given
|
||||||
* permission available to them on the active connection with the given
|
* permission available to them on the active connection with the given
|
||||||
|
Reference in New Issue
Block a user