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

Commit 7146a392 authored by Ricki Hirner's avatar Ricki Hirner
Browse files

Lint

parent fa173ab2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -172,7 +172,7 @@ data class Response(
            // (for clarity and resolving relative paths)
            propStat.filter { it.isSuccess() }
                .map { it.properties }
                .filterIsInstance(ResourceType::class.java)
                .filterIsInstance<ResourceType>()
                .firstOrNull()
                ?.let { type ->
                    if (type.types.contains(ResourceType.COLLECTION))
+0 −1
Original line number Diff line number Diff line
@@ -9,7 +9,6 @@ package at.bitfire.dav4jvm
import okhttp3.HttpUrl
import java.net.URI
import java.net.URISyntaxException
import java.net.URLDecoder
import java.util.logging.Level
import java.util.logging.Logger

+1 −1
Original line number Diff line number Diff line
@@ -32,7 +32,7 @@ data class SupportedCalendarComponentSet(

        override fun getName() = NAME

        override fun create(parser: XmlPullParser): SupportedCalendarComponentSet? {
        override fun create(parser: XmlPullParser): SupportedCalendarComponentSet {
            /* <!ELEMENT supported-calendar-component-set (comp+)>
               <!ELEMENT comp ((allprop | prop*), (allcomp | comp*))>
               <!ATTLIST comp name CDATA #REQUIRED>
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ class PushSubscribe: Property {

        override fun getName() = NAME

        override fun create(parser: XmlPullParser): PushSubscribe? {
        override fun create(parser: XmlPullParser): PushSubscribe {
            val subscribe = PushSubscribe()

            val depth = parser.depth
+1 −1
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ data class CreationDate(
        override fun getName() = NAME

        override fun create(parser: XmlPullParser): CreationDate? {
            XmlUtils.readText(parser)?.let { it ->
            XmlUtils.readText(parser)?.let {
                return CreationDate(it)
            }
            return null
Loading