From 3956070e7d09e3fc71c95b0b70dd56ee8a2cd3e3 Mon Sep 17 00:00:00 2001 From: Vinay Gaba Date: Fri, 21 Apr 2017 21:55:58 -0700 Subject: [PATCH] Minor nits Removed unnecessary boolean initializations --- .../vinaygaba/creditcardview/CreditCardView.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/library/src/main/java/com/vinaygaba/creditcardview/CreditCardView.java b/library/src/main/java/com/vinaygaba/creditcardview/CreditCardView.java index ddf2572..5bafc54 100644 --- a/library/src/main/java/com/vinaygaba/creditcardview/CreditCardView.java +++ b/library/src/main/java/com/vinaygaba/creditcardview/CreditCardView.java @@ -83,17 +83,17 @@ public class CreditCardView extends RelativeLayout { private int mType = VISA; private int mBrandLogo; private int cardSide = CARD_FRONT; - private boolean mPutChip = false; - private boolean mIsEditable = false; - private boolean mIsCardNumberEditable = false; - private boolean mIsCardNameEditable = false; - private boolean mIsExpiryDateEditable = false; - private boolean mIsCvvEditable = false; + private boolean mPutChip; + private boolean mIsEditable; + private boolean mIsCardNumberEditable; + private boolean mIsCardNameEditable; + private boolean mIsExpiryDateEditable; + private boolean mIsCvvEditable; + private boolean mIsFlippable; private int mHintTextColor = Color.WHITE; private int mCvvHintColor = Color.WHITE; private int mCardFrontBackground; private int mCardBackBackground; - private boolean mIsFlippable = false; private Typeface creditCardTypeFace; private ImageButton mFlipBtn; private EditText mCardNumberView;