mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Fix array-related errorprone warnings
The ArrayEquals, ArrayHashCode, ArrayToString, and ArraysAsListPrimitiveArray errorprone findings were demoted from errors to warnings. Fix existing occurrences of them so they can be made errors again. Bug: 242630963 Test: RUN_ERROR_PRONE=true m javac-check Change-Id: I689397a7196277de3fd301836e72f7555e2036cb
This commit is contained in:
parent
a9786e84d9
commit
7ad99e3431
@ -26,6 +26,7 @@ import android.os.ParcelFileDescriptor;
|
||||
import android.util.Log;
|
||||
|
||||
import java.io.FileNotFoundException;
|
||||
import java.util.Arrays;
|
||||
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
@ -62,7 +63,8 @@ public class DownloadManagerWrapper {
|
||||
// We couldn't remove the file from DownloadManager. Apparently, the database can't
|
||||
// be opened. It may be a problem with file system corruption. In any case, there is
|
||||
// not much we can do apart from avoiding crashing.
|
||||
Log.e(TAG, "Can't remove files with ID " + ids + " from download manager", e);
|
||||
Log.e(TAG, "Can't remove files with ID " + Arrays.toString(ids) +
|
||||
" from download manager", e);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user