Commit 6bb70cdd4a37f7ddf7e12af8e9d9fcef5ce11368
1 parent
07a2d312
Exists in
master
Organização do código-fonte
Showing
1 changed file
with
4 additions
and
4 deletions
Show diff stats
impl/core/src/main/java/br/gov/frameworkdemoiselle/transaction/TransactionalInterceptor.java
... | ... | @@ -105,7 +105,7 @@ public class TransactionalInterceptor implements Serializable { |
105 | 105 | |
106 | 106 | @AroundInvoke |
107 | 107 | public Object manage(final InvocationContext ic) throws Exception { |
108 | - initiate(ic); | |
108 | + initiate(); | |
109 | 109 | |
110 | 110 | Object result = null; |
111 | 111 | try { |
... | ... | @@ -117,13 +117,13 @@ public class TransactionalInterceptor implements Serializable { |
117 | 117 | throw cause; |
118 | 118 | |
119 | 119 | } finally { |
120 | - complete(ic); | |
120 | + complete(); | |
121 | 121 | } |
122 | 122 | |
123 | 123 | return result; |
124 | 124 | } |
125 | 125 | |
126 | - private void initiate(final InvocationContext ic) { | |
126 | + private void initiate() { | |
127 | 127 | Transaction transaction = getTransactionContext().getCurrentTransaction(); |
128 | 128 | TransactionInfo transactionInfo = getTransactionInfo(); |
129 | 129 | |
... | ... | @@ -154,7 +154,7 @@ public class TransactionalInterceptor implements Serializable { |
154 | 154 | } |
155 | 155 | } |
156 | 156 | |
157 | - private void complete(final InvocationContext ic) { | |
157 | + private void complete() { | |
158 | 158 | Transaction transaction = getTransactionContext().getCurrentTransaction(); |
159 | 159 | TransactionInfo transactionInfo = getTransactionInfo(); |
160 | 160 | transactionInfo.decrementCounter(); | ... | ... |