Skip to content

Fix misimport of ktor variable in common module #104

@ArnyminerZ

Description

@ArnyminerZ

HrefListProperty currently uses the ktor module:

import at.bitfire.dav4jvm.ktor.DavResource

Which I believe is simply an error. We should have some common property somewhere outside both modules. Because obviously, HREF exists both in ktor:

val HREF = Property.Name(NS_WEBDAV, "href")

and okhttp:

https://github.com/bitfireAT/dav4jvm/blob/main/src/main/kotlin/at/bitfire/dav4jvm/okhttp/DavResource.kt#L83

This forces applications that use okhttp to also include ktor's dependencies.

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringInternal improvement of existing functions

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions