mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-07 21:51:23 +00:00
Remove trailing whitespace.
This commit is contained in:
@@ -85,11 +85,11 @@ public class Update extends AuthenticatingHttpServlet {
|
|||||||
private Permission parseSystemPermission(String str)
|
private Permission parseSystemPermission(String str)
|
||||||
throws GuacamoleException {
|
throws GuacamoleException {
|
||||||
|
|
||||||
// Create user
|
// Create user
|
||||||
if (str.startsWith(CREATE_USER_PERMISSION))
|
if (str.startsWith(CREATE_USER_PERMISSION))
|
||||||
return new SystemPermission(SystemPermission.Type.CREATE_USER);
|
return new SystemPermission(SystemPermission.Type.CREATE_USER);
|
||||||
|
|
||||||
// Create connection
|
// Create connection
|
||||||
if (str.startsWith(CREATE_CONNECTION_PERMISSION))
|
if (str.startsWith(CREATE_CONNECTION_PERMISSION))
|
||||||
return new SystemPermission(SystemPermission.Type.CREATE_CONNECTION);
|
return new SystemPermission(SystemPermission.Type.CREATE_CONNECTION);
|
||||||
|
|
||||||
@@ -195,7 +195,7 @@ public class Update extends AuthenticatingHttpServlet {
|
|||||||
/*
|
/*
|
||||||
* NEW PERMISSIONS
|
* NEW PERMISSIONS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Set added system permissions
|
// Set added system permissions
|
||||||
String[] add_sys_permission = request.getParameterValues("+sys");
|
String[] add_sys_permission = request.getParameterValues("+sys");
|
||||||
if (add_sys_permission != null) {
|
if (add_sys_permission != null) {
|
||||||
@@ -220,7 +220,7 @@ public class Update extends AuthenticatingHttpServlet {
|
|||||||
/*
|
/*
|
||||||
* REMOVED PERMISSIONS
|
* REMOVED PERMISSIONS
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Unset removed system permissions
|
// Unset removed system permissions
|
||||||
String[] remove_sys_permission = request.getParameterValues("-sys");
|
String[] remove_sys_permission = request.getParameterValues("-sys");
|
||||||
if (remove_sys_permission != null) {
|
if (remove_sys_permission != null) {
|
||||||
|
Reference in New Issue
Block a user