From 8b9d693c9c77e2be1aca337183c9e6819423ed2e Mon Sep 17 00:00:00 2001 From: cheesecrust Date: Wed, 2 Oct 2024 12:09:26 +0900 Subject: [PATCH] INTERNAL: Suppress-warning for `this-escape` --- src/main/java/net/spy/memcached/ArcusClient.java | 1 + src/main/java/net/spy/memcached/MemcachedClient.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/net/spy/memcached/ArcusClient.java b/src/main/java/net/spy/memcached/ArcusClient.java index 9d3c852fe..c83b89d89 100644 --- a/src/main/java/net/spy/memcached/ArcusClient.java +++ b/src/main/java/net/spy/memcached/ArcusClient.java @@ -348,6 +348,7 @@ protected static ArcusClient getInstance(ConnectionFactory cf, * @param addrs socket addresses for the memcached servers * @throws IOException if connections cannot be established */ + @SuppressWarnings("this-escape") public ArcusClient(ConnectionFactory cf, String name, List addrs) throws IOException { super(cf, name, addrs); diff --git a/src/main/java/net/spy/memcached/MemcachedClient.java b/src/main/java/net/spy/memcached/MemcachedClient.java index e65f6204f..ac076ad6b 100644 --- a/src/main/java/net/spy/memcached/MemcachedClient.java +++ b/src/main/java/net/spy/memcached/MemcachedClient.java @@ -190,6 +190,7 @@ public MemcachedClient(ConnectionFactory cf, List addrs) * @param addrs the socket addresses * @throws IOException if connections cannot be established */ + @SuppressWarnings("this-escape") public MemcachedClient(ConnectionFactory cf, String name, List addrs) throws IOException { if (cf == null) {