Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

squid:S3052 - Fields should not be initialized to default values #134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,18 @@ public class IabHelper {

private static final String CONSUME = "consume";
// Is debug logging enabled?
private boolean mDebugLog = false;
private boolean mDebugLog;
private String mDebugTag = "IabHelper";
// Is setup done?
private boolean mSetupDone = false;
private boolean mSetupDone;
// Has this object been disposed of? (If so, we should ignore callbacks, etc)
private boolean mDisposed = false;
private boolean mIsBound = false;
private boolean mDisposed;
private boolean mIsBound;
// Are subscriptions supported?
private boolean mSubscriptionsSupported = false;
private boolean mSubscriptionsSupported;
// Is an asynchronous operation in progress?
// (only one at a time can be in progress)
private boolean mAsyncInProgress = false;
private boolean mAsyncInProgress;
// (for logging/debugging)
// if mAsyncInProgress == true, what asynchronous operation is in progress?
private String mAsyncOperation = "";
Expand All @@ -139,7 +139,7 @@ public class IabHelper {
// The item type of the current purchase flow
private String mPurchasingItemType;
// Public key for verifying signature, in base64 encoding
private String mSignatureBase64 = null;
private String mSignatureBase64;
// The listener registered on launchPurchaseFlow, which we have to call back when
// the purchase finishes
private OnIabPurchaseFinishedListener mPurchaseListener;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,22 @@ public class JoystickView extends View {
public enum Direction { CENTER, RIGHT, UP, LEFT, DOWN };
// Variables
private OnJoystickMoveListener mOnJoystickMoveListener;
private int mPositionX = 0;
private int mPositionY = 0;
private int mCenterX = 0;
private int mCenterY = 0;
private int mPositionX;
private int mPositionY;
private int mCenterX;
private int mCenterY;
private Paint mCirclePaint;
private Paint mButtonPaint;
private Paint mButtonImagePaint;
private Bitmap mCenterImage, mLeftImage, mRightImage, mUpImage, mDownImage;
private float mJoystickRadius;
private float mButtonRadius;
private float mOuterCircleRadius;
private int mLastAngle = 0;
private int mLastPower = 0;
private boolean mUserIsTouching = false;
private boolean mCalledOnce = false;
private boolean mDrawn = false;
private int mLastAngle;
private int mLastPower;
private boolean mUserIsTouching;
private boolean mCalledOnce;
private boolean mDrawn;
private Context mContext;

private final Runnable mCallbackRunnable = new Runnable() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ protected synchronized Object initialValue() {
/**
* Running total of the hashCode.
*/
private int iTotal = 0;
private int iTotal;

/**
* <p>
Expand Down