Removed annotations due to wrong warnings

This commit is contained in:
litetex 2021-11-29 21:03:59 +01:00
parent b2323859e5
commit 17724a901c
1 changed files with 3 additions and 3 deletions

View File

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