Skip to content

Commit

Permalink
INTERNAL: Suppress-warning for this-escape
Browse files Browse the repository at this point in the history
  • Loading branch information
cheesecrust authored and jhpark816 committed Oct 7, 2024
1 parent ca4fd76 commit 8b9d693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/net/spy/memcached/ArcusClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<InetSocketAddress> addrs)
throws IOException {
super(cf, name, addrs);
Expand Down
1 change: 1 addition & 0 deletions src/main/java/net/spy/memcached/MemcachedClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ public MemcachedClient(ConnectionFactory cf, List<InetSocketAddress> addrs)
* @param addrs the socket addresses
* @throws IOException if connections cannot be established
*/
@SuppressWarnings("this-escape")
public MemcachedClient(ConnectionFactory cf, String name, List<InetSocketAddress> addrs)
throws IOException {
if (cf == null) {
Expand Down

0 comments on commit 8b9d693

Please sign in to comment.