Fix parameter order of UserPermission constructor.

This commit is contained in:
Michael Jumper
2013-01-30 02:15:21 -08:00
parent b6c1bc19ff
commit 6c866ac058

View File

@@ -65,7 +65,7 @@ public class UserPermission implements ObjectPermission<String> {
* @param identifier The username of the User associated with the operation
* affected by this permission.
*/
public UserPermission(String identifier, Type type) {
public UserPermission(Type type, String identifier) {
this.identifier = identifier;
this.type = type;