Skip to content

Commit 89283eb

Browse files
drhill-metameta-codesync[bot]
authored andcommitted
Suppress k22 this-escape warnings via codemod [10/10]
Reviewed By: pasqualeanatriello Differential Revision: D108213947 fbshipit-source-id: cbd0cb83c666a9bbc383edbd9bbc6a4bc70567a9
1 parent 494c610 commit 89283eb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎memory-types/ashmem/src/main/java/com/facebook/imagepipeline/memory/AshmemMemoryChunk.java‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class AshmemMemoryChunk implements MemoryChunk, Closeable {
3030
/** Unique identifier of the chunk */
3131
private final long mId;
3232

33+
@SuppressWarnings("this-escape")
3334
public AshmemMemoryChunk(final int size) {
3435
Preconditions.checkArgument(size > 0);
3536
try {
@@ -41,6 +42,7 @@ public AshmemMemoryChunk(final int size) {
4142
mId = System.identityHashCode(this);
4243
}
4344

45+
@SuppressWarnings("this-escape")
4446
@VisibleForTesting
4547
public AshmemMemoryChunk() {
4648
mSharedMemory = null;

0 commit comments

Comments
 (0)