Use expression lambda instead of statement lambda

Signed-off-by: June <june@eridan.me>
This commit is contained in:
June 2022-02-06 03:21:10 +00:00 committed by Daniel Micay
parent a8828e3878
commit 5494376175

View File

@ -145,9 +145,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
final Bundle args = new Bundle();
args.putString(KEY_PROPERTIES, properties);
runOnUiThread(() -> {
LoaderManager.getInstance(PdfViewer.this).restartLoader(DocumentPropertiesLoader.ID, args, PdfViewer.this);
});
runOnUiThread(() -> LoaderManager.getInstance(PdfViewer.this).restartLoader(DocumentPropertiesLoader.ID, args, PdfViewer.this));
}
}