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");
|
"docker.elastic.co/elasticsearch/elasticsearch:8.17.2");
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@SuppressWarnings("unused")
|
||||||
private ElasticsearchTemplate elasticsearchTemplate;
|
private ElasticsearchTemplate elasticsearchTemplate;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
@ -39,6 +39,7 @@ class MyRedisWithSslIntegrationTests {
|
||||||
static RedisContainer redis = new SecureRedisContainer("redis:latest");
|
static RedisContainer redis = new SecureRedisContainer("redis:latest");
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
|
@SuppressWarnings("unused")
|
||||||
private RedisOperations<Object, Object> operations;
|
private RedisOperations<Object, Object> operations;
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
Loading…
Reference in New Issue