Skip to content

Commit a4304f5

Browse files
committed
Remove logging statements
1 parent c1a3aa2 commit a4304f5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

bottomsheetpickers/src/main/java/com/philliphsu/bottomsheetpickers/date/BottomSheetDatePickerDialog.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import android.support.annotation.Nullable;
2323
import android.support.v4.content.ContextCompat;
2424
import android.text.format.DateUtils;
25-
import android.util.Log;
2625
import android.view.LayoutInflater;
2726
import android.view.View;
2827
import android.view.View.OnClickListener;
@@ -431,21 +430,17 @@ private void updateDisplay(boolean announce) {
431430
int yearEnd = yearStart + year.length();
432431
int monthDayStart = fullDate.indexOf(monthAndDay);
433432
int monthDayEnd = monthDayStart + monthAndDay.length();
434-
Log.d(TAG, String.format("yearStart = %d, yearEnd = %d, monthDayStart = %d, monthDayEnd = %d",
435-
yearStart, yearEnd, monthDayStart, monthDayEnd));
436433

437434
boolean processed = false;
438435
if (monthDayStart != -1 && yearStart != -1) {
439436
if (mLocaleMonthDayIndex < mLocaleYearIndex) {
440437
if (yearStart - monthDayEnd <= 2) {
441-
Log.d(TAG, "Processed in new algorithm");
442438
monthAndDay = fullDate.substring(monthDayStart, yearStart);
443439
year = fullDate.substring(yearStart, fullDate.length());
444440
processed = true;
445441
}
446442
} else {
447443
if (monthDayStart - yearEnd <= 2) {
448-
Log.d(TAG, "Processed in new algorithm");
449444
year = fullDate.substring(yearStart, monthDayStart);
450445
monthAndDay = fullDate.substring(monthDayStart, fullDate.length());
451446
processed = true;
@@ -482,7 +477,6 @@ private void updateDisplay(boolean announce) {
482477

483478
// Year delimiters longer than 2 characters, fall back on pre-2.1.1 implementation.
484479
if (!processed) {
485-
Log.d(TAG, "Fall back to old algorithm");
486480
// The month-day is already formatted appropriately
487481
year = extractYearFromFormattedDate(fullDate, monthAndDay);
488482
}

0 commit comments

Comments
 (0)