Address warnings in SSL service connection doc snippets
This commit is contained in:
@@ -38,6 +38,7 @@ class MyElasticsearchWithSslIntegrationTests {
|
||||
"docker.elastic.co/elasticsearch/elasticsearch:8.17.2");
|
||||
|
||||
@Autowired
|
||||
@SuppressWarnings("unused")
|
||||
private ElasticsearchTemplate elasticsearchTemplate;
|
||||
|
||||
@Test
|
||||
|
||||
@@ -39,6 +39,7 @@ class MyRedisWithSslIntegrationTests {
|
||||
static RedisContainer redis = new SecureRedisContainer("redis:latest");
|
||||
|
||||
@Autowired
|
||||
@SuppressWarnings("unused")
|
||||
private RedisOperations<Object, Object> operations;
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user