[Android] Equalizer: code cosmetics

Jean-Baptiste Kempf git at videolan.org
Sat May 23 20:22:07 CEST 2015


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Sat May 23 20:21:41 2015 +0200| [60e0eb48aed3d5cd17c17d92a9ced22313b1bed0] | committer: Jean-Baptiste Kempf

Equalizer: code cosmetics

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=60e0eb48aed3d5cd17c17d92a9ced22313b1bed0
---

 .../src/org/videolan/vlc/gui/audio/EqualizerFragment.java        |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.java b/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.java
index c0f793d..c8db2d8 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/EqualizerFragment.java
@@ -88,8 +88,8 @@ public class EqualizerFragment extends Fragment {
 
     private void fillViews() {
         SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(VLCApplication.getAppContext());
-        float[] bands = null;
-        String[] presets = null;
+        final float[] bands;
+        final String[] presets;
         libVlc = VLCInstance.get();
 
         bands = libVlc.getBands();
@@ -214,5 +214,5 @@ public class EqualizerFragment extends Fragment {
             if (libVlc != null && button.isChecked())
                 libVlc.setEqualizer(equalizer);
         }
-    };
+    }
 }
\ No newline at end of file



More information about the Android mailing list