Skip to content

Commit 17724a9

Browse files
committed
Removed annotations due to wrong warnings
1 parent b232385 commit 17724a9

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/java/org/schabi/newpipe/streams/io/NoFileManagerSafeGuard.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ private NoFileManagerSafeGuard() {
2222
* Shows an alert dialog when no file-manager is found.
2323
* @param context Context
2424
*/
25-
private static void showActivityNotFoundAlert(@NonNull final Context context) {
25+
private static void showActivityNotFoundAlert(final Context context) {
2626
if (context == null) {
2727
throw new IllegalArgumentException(
2828
"Unable to open no file manager alert dialog: Context is null");
@@ -54,8 +54,8 @@ private static void showActivityNotFoundAlert(@NonNull final Context context) {
5454
public static <I> void launchSafe(
5555
final ActivityResultLauncher<I> activityResultLauncher,
5656
final I input,
57-
@NonNull final String tag,
58-
@NonNull final Context context
57+
final String tag,
58+
final Context context
5959
) {
6060
try {
6161
activityResultLauncher.launch(input);

0 commit comments

Comments
 (0)