Removed invalid assertions from code. Now the MS can be run with assertions enabled (using -ea flag)

(cherry picked from commit 610d6f0b99)
This commit is contained in:
Koushik Das 2014-07-10 12:10:46 +05:30 committed by Daan Hoogland
parent d14d0d7c92
commit c72f55f9f3
1 changed files with 0 additions and 3 deletions

View File

@ -112,9 +112,6 @@ public class TransactionLegacy {
TransactionLegacy txn = tls.get();
if (check) {
assert txn != null : "No Transaction on stack. Did you mark the method with @DB?";
assert checkAnnotation(4, txn) : "Did you even read the guide to use Transaction...IOW...other people's code? Try method can't be private. What about @DB? hmmm... could that be it? " +
txn;
}
return txn;
}