From 906ee75278da7cb1d975b5b285fe692b17eea496 Mon Sep 17 00:00:00 2001 From: martin Date: Sat, 5 Feb 2022 12:31:07 +0100 Subject: [PATCH] Fixed checkstyle violation --- .../newpipe/player/helper/PlaybackParameterDialog.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/player/helper/PlaybackParameterDialog.java b/app/src/main/java/org/schabi/newpipe/player/helper/PlaybackParameterDialog.java index 74604eda0..0fe500965 100644 --- a/app/src/main/java/org/schabi/newpipe/player/helper/PlaybackParameterDialog.java +++ b/app/src/main/java/org/schabi/newpipe/player/helper/PlaybackParameterDialog.java @@ -207,13 +207,11 @@ public class PlaybackParameterDialog extends DialogFragment { } private void togglePitchSliderType(@NonNull final View rootView) { - @Nullable final RelativeLayout pitchControl = rootView.findViewById(R.id.pitchControl); - @Nullable final RelativeLayout semitoneControl = rootView.findViewById(R.id.semitoneControl); - @Nullable - final View separatorStepSizeSelector = rootView.findViewById(R.id.separatorStepSizeSelector); + final View separatorStepSizeSelector = + rootView.findViewById(R.id.separatorStepSizeSelector); final RelativeLayout.LayoutParams params = (RelativeLayout.LayoutParams) separatorStepSizeSelector.getLayoutParams(); if (pitchControl != null && semitoneControl != null && unhookingCheckbox != null) {