From 024fa867e115f984cfa3e395b78f4f43aa81709b Mon Sep 17 00:00:00 2001 From: oSumAtrIX Date: Sat, 7 May 2022 21:36:05 +0200 Subject: [PATCH] fix: qualifying `Element` with wrong package Signed-off-by: oSumAtrIX --- .idea/misc.xml | 2 +- .../kotlin/app/revanced/patcher/usage/ExampleResourcePatch.kt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.idea/misc.xml b/.idea/misc.xml index 2266f6bc..6a8d183f 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -4,7 +4,7 @@ - + \ No newline at end of file diff --git a/src/test/kotlin/app/revanced/patcher/usage/ExampleResourcePatch.kt b/src/test/kotlin/app/revanced/patcher/usage/ExampleResourcePatch.kt index db3b7973..ae41181d 100644 --- a/src/test/kotlin/app/revanced/patcher/usage/ExampleResourcePatch.kt +++ b/src/test/kotlin/app/revanced/patcher/usage/ExampleResourcePatch.kt @@ -5,7 +5,7 @@ import app.revanced.patcher.patch.implementation.ResourcePatch import app.revanced.patcher.patch.implementation.metadata.PatchMetadata import app.revanced.patcher.patch.implementation.misc.PatchResult import app.revanced.patcher.patch.implementation.misc.PatchResultSuccess -import com.sun.org.apache.xerces.internal.dom.ElementImpl +import org.w3c.dom.Element class ExampleResourcePatch : ResourcePatch( PatchMetadata( @@ -23,7 +23,7 @@ class ExampleResourcePatch : ResourcePatch( val element = editor .file .getElementsByTagName("application") - .item(0) as ElementImpl + .item(0) as Element element .setAttribute( "exampleAttribute",