Skip to content

Commit 7a5fabf

Browse files
committed
Polish "Add condition on MongoClientFactoryBean"
Closes gh-6203
1 parent 2003c5e commit 7a5fabf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/embedded/EmbeddedMongoAutoConfiguration.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2015 the original author or authors.
2+
* Copyright 2012-2016 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -200,7 +200,7 @@ private Map<String, Object> getMongoPorts(MutablePropertySources sources) {
200200
* {@code embeddedMongoServer} bean.
201201
*/
202202
@Configuration
203-
@ConditionalOnClass({MongoClient.class, MongoClientFactoryBean.class})
203+
@ConditionalOnClass({ MongoClient.class, MongoClientFactoryBean.class })
204204
protected static class EmbeddedMongoDependencyConfiguration
205205
extends MongoClientDependsOnBeanFactoryPostProcessor {
206206

0 commit comments

Comments
 (0)