Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Commit 778e414

Browse files
committed
Fix linting
1 parent d921cf2 commit 778e414

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/main/kotlin/at/bitfire/ical4android/AndroidEvent.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ abstract class AndroidEvent(
365365
// scheduling
366366
if (groupScheduled) {
367367
// ORGANIZER must only be set for group-scheduled events (= events with attendees)
368-
if (row.containsKey(Events.ORGANIZER) && groupScheduled)
368+
if (row.containsKey(Events.ORGANIZER))
369369
try {
370370
event.organizer = Organizer(URI("mailto", row.getAsString(Events.ORGANIZER), null))
371371
} catch (e: URISyntaxException) {
@@ -489,7 +489,7 @@ abstract class AndroidEvent(
489489
EXTNAME_URL ->
490490
try {
491491
event.url = URI(rawValue)
492-
} catch(e: URISyntaxException) {
492+
} catch(_: URISyntaxException) {
493493
logger.warning("Won't process invalid local URL: $rawValue")
494494
}
495495

0 commit comments

Comments
 (0)