Fix wrong documentation about reentrancy.

This commit is contained in:
Gwendal Roué committed 2015-09-12 16:04:06 +02:00
1 parent 0a24e1ba83
commit 9a2c1c1946
1 file changed
+3 -3
+3 -3
View File
@@ -68,7 +68,7 @@ public final class DatabaseQueue {
db.fetch(...)
}
This method is reentrant.
This method is *not* reentrant.
**Warning**: The *db* parameter of the block should not be used outside of
the block. Do not extract it, and do not store it in another object that
@@ -96,7 +96,7 @@ public final class DatabaseQueue {
db.fetch(...)
}
This method is reentrant.
This method is *not* reentrant.
**Warning**: The *db* parameter of the block should not be used outside of
the block. Do not extract it, and do not store it in another object that
@@ -130,7 +130,7 @@ public final class DatabaseQueue {
return .Commit
}
This method is not reentrant: you can't nest transactions.
This method is *not* reentrant.
**Warning**: The *db* parameter of the block should not be used outside of
the transaction block. Do not extract it, and do not store it in another