Messaging: Language cleanup
No unnecessary boxing, enhanced for loops, redundant checks and throws, imports (removal, reordering), possible void returns Change-Id: I7a8e1b2007e3b0906e01b41785c518d02c2f3fab
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2015 The Android Open Source Project
|
||||
* Copyright (C) 2024 The LineageOS Project
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -52,7 +53,7 @@ public class FrequentContactsCursorQueryData extends CursorQueryData {
|
||||
|
||||
private abstract class StrequentContactsQueryStrategy implements Strategy<Void, Cursor> {
|
||||
@Override
|
||||
public Cursor execute(Void params) throws Exception {
|
||||
public Cursor execute(Void params) {
|
||||
final Uri uri = getUri();
|
||||
if (uri != null) {
|
||||
setUri(uri);
|
||||
|
||||
Reference in New Issue
Block a user