From 3a56f604a9fcae88423c82e430eb543db809ac0e Mon Sep 17 00:00:00 2001 From: Jeremy1229 Date: Sun, 24 May 2015 11:56:36 -0500 Subject: [PATCH] Update MonthView.java Renamed variable identifiers for AttributeSet and int for the default style attribute. --- .../java/cn/aigestudio/datepicker/views/MonthView.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DatePicker/src/main/java/cn/aigestudio/datepicker/views/MonthView.java b/DatePicker/src/main/java/cn/aigestudio/datepicker/views/MonthView.java index 9d1897a..0e65c1e 100644 --- a/DatePicker/src/main/java/cn/aigestudio/datepicker/views/MonthView.java +++ b/DatePicker/src/main/java/cn/aigestudio/datepicker/views/MonthView.java @@ -110,12 +110,12 @@ public MonthView(Context context) { this(context, null); } - public MonthView(Context context, AttributeSet attrs) { - this(context, attrs, 0); + public MonthView(Context context, AttributeSet attributes) { + this(context, attributes, 0); } - public MonthView(Context context, AttributeSet attrs, int defStyleAttr) { - super(context, attrs, defStyleAttr); + public MonthView(Context context, AttributeSet attributes, int defaultStyleAttribute) { + super(context, attributes, defaultStyleAttribute)); mPaint = new Paint(Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG); mTextPaint = new TextPaint(Paint.ANTI_ALIAS_FLAG | Paint.DITHER_FLAG | Paint.DEV_KERN_TEXT_FLAG);