SEC-1304: Removed unused compareTo method from custom GrantedAuthority.

This commit is contained in:
Luke Taylor 2009-12-01 14:32:57 +00:00
parent eddde8ea28
commit ed92d5ea71
1 changed files with 0 additions and 13 deletions

View File

@ -71,19 +71,6 @@ public abstract class HierarchicalRolesTestHelper {
public String getAuthority() {
return role;
}
public int compareTo(GrantedAuthority ga) {
if (ga != null) {
String rhsRole = ga.getAuthority();
if (rhsRole == null) {
return -1;
}
return role.compareTo(rhsRole);
}
return -1;
}
});
}