reversed sort order to display highest-bandwidth results first
git-svn-id: svn://anubis/gvsu@67 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
3c0c970c10
commit
87d568282e
@ -153,7 +153,7 @@ public class KaZaClient
|
|||||||
Object[] arr = results.toArray();
|
Object[] arr = results.toArray();
|
||||||
java.util.Arrays.sort(arr, new Comparator() {
|
java.util.Arrays.sort(arr, new Comparator() {
|
||||||
public int compare(Object o1, Object o2) {
|
public int compare(Object o1, Object o2) {
|
||||||
return ((SearchResult)o1).speed - ((SearchResult)o2).speed;
|
return ((SearchResult)o2).speed - ((SearchResult)o1).speed;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user