From 5f1e197ce1c5d60b4aa91681a05bb1969474ea49 Mon Sep 17 00:00:00 2001 From: Charlie Groves Date: Thu, 9 Dec 2010 21:50:13 +0000 Subject: [PATCH] Fill in the unknown parameter on SQLExpression to match the later Ops.and and make Eclipse happy git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@1031 c613c5cb-e716-0410-b11b-feb51c14d237 --- .../parlor/rating/server/persist/RatingRepository.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/threerings/parlor/rating/server/persist/RatingRepository.java b/src/main/java/com/threerings/parlor/rating/server/persist/RatingRepository.java index 5aec44dd..a303d9a3 100644 --- a/src/main/java/com/threerings/parlor/rating/server/persist/RatingRepository.java +++ b/src/main/java/com/threerings/parlor/rating/server/persist/RatingRepository.java @@ -124,7 +124,7 @@ public class RatingRepository extends DepotRepository public List getTopRatings ( int gameId, int limit, long since, Set playerIds) { - List where = Lists.newArrayList(); + List> where = Lists.newArrayList(); where.add(RatingRecord.GAME_ID.eq(gameId)); if (since > 0L) { where.add(RatingRecord.LAST_UPDATED.greaterThan( @@ -249,7 +249,7 @@ public class RatingRepository extends DepotRepository // Without distinct, I must load all ratings and throw out all but the first. They're not // that big, but still. - List conditions = Lists.newArrayList(); + List> conditions = Lists.newArrayList(); conditions.add(RatingRecord.PLAYER_ID.in(playerIds)); if (gameIds != null) { conditions.add(RatingRecord.GAME_ID.in(gameIds));