Skip to content

Commit 38b760e

Browse files
committed
rimosso check
1 parent 7f7a0d4 commit 38b760e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

api/src/main/java/com/google/appengine/api/datastore/PreparedQueryImpl.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,6 @@ public PreparedQueryImpl(Query query, Transaction txn, QueryRunner queryRunner)
3636
this.txn = txn;
3737
this.queryRunner = queryRunner;
3838

39-
// TODO Move this check and the one that follows into the
40-
// LocalDatastoreService (it may already be there).
41-
checkArgument(
42-
txn == null || query.getAncestor() != null,
43-
"Only ancestor queries are allowed inside transactions.");
4439
TransactionImpl.ensureTxnActive(txn);
4540
}
4641

0 commit comments

Comments
 (0)