mirror of
https://github.com/ReVanced/revanced-patcher.git
synced 2026-01-19 09:23:56 +00:00
Compare commits
2 Commits
v2.1.2
...
v2.2.0-dev
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
60a8278ae8 | ||
|
|
ada5a033de |
@@ -1,3 +1,10 @@
|
|||||||
|
# [2.2.0-dev.1](https://github.com/revanced/revanced-patcher/compare/v2.1.2...v2.2.0-dev.1) (2022-07-02)
|
||||||
|
|
||||||
|
|
||||||
|
### Features
|
||||||
|
|
||||||
|
* remove deprecated functions ([ada5a03](https://github.com/revanced/revanced-patcher/commit/ada5a033de3cf94e7255ec2d522520f86431f001))
|
||||||
|
|
||||||
## [2.1.2](https://github.com/revanced/revanced-patcher/compare/v2.1.1...v2.1.2) (2022-06-29)
|
## [2.1.2](https://github.com/revanced/revanced-patcher/compare/v2.1.1...v2.1.2) (2022-06-29)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,2 +1,2 @@
|
|||||||
kotlin.code.style = official
|
kotlin.code.style = official
|
||||||
version = 2.1.2
|
version = 2.2.0-dev.1
|
||||||
|
|||||||
@@ -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