Fix unused code warnings

Change-Id: Ice941b81c83d2bda45c32aa11a1bf11559fefc2d
This commit is contained in:
Shawn O. Pearce
2011-06-24 18:45:56 -07:00
parent 2b63c6cf09
commit 6a44b81bb5
8 changed files with 5 additions and 18 deletions

View File

@@ -127,17 +127,15 @@ public class PermissionCollection {
}
}
return new PermissionCollection(ref, permissions, perUser ? username : null);
return new PermissionCollection(permissions, perUser ? username : null);
}
}
private final String ref;
private final Map<String, List<PermissionRule>> rules;
private final String username;
private PermissionCollection(String ref,
Map<String, List<PermissionRule>> rules, String username) {
this.ref = ref;
private PermissionCollection(Map<String, List<PermissionRule>> rules,
String username) {
this.rules = rules;
this.username = username;
}