Skip to content

[ical4j 4.x] Update event handlers part 2#240

Open
cketti wants to merge 9 commits intoical4j-3to4from
236-ical4j-4x-update-event-handlers-part2
Open

[ical4j 4.x] Update event handlers part 2#240
cketti wants to merge 9 commits intoical4j-3to4from
236-ical4j-4x-update-event-handlers-part2

Conversation

@cketti
Copy link
Contributor

@cketti cketti commented Mar 17, 2026

Migrate some event handlers.

@cketti cketti added the refactoring Quality improvement of existing functions label Mar 17, 2026
@cketti cketti linked an issue Mar 17, 2026 that may be closed by this pull request
@cketti cketti marked this pull request as ready for review March 17, 2026 16:13
@cketti cketti requested a review from ArnyminerZ March 17, 2026 16:13
// attendee identified by namespace and ID
attendee = Attendee(URI(idNS, id, null))
email?.let { attendee.parameters.add(Email(it)) }
email?.let { attendee.add<Attendee>(Email(it)) }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess, for the sake of consistency, why not using

attendee += Email(it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactoring Quality improvement of existing functions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ical4j 4.x] Update event handlers part2

2 participants