Lint: Redundant 'new' expression in constant array creation

This commit is contained in:
TacoTheDank 2020-11-18 17:52:30 -05:00
parent 39e5d8ccc2
commit 00b08318a5
4 changed files with 4 additions and 4 deletions

View file

@ -82,7 +82,7 @@ public class StoredDirectoryHelper {
docTree.getUri(), DocumentsContract.getDocumentId(docTree.getUri())
);
String[] projection = new String[]{COLUMN_DISPLAY_NAME};
String[] projection = {COLUMN_DISPLAY_NAME};
String selection = "(LOWER(" + COLUMN_DISPLAY_NAME + ") LIKE ?%";
ContentResolver cr = context.getContentResolver();