Merge branch 'unstable' of ssh://guacamole.git.sourceforge.net/gitroot/guacamole/guacamole-ext into unstable

This commit is contained in:
Michael Jumper
2013-02-13 02:57:58 -08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -111,7 +111,7 @@ public class ConnectionPermission
// If null identifier, equality depends on whether other identifier // If null identifier, equality depends on whether other identifier
// is null // is null
if (identifier == null) if (identifier == null)
return other.identifier != null; return other.identifier == null;
// Otherwise, equality depends entirely on identifier // Otherwise, equality depends entirely on identifier
return identifier.equals(other.identifier); return identifier.equals(other.identifier);

View File

@@ -106,7 +106,7 @@ public class UserPermission implements ObjectPermission<String> {
// If null identifier, equality depends on whether other identifier // If null identifier, equality depends on whether other identifier
// is null // is null
if (identifier == null) if (identifier == null)
return other.identifier != null; return other.identifier == null;
// Otherwise, equality depends entirely on identifier // Otherwise, equality depends entirely on identifier
return identifier.equals(other.identifier); return identifier.equals(other.identifier);