Skip to content

Commit

Permalink
Merge pull request sakaiproject#24 from adrianfish/KNL-1305
Browse files Browse the repository at this point in the history
KNL-1305 Fixed comparator in BaseGroup.
  • Loading branch information
adrianfish committed Jan 9, 2015
2 parents 952ffad + 7800895 commit 3aaf54f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ public int compareTo(Object obj)
if (obj == this) return 0;

// start the compare by comparing their title
int compare = getTitle().compareTo(((Site) obj).getTitle());
int compare = getTitle().compareTo(((Group) obj).getTitle());

// if these are the same
if (compare == 0)
Expand Down

0 comments on commit 3aaf54f

Please sign in to comment.