feat: remove deprecated functions

This commit is contained in:
oSumAtrIX
2022-07-02 04:21:20 +02:00
parent 109b8a296d
commit ada5a033de

View File

@ -17,12 +17,6 @@ class ResourceData(private val resourceCacheDirectory: File) : Data, Iterable<Fi
inner class XmlFileHolder {
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 {