Address warnings in SSL service connection doc snippets
This commit is contained in:
parent
1f5df51e36
commit
2a92c0df1e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue