1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-06-26 07:03:20 +00:00

Add @NonNull annotation to method argument

Co-authored-by: Tobias Groza <TobiGr@users.noreply.github.com>
This commit is contained in:
Alexander-- 2020-07-22 07:57:04 -04:00 committed by GitHub
parent 6e73e0b395
commit 801267df18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -105,7 +105,7 @@ public final class FocusOverlayView extends Drawable implements
}
}
private boolean isShown(final View view) {
private boolean isShown(@NonNull final View view) {
return view.getWidth() != 0 && view.getHeight() != 0 && view.isShown();
}