Merge pull request #9983 from eugenp/JAVA-2413-2
formatting, remove unneeded dependency
This commit is contained in:
commit
0f42bcb243
|
@ -24,14 +24,6 @@
|
|||
<artifactId>mongodb-driver-sync</artifactId>
|
||||
<version>${mongodb-driver.version}</version>
|
||||
</dependency>
|
||||
|
||||
|
||||
<dependency>
|
||||
<groupId>org.springframework.data</groupId>
|
||||
<artifactId>spring-data-releasetrain</artifactId>
|
||||
<version>${spring-releasetrain}</version>
|
||||
<type>pom</type>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.mongodb</groupId>
|
||||
|
@ -114,7 +106,6 @@
|
|||
<mysema.maven.version>1.1.3</mysema.maven.version>
|
||||
<mongodb-reactivestreams.version>4.1.0</mongodb-reactivestreams.version>
|
||||
<projectreactor.version>3.2.0.RELEASE</projectreactor.version>
|
||||
<spring-releasetrain>Lovelace-SR9</spring-releasetrain>
|
||||
<mongodb-driver.version>4.0.5</mongodb-driver.version>
|
||||
</properties>
|
||||
|
||||
|
|
|
@ -81,7 +81,7 @@ public class MongoConfig extends AbstractMongoClientConfiguration {
|
|||
|
||||
@Bean
|
||||
MongoTransactionManager transactionManager(MongoDatabaseFactory dbFactory) {
|
||||
return new MongoTransactionManager(dbFactory);
|
||||
return new MongoTransactionManager(dbFactory);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -2,7 +2,6 @@ package com.baeldung.transaction;
|
|||
|
||||
import static org.hamcrest.CoreMatchers.is;
|
||||
import static org.junit.Assert.assertThat;
|
||||
import static org.junit.Assert.assertTrue;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
|
@ -22,7 +21,6 @@ import org.springframework.transaction.annotation.Transactional;
|
|||
import com.baeldung.config.MongoConfig;
|
||||
import com.baeldung.model.User;
|
||||
import com.baeldung.repository.UserRepository;
|
||||
import com.mongodb.MongoCommandException;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue