mirror of
https://github.com/revanced/revanced-patcher.git
synced 2025-06-13 05:37:38 +02:00
feat: remove deprecated functions
This commit is contained in:
@ -17,12 +17,6 @@ class ResourceData(private val resourceCacheDirectory: File) : Data, Iterable<Fi
|
|||||||
inner class XmlFileHolder {
|
inner class XmlFileHolder {
|
||||||
operator fun get(path: String) = DomFileEditor(this@ResourceData[path])
|
operator fun get(path: String) = DomFileEditor(this@ResourceData[path])
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated("Use operator getter instead of resolve function", ReplaceWith("get(path)"))
|
|
||||||
fun resolve(path: String) = get(path)
|
|
||||||
|
|
||||||
@Deprecated("Use operator getter on xmlEditor instead of getXmlEditor function", ReplaceWith("xmlEditor[path]"))
|
|
||||||
fun getXmlEditor(path: String) = xmlEditor[path]
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class DomFileEditor internal constructor(private val domFile: File) : Closeable {
|
class DomFileEditor internal constructor(private val domFile: File) : Closeable {
|
||||||
|
Reference in New Issue
Block a user