From 7472da6172b63249bd5eaa905dd5eac88fb10415 Mon Sep 17 00:00:00 2001 From: alperozturk Date: Mon, 19 Feb 2024 10:48:23 +0100 Subject: [PATCH] Fix code analytics Signed-off-by: alperozturk --- .../main/java/com/nextcloud/extensions/ArrayListExtensions.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/library/src/main/java/com/nextcloud/extensions/ArrayListExtensions.kt b/library/src/main/java/com/nextcloud/extensions/ArrayListExtensions.kt index 16851b27f..f05747800 100644 --- a/library/src/main/java/com/nextcloud/extensions/ArrayListExtensions.kt +++ b/library/src/main/java/com/nextcloud/extensions/ArrayListExtensions.kt @@ -2,6 +2,7 @@ package com.nextcloud.extensions import org.w3c.dom.Element +@Suppress("ReturnCount", "NestedBlockDepth") inline fun ArrayList<*>.processXmlData(tagName: String): T? { this.forEach { val element = it as? Element