We need to specify that we want to call the varargs version, not the Iterables version. Screw Java.

This commit is contained in:
Par Winzell
2010-02-25 18:48:54 +00:00
parent 6930ed5b40
commit 4b1ffe3df9
@@ -332,7 +332,7 @@ public abstract class FindAllQuery<T extends PersistentRecord> extends Query<Lis
throws SQLException
{
SelectClause select = new SelectClause(
_type, _marsh.getFieldNames(), KeySet.newKeySet(_type, keys));
_type, _marsh.getFieldNames(), (QueryClause) KeySet.newKeySet(_type, keys));
SQLBuilder builder = ctx.getSQLBuilder(DepotTypes.getDepotTypes(ctx, select));
builder.newQuery(select);
Set<Key<T>> got = Sets.newHashSet();