File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
vaadin-grid-filter/src/main/java/software/xdev/vaadin Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -432,15 +432,15 @@ private void deactivateDeleteButtonFromChipComponents(
432
432
/**
433
433
* Format chip badge input text for LocalDate and LocalDateTime.
434
434
*/
435
- // TODO: Catching the parse errors is fixed in Branch FLX-353
436
435
private void formatLocalDateChipBadgeText (final ChipBadge <FilterCondition <T , ?>> chipBadge )
437
436
{
438
437
if (this .dateRangePickerQuery .isVisible ()
439
438
&& chipBadge .getItem ().getSelectedCondition ().getDescription ().equals (IS_BETWEEN_COMPARATOR_DESCRIPTION ))
440
439
{
441
440
chipBadge .setItemLabelGenerator ((ItemLabelGenerator <FilterCondition <T , ?>>)tFilterCondition ->
442
441
{
443
- LocalDate startDate , endDate ;
442
+ LocalDate startDate ;
443
+ LocalDate endDate ;
444
444
445
445
try
446
446
{
@@ -606,12 +606,10 @@ private void setQueryValue(final String searchQuery)
606
606
}
607
607
else if (this .dateSearchQuery .isVisible ())
608
608
{
609
- // FIXME: Catch parse errors
610
609
this .dateSearchQuery .setValue (LocalDate .parse (searchQuery ));
611
610
}
612
611
else if (this .dateTimeSearchQuery .isVisible ())
613
612
{
614
- // FIXME: Catch parse errors
615
613
this .dateTimeSearchQuery .setValue (LocalDateTime .parse (searchQuery ));
616
614
}
617
615
else if (this .selSearchQuery .isVisible ())
You can’t perform that action at this time.
0 commit comments