Fixed checkstyle violation

This commit is contained in:
martin 2022-02-05 12:31:07 +01:00
parent 4049abf2c0
commit 906ee75278
1 changed files with 2 additions and 4 deletions

View File

@ -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) {