Use TreeMaps instead of Maps in a couple of places.

OpenJDK doesn't seem to like the latter, and hasn't been able to
compile for the last couple of days. SunJDK doesn't seem to have
any problems with swapping out Map for TreeMap, so we'll be more
explicit.

Change-Id: I4c0b9eeceed57974785c1598e2d6aff4b04ead10
This commit is contained in:
Chad Horohoe
2013-02-26 15:46:35 -08:00
parent 9b4650b97a
commit c691ba171d
2 changed files with 5 additions and 4 deletions

View File

@@ -38,7 +38,7 @@ import com.google.inject.Provider;
import java.util.Collection;
import java.util.List;
import java.util.Map;
import java.util.TreeMap;
public class ReviewerJson {
private final Provider<ReviewDb> db;
@@ -132,7 +132,7 @@ public class ReviewerJson {
public static class ReviewerInfo extends AccountInfo {
final String kind = "gerritcodereview#reviewer";
Map<String, String> approvals;
TreeMap<String, String> approvals;
protected ReviewerInfo(Account.Id id) {
super(id);