|
24 | 24 | */ |
25 | 25 | public class CouchbaseTransactionStatus extends DefaultTransactionStatus { |
26 | 26 |
|
27 | | - /** |
28 | | - * Create a new {@code DefaultTransactionStatus} instance. |
29 | | - * |
30 | | - * @param transaction underlying transaction object that can hold state |
31 | | - * for the internal transaction implementation |
32 | | - * @param newTransaction if the transaction is new, otherwise participating |
33 | | - * in an existing transaction |
34 | | - * @param newSynchronization if a new transaction synchronization has been |
35 | | - * opened for the given transaction |
36 | | - * @param readOnly whether the transaction is marked as read-only |
37 | | - * @param debug should debug logging be enabled for the handling of this transaction? |
38 | | - * Caching it in here can prevent repeated calls to ask the logging system whether |
39 | | - * debug logging should be enabled. |
40 | | - * @param suspendedResources a holder for resources that have been suspended |
41 | | - */ |
42 | | - public CouchbaseTransactionStatus(Object transaction, boolean newTransaction, boolean newSynchronization, boolean readOnly, boolean debug, Object suspendedResources) { |
43 | | - super(transaction, |
44 | | - newTransaction, |
45 | | - newSynchronization, |
46 | | - readOnly, |
47 | | - debug, |
48 | | - suspendedResources); |
49 | | - } |
| 27 | + /** |
| 28 | + * Create a new {@code DefaultTransactionStatus} instance. |
| 29 | + * |
| 30 | + * @param transaction underlying transaction object that can hold state |
| 31 | + * for the internal transaction implementation |
| 32 | + * @param newTransaction if the transaction is new, otherwise participating |
| 33 | + * in an existing transaction |
| 34 | + * @param newSynchronization if a new transaction synchronization has been |
| 35 | + * opened for the given transaction |
| 36 | + * @param readOnly whether the transaction is marked as read-only |
| 37 | + * @param debug should debug logging be enabled for the handling of this transaction? |
| 38 | + * Caching it in here can prevent repeated calls to ask the logging system whether |
| 39 | + * debug logging should be enabled. |
| 40 | + * @param suspendedResources a holder for resources that have been suspended |
| 41 | + */ |
| 42 | + public CouchbaseTransactionStatus(Object transaction, boolean newTransaction, boolean newSynchronization, boolean readOnly, boolean debug, Object suspendedResources) { |
| 43 | + super(null, |
| 44 | + transaction, |
| 45 | + newTransaction, |
| 46 | + newSynchronization, |
| 47 | + false, |
| 48 | + readOnly, |
| 49 | + debug, |
| 50 | + suspendedResources); |
| 51 | + } |
50 | 52 | } |
0 commit comments