Stop calling me Shirley.

This commit is contained in:
Michael Bayne
2010-12-18 17:37:23 +00:00
parent 5809a5e8c6
commit 2796b3992d
@@ -371,7 +371,7 @@ public class Query<T extends PersistentRecord>
*/ */
public int selectCount () public int selectCount ()
{ {
checkState(_groupBy == null, "You surely mean to select(Funcs.count(Exps.literal(\"*\")))."); checkState(_groupBy == null, "Do you mean to select(Funcs.count(Exps.literal(\"*\")))?");
_fromOverride = new FromOverride(_pclass); _fromOverride = new FromOverride(_pclass);
return _repo.load(CountRecord.class, _cache, getClauseArray()).count; return _repo.load(CountRecord.class, _cache, getClauseArray()).count;
} }