|
61 | 61 | import com.arangodb.entity.StatisticsDescriptionEntity;
|
62 | 62 | import com.arangodb.entity.StatisticsEntity;
|
63 | 63 | import com.arangodb.entity.StringsResultEntity;
|
| 64 | +import com.arangodb.entity.TransactionEntity; |
64 | 65 | import com.arangodb.entity.UserEntity;
|
65 | 66 | import com.arangodb.http.BatchHttpManager;
|
66 | 67 | import com.arangodb.http.BatchPart;
|
@@ -163,7 +164,7 @@ private void createModuleDrivers(boolean createProxys) {
|
163 | 164 | } else {
|
164 | 165 | this.transactionDriver = (InternalTransactionDriver) Proxy.newProxyInstance(
|
165 | 166 | InternalTransactionDriver.class.getClassLoader(),
|
166 |
| - new Class<?>[]{InternalTransactionDriver.class}, |
| 167 | + new Class<?>[] { InternalTransactionDriver.class }, |
167 | 168 | new InvocationHandlerImpl(this.transactionDriver));
|
168 | 169 | this.jobsDriver = (InternalJobsDriver) Proxy.newProxyInstance(
|
169 | 170 | InternalJobsDriver.class.getClassLoader(),
|
@@ -2600,13 +2601,11 @@ public DefaultEntity deleteAqlFunction(String name, boolean isNameSpace) throws
|
2600 | 2601 | return aqlFunctionsDriver.deleteAqlFunction(name, isNameSpace);
|
2601 | 2602 | }
|
2602 | 2603 |
|
2603 |
| - public TransactionEntity createTransaction (String action) { |
| 2604 | + public TransactionEntity createTransaction(String action) { |
2604 | 2605 | return this.transactionDriver.createTransaction(action);
|
2605 | 2606 | };
|
2606 | 2607 |
|
2607 |
| - |
2608 |
| - public <T> T executeTransaction(TransactionEntity transactionEntity, Class<T> clazz) |
2609 |
| - throws ArangoException { |
| 2608 | + public <T> T executeTransaction(TransactionEntity transactionEntity, Class<T> clazz) throws ArangoException { |
2610 | 2609 | return this.transactionDriver.executeTransaction(getDefaultDatabase(), transactionEntity, clazz);
|
2611 | 2610 | }
|
2612 | 2611 | }
|
0 commit comments