Fixing pmd:RedundantFieldInitializer - Redundant Field Initializer.

This commit is contained in:
Faisal Hameed 2016-06-24 05:37:44 +05:00
parent 25a776cc93
commit dd2398efad
17 changed files with 45 additions and 45 deletions

View file

@ -67,7 +67,7 @@ public class BackgroundPlayer extends Service /*implements MediaPlayer.OnPrepare
// Determines if the service is already running.
// Prevents launching the service twice.
public static volatile boolean isRunning = false;
public static volatile boolean isRunning;
public BackgroundPlayer() {
super();
@ -121,7 +121,7 @@ public class BackgroundPlayer extends Service /*implements MediaPlayer.OnPrepare
private BackgroundPlayer owner;
private NotificationManager noteMgr;
private WifiManager.WifiLock wifiLock;
private Bitmap videoThumbnail = null;
private Bitmap videoThumbnail;
private NotificationCompat.Builder noteBuilder;
private Notification note;

View file

@ -66,14 +66,14 @@ public class PlayVideoActivity extends AppCompatActivity {
private ActionBar actionBar;
private VideoView videoView;
private int position = 0;
private int position;
private MediaController mediaController;
private ProgressBar progressBar;
private View decorView;
private boolean uiIsHidden = false;
private static long lastUiShowTime = 0;
private boolean uiIsHidden;
private static long lastUiShowTime;
private boolean isLandscape = true;
private boolean hasSoftKeys = false;
private boolean hasSoftKeys;
private SharedPreferences prefs;
private static final String PREF_IS_LANDSCAPE = "is_landscape";