[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [doctor/master] Don't attempt to sort Tor versions alphanumerically.



commit e61c16fbd282049b619040fe160cae996d372fd8
Author: Karsten Loesing <karsten.loesing@xxxxxxx>
Date:   Thu Dec 15 09:29:09 2011 +0100

    Don't attempt to sort Tor versions alphanumerically.
    
    Spotted by Sebastian.
---
 .../torproject/doctor/MetricsWebsiteReport.java    |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/org/torproject/doctor/MetricsWebsiteReport.java b/src/org/torproject/doctor/MetricsWebsiteReport.java
index 9644c65..07f6805 100644
--- a/src/org/torproject/doctor/MetricsWebsiteReport.java
+++ b/src/org/torproject/doctor/MetricsWebsiteReport.java
@@ -325,7 +325,7 @@ public class MetricsWebsiteReport {
       this.bw.write("          <tr><td>(No votes.)</td><td></td></tr>\n");
     } else {
       for (RelayNetworkStatusVote vote : this.downloadedVotes.values()) {
-        SortedSet<String> voteRecommendedClientVersions =
+        List<String> voteRecommendedClientVersions =
             vote.getRecommendedClientVersions();
         if (voteRecommendedClientVersions != null) {
           if (downloadedConsensus.getRecommendedClientVersions().equals(
@@ -353,7 +353,7 @@ public class MetricsWebsiteReport {
                 + "          </tr>\n");
           }
         }
-        SortedSet<String> voteRecommendedServerVersions =
+        List<String> voteRecommendedServerVersions =
             vote.getRecommendedServerVersions();
         if (voteRecommendedServerVersions != null) {
           if (downloadedConsensus.getRecommendedServerVersions().equals(

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits