Removed annotations due to wrong warnings

pull/7452/head
litetex 2021-11-29 21:03:59 +01:00
rodzic b2323859e5
commit 17724a901c
1 zmienionych plików z 3 dodań i 3 usunięć

Wyświetl plik

@ -22,7 +22,7 @@ public final class NoFileManagerSafeGuard {
* Shows an alert dialog when no file-manager is found.
* @param context Context
*/
private static void showActivityNotFoundAlert(@NonNull final Context context) {
private static void showActivityNotFoundAlert(final Context context) {
if (context == null) {
throw new IllegalArgumentException(
"Unable to open no file manager alert dialog: Context is null");
@ -54,8 +54,8 @@ public final class NoFileManagerSafeGuard {
public static <I> void launchSafe(
final ActivityResultLauncher<I> activityResultLauncher,
final I input,
@NonNull final String tag,
@NonNull final Context context
final String tag,
final Context context
) {
try {
activityResultLauncher.launch(input);