Address warnings in SSL service connection doc snippets

This commit is contained in:
Andy Wilkinson 2025-03-28 09:29:48 +00:00
parent 1f5df51e36
commit 2a92c0df1e
2 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,7 @@ class MyElasticsearchWithSslIntegrationTests {
"docker.elastic.co/elasticsearch/elasticsearch:8.17.2");
@Autowired
@SuppressWarnings("unused")
private ElasticsearchTemplate elasticsearchTemplate;
@Test

View File

@ -39,6 +39,7 @@ class MyRedisWithSslIntegrationTests {
static RedisContainer redis = new SecureRedisContainer("redis:latest");
@Autowired
@SuppressWarnings("unused")
private RedisOperations<Object, Object> operations;
@Test