Remove trailing whitespace.

This commit is contained in:
Michael Jumper
2013-02-27 16:27:17 -08:00
parent a84b9d2094
commit b712d2f128

View File

@@ -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) {