Skip to content

Commit

Permalink
feat: remove deprecated functions
Browse files Browse the repository at this point in the history
  • Loading branch information
oSumAtrIX committed Jul 2, 2022
1 parent 109b8a2 commit ada5a03
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit ada5a03

Please sign in to comment.