github-code-scanning[bot] commented on code in PR #14827:
URL: https://github.com/apache/druid/pull/14827#discussion_r1300512986
##########
server/src/test/java/org/apache/druid/client/cache/MemcachedCacheTest.java:
##########
@@ -224,6 +217,26 @@
}
}
+ @Test
+ public void testSslConnection()
+ {
+ final MemcachedCacheConfig config = new MemcachedCacheConfig()
+ {
+ @Override
+ public boolean usesslconnection()
+ {
+ return true;
+ }
+
+ @Override
+ public String getHosts()
+ {
+ return "localhost:9999";
+ }
+ };
+ MemcachedCache cache = MemcachedCache.create(config);
Review Comment:
## Unread local variable
Variable 'MemcachedCache cache' is never read.
[Show more
details](https://github.com/apache/druid/security/code-scanning/5724)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]