Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1fcb7590 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Very minor refactoring

parent ab2c1137
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -256,7 +256,6 @@ abstract class AndroidEvent(

    protected open fun populateAttendee(row: ContentValues) {
        Constants.log.log(Level.FINE, "Read event attendee from calender provider", row)
        MiscUtils.removeEmptyStrings(row)

        try {
            val attendee: Attendee
+6 −1
Original line number Diff line number Diff line
@@ -173,9 +173,14 @@ open class ICalendar {
        }

        /**
         * Validates an iCalendar resource and catches/logs a potential [ValidationException].
         * Validates an iCalendar resource.
         *
         * Debug builds only: throws [ValidationException] when the resource is invalid.
         * Release builds only: prints a warning to the log when the resource is invalid.
         *
         * @param ical iCalendar resource to be validated
         *
         * @throws ValidationException when the resource is invalid (only if [BuildConfig.DEBUG] is set)
         */
        fun softValidate(ical: Calendar) {
            try {