From 9a7611efcb7cab12cede1f4c5d5ec1ed2d42678f Mon Sep 17 00:00:00 2001 From: Brian Chan Date: Tue, 2 Apr 2024 17:20:45 +0900 Subject: [PATCH] LPD-20495 auto SF --- .../main/java/com/liferay/calendar/util/RecurrenceUtil.java | 3 ++- .../com/liferay/calendar/util/test/RecurrenceUtilTest.java | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/apps/calendar/calendar-api/src/main/java/com/liferay/calendar/util/RecurrenceUtil.java b/modules/apps/calendar/calendar-api/src/main/java/com/liferay/calendar/util/RecurrenceUtil.java index 29ad9e46e28520..b266c0f73fbac0 100644 --- a/modules/apps/calendar/calendar-api/src/main/java/com/liferay/calendar/util/RecurrenceUtil.java +++ b/modules/apps/calendar/calendar-api/src/main/java/com/liferay/calendar/util/RecurrenceUtil.java @@ -286,7 +286,8 @@ else if ((frequency == Frequency.WEEKLY) && !weekdays.isEmpty()) { formattedWeekdays.add(_weekdayLabels.get(weekday.toString())); } - arguments.add(ListUtil.toString(formattedWeekdays, StringPool.BLANK)); + arguments.add( + ListUtil.toString(formattedWeekdays, StringPool.BLANK)); } Calendar untilJCalendar = recurrence.getUntilJCalendar(); diff --git a/modules/apps/calendar/calendar-test/src/testIntegration/java/com/liferay/calendar/util/test/RecurrenceUtilTest.java b/modules/apps/calendar/calendar-test/src/testIntegration/java/com/liferay/calendar/util/test/RecurrenceUtilTest.java index 8bd2df6b490e28..09f08613ca16ce 100644 --- a/modules/apps/calendar/calendar-test/src/testIntegration/java/com/liferay/calendar/util/test/RecurrenceUtilTest.java +++ b/modules/apps/calendar/calendar-test/src/testIntegration/java/com/liferay/calendar/util/test/RecurrenceUtilTest.java @@ -17,7 +17,6 @@ import com.liferay.calendar.util.RecurrenceUtil; import com.liferay.portal.kernel.model.Group; import com.liferay.portal.kernel.test.util.GroupTestUtil; -import com.liferay.portal.kernel.util.LocaleUtil; import com.liferay.portal.test.rule.LiferayIntegrationTestRule; import java.util.ArrayList;