Zoiks, missed the parameterized type.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@427 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -118,7 +118,7 @@ public class RatingRepository extends DepotRepository
|
|||||||
public IntMap<Percentiler> loadPercentiles (int gameId)
|
public IntMap<Percentiler> loadPercentiles (int gameId)
|
||||||
throws PersistenceException
|
throws PersistenceException
|
||||||
{
|
{
|
||||||
HashIntMap results = new HashIntMap();
|
HashIntMap<Percentiler> results = new HashIntMap<Percentiler>();
|
||||||
Where where = new Where(PercentileRecord.GAME_ID_C, gameId);
|
Where where = new Where(PercentileRecord.GAME_ID_C, gameId);
|
||||||
for (PercentileRecord record : findAll(PercentileRecord.class, where)) {
|
for (PercentileRecord record : findAll(PercentileRecord.class, where)) {
|
||||||
results.put(record.type, new Percentiler(record.data));
|
results.put(record.type, new Percentiler(record.data));
|
||||||
|
|||||||
Reference in New Issue
Block a user