Skip to content

Commit 704e9bd

Browse files
committed
Fix checkstyle
1 parent d273560 commit 704e9bd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/java/org/schabi/newpipe/settings/SettingMigrations.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,12 @@ protected void migrate(final Context context) {
111111
public static final Migration MIGRATION_4_5 = new Migration(4, 5) {
112112
@Override
113113
protected void migrate(final Context context) {
114-
boolean brightnessGestureSwitch = sp.getBoolean(
114+
final boolean brightnessGestureSwitch = sp.getBoolean(
115115
context.getString(R.string.left_gesture_control_key), true);
116-
boolean volumeGestureSwitch = sp.getBoolean(
116+
final boolean volumeGestureSwitch = sp.getBoolean(
117117
context.getString(R.string.right_gesture_control_key), true);
118118

119-
SharedPreferences.Editor editor = sp.edit();
119+
final SharedPreferences.Editor editor = sp.edit();
120120

121121
if (volumeGestureSwitch) {
122122
if (!brightnessGestureSwitch) {

0 commit comments

Comments
 (0)