Skip to content

Commit

Permalink
#1324 remove unused MongoProperties from autoconfiguration
Browse files Browse the repository at this point in the history
  • Loading branch information
fcanovas1986 authored and bartoszwalacik committed Sep 15, 2023
1 parent b83fbd1 commit 6c84777
Showing 1 changed file with 0 additions and 4 deletions.
Expand Up @@ -24,7 +24,6 @@
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingClass;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.mongo.MongoProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.Bean;
Expand Down Expand Up @@ -59,9 +58,6 @@ public class JaversMongoAutoConfiguration {
@Autowired
private ApplicationContext applicationContext;

@Autowired
private MongoProperties mongoProperties; //from spring-boot-starter-data-mongodb

@Autowired
@Qualifier("javersMongoClientSettings")
private Optional<MongoClientSettings> mongoClientSettings;
Expand Down

0 comments on commit 6c84777

Please sign in to comment.