Enable lint checks in pull-requests

commit_hash:84aa329b2a8885bc0aee17be3dc52a0c489ed840
This commit is contained in:
grechka62
2025-03-28 12:08:22 +03:00
parent 7dd5307274
commit 3fa67b1458
5 changed files with 10 additions and 3 deletions
@@ -1,6 +1,5 @@
package com.yandex.div.internal.parser
import android.annotation.SuppressLint
import com.yandex.div.internal.util.forEach
import com.yandex.div.json.ParsingErrorLogger
import com.yandex.div.json.ParsingException
@@ -47,7 +46,6 @@ internal object JsonTopologicalSorting {
* @throws ParsingException if top level object has no parent reference or it is empty.
* @throws JSONException if json is malformed.
*/
@SuppressLint("NewApi")
@Throws(JSONException::class, ParsingException::class, CyclicDependencyException::class)
fun sort(context: ParsingContext, json: JSONObject): Map<String, Set<String>> {
val types = parseTypeDependencies(context, json)