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:
1 parent
3c0c970c10
commit
87d568282e
1 file changed
+1
-1
@@ -153,7 +153,7 @@ public class KaZaClient
|
||||
Object[] arr = results.toArray();
|
||||
java.util.Arrays.sort(arr, new Comparator() {
|
||||
public int compare(Object o1, Object o2) {
|
||||
return ((SearchResult)o1).speed - ((SearchResult)o2).speed;
|
||||
return ((SearchResult)o2).speed - ((SearchResult)o1).speed;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user