Skip to content

Commit 8974ce0

Browse files
authored
Remove deprecated methods from AbstractCouchbaseConfiguration. (#1605)
Closes #1604.
1 parent 6117c18 commit 8974ce0

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

src/main/java/org/springframework/data/couchbase/config/AbstractCouchbaseConfiguration.java

-13
Original file line numberDiff line numberDiff line change
@@ -177,26 +177,13 @@ public CouchbaseTemplate couchbaseTemplate(CouchbaseClientFactory couchbaseClien
177177
getDefaultConsistency());
178178
}
179179

180-
@Deprecated
181-
public CouchbaseTemplate couchbaseTemplate(CouchbaseClientFactory couchbaseClientFactory,
182-
MappingCouchbaseConverter mappingCouchbaseConverter) {
183-
return couchbaseTemplate(couchbaseClientFactory, mappingCouchbaseConverter, new JacksonTranslationService());
184-
}
185-
186180
@Bean(name = BeanNames.REACTIVE_COUCHBASE_TEMPLATE)
187181
public ReactiveCouchbaseTemplate reactiveCouchbaseTemplate(CouchbaseClientFactory couchbaseClientFactory,
188182
MappingCouchbaseConverter mappingCouchbaseConverter, TranslationService couchbaseTranslationService) {
189183
return new ReactiveCouchbaseTemplate(couchbaseClientFactory, mappingCouchbaseConverter, couchbaseTranslationService,
190184
getDefaultConsistency());
191185
}
192186

193-
@Deprecated
194-
public ReactiveCouchbaseTemplate reactiveCouchbaseTemplate(CouchbaseClientFactory couchbaseClientFactory,
195-
MappingCouchbaseConverter mappingCouchbaseConverter) {
196-
return reactiveCouchbaseTemplate(couchbaseClientFactory, mappingCouchbaseConverter,
197-
new JacksonTranslationService());
198-
}
199-
200187
@Bean(name = BeanNames.COUCHBASE_OPERATIONS_MAPPING)
201188
public RepositoryOperationsMapping couchbaseRepositoryOperationsMapping(CouchbaseTemplate couchbaseTemplate) {
202189
// create a base mapping that associates all repositories to the default template

0 commit comments

Comments
 (0)