1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2024-12-23 16:40:32 +00:00

Fixed checkstyle violation

This commit is contained in:
martin 2022-02-05 12:31:07 +01:00
parent 4049abf2c0
commit 906ee75278

View File

@ -207,13 +207,11 @@ public class PlaybackParameterDialog extends DialogFragment {
} }
private void togglePitchSliderType(@NonNull final View rootView) { private void togglePitchSliderType(@NonNull final View rootView) {
@Nullable
final RelativeLayout pitchControl = rootView.findViewById(R.id.pitchControl); final RelativeLayout pitchControl = rootView.findViewById(R.id.pitchControl);
@Nullable
final RelativeLayout semitoneControl = rootView.findViewById(R.id.semitoneControl); final RelativeLayout semitoneControl = rootView.findViewById(R.id.semitoneControl);
@Nullable final View separatorStepSizeSelector =
final View separatorStepSizeSelector = rootView.findViewById(R.id.separatorStepSizeSelector); rootView.findViewById(R.id.separatorStepSizeSelector);
final RelativeLayout.LayoutParams params = final RelativeLayout.LayoutParams params =
(RelativeLayout.LayoutParams) separatorStepSizeSelector.getLayoutParams(); (RelativeLayout.LayoutParams) separatorStepSizeSelector.getLayoutParams();
if (pitchControl != null && semitoneControl != null && unhookingCheckbox != null) { if (pitchControl != null && semitoneControl != null && unhookingCheckbox != null) {