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

@ -292,7 +292,7 @@ public class MissionAdapter extends RecyclerView.Adapter<MissionAdapter.ViewHold
public long lastTimeStamp = -1;
public long lastDone = -1;
public int colorId = 0;
public int colorId;
public ViewHolder(View v) {
super(v);

View file

@ -9,7 +9,7 @@ import android.graphics.drawable.Drawable;
public class ProgressDrawable extends Drawable
{
private float mProgress = 0.0f;
private float mProgress;
private int mBackgroundColor, mForegroundColor;
public ProgressDrawable(Context context, int background, int foreground) {

View file

@ -32,7 +32,7 @@ public abstract class MissionsFragment extends Fragment
private DownloadManagerService.DMBinder mBinder;
private SharedPreferences mPrefs;
private boolean mLinear = false;
private boolean mLinear;
private MenuItem mSwitch;
private RecyclerView mList;