Skip to content

Commit 14fc0f7

Browse files
committed
Polish "Stop considering persistent when scanning for Couchbase entities"
See gh-28124
1 parent 067b349 commit 14fc0f7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-boot-project/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/data/couchbase/CouchbaseDataConfiguration.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ CouchbaseMappingContext couchbaseMappingContext(CouchbaseDataProperties properti
6363
ApplicationContext applicationContext, CouchbaseCustomConversions couchbaseCustomConversions)
6464
throws Exception {
6565
CouchbaseMappingContext mappingContext = new CouchbaseMappingContext();
66-
mappingContext
67-
.setInitialEntitySet(new EntityScanner(applicationContext).scan(Document.class));
66+
mappingContext.setInitialEntitySet(new EntityScanner(applicationContext).scan(Document.class));
6867
mappingContext.setSimpleTypeHolder(couchbaseCustomConversions.getSimpleTypeHolder());
6968
Class<?> fieldNamingStrategy = properties.getFieldNamingStrategy();
7069
if (fieldNamingStrategy != null) {

0 commit comments

Comments
 (0)