mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-10-23 21:15:52 +00:00
No effective change - use enhanced for
This commit is contained in:
@@ -136,9 +136,9 @@ public class SpringAwareJdbcTransactionManager implements ExternalTransactionMan
|
||||
List<TransactionSynchronization> synchronizations = TransactionSynchronizationManager.getSynchronizations();
|
||||
if (synchronizations != null) {
|
||||
// search for our specific listener
|
||||
for (int i = 0; i < synchronizations.size(); i++) {
|
||||
if (synchronizations.get(i) instanceof SpringTxnListener) {
|
||||
return (SpringTxnListener) synchronizations.get(i);
|
||||
for (TransactionSynchronization synchronization : synchronizations) {
|
||||
if (synchronization instanceof SpringTxnListener) {
|
||||
return (SpringTxnListener) synchronization;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user