diff --git a/progression-event/progression-event-processor/src/main/java/uk/gov/moj/cpp/progression/helper/UnscheduledCourtHearingListTransformer.java b/progression-event/progression-event-processor/src/main/java/uk/gov/moj/cpp/progression/helper/UnscheduledCourtHearingListTransformer.java index 8c50a85094..55169457ee 100644 --- a/progression-event/progression-event-processor/src/main/java/uk/gov/moj/cpp/progression/helper/UnscheduledCourtHearingListTransformer.java +++ b/progression-event/progression-event-processor/src/main/java/uk/gov/moj/cpp/progression/helper/UnscheduledCourtHearingListTransformer.java @@ -121,7 +121,7 @@ private Optional transformCourtApplication(final final JurisdictionType jurisdictionType = getJuristictionType(hearing.getJurisdictionType(), judicialResultWithUnscheduledFlag.get()); final HearingType hearingType = HearingType.hearingType().withId(HEARING_TYPE_HRG_ID).withDescription(HEARING_TYPE_HRG_DESC).build(); - // No next hearing → no duration to forward; null lets the listing-side fallback into action + // No next hearing → no duration to forward; null lets the listing-side fallback // (HearingDurationDefaults) substitute a sane default. final HearingUnscheduledListingNeeds hearingListingNeeds = createHearingListingNeeds(hearing, typeOfList, jurisdictionType, hearing.getProsecutionCases(), Arrays.asList(createCourtApplication(courtApplication, judicialResultWithUnscheduledFlag.get())), hearingType, hearing.getCourtCentre(), null);