mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix(lsp/java): impl optimizations in JavaJarModelBuilder
- avoid allocating temporary lists - avoid multiple string operations Apart from this, the commit fixes some compilation errors.
This commit is contained in:
@@ -706,7 +706,7 @@ class ResourceEntry(val name : String) {
|
||||
var allowNew: AllowNew? = null
|
||||
var overlayable: OverlayableItem? = null
|
||||
|
||||
internal val values = mutableListOf<ResourceConfigValue>()
|
||||
val values = mutableListOf<ResourceConfigValue>()
|
||||
|
||||
fun findValue(config: ConfigDescription, product: String = ""): ResourceConfigValue? {
|
||||
return values.find { it.config == config && it.product == product }
|
||||
|
||||
Reference in New Issue
Block a user