diff options
author | Ignat Beresnev <ignat.beresnev@jetbrains.com> | 2022-04-19 13:11:38 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-19 13:11:38 +0300 |
commit | 3d573827230e7a750c002cf416cf9231161dd9b3 (patch) | |
tree | 9da32e97873536db521974a004929cbb0c8a29df /integration-tests/src/main/kotlin | |
parent | 2a0ed52ff33c2ea38cf2bbd439a8b5af9f692d04 (diff) | |
download | dokka-3d573827230e7a750c002cf416cf9231161dd9b3.tar.gz dokka-3d573827230e7a750c002cf416cf9231161dd9b3.tar.bz2 dokka-3d573827230e7a750c002cf416cf9231161dd9b3.zip |
Update Jsoup to 1.14.3 (#2448)
* Update Jsoup to 1.14.3
* Fix Jsoup API breaking changes after the update
* Fix new Qodana inspections
* Replace IllegalStateException with more appropriate NoSuchElementException
Diffstat (limited to 'integration-tests/src/main/kotlin')
-rw-r--r-- | integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt b/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt index c5ea0093..adc75f43 100644 --- a/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt +++ b/integration-tests/src/main/kotlin/org/jetbrains/dokka/it/AbstractIntegrationTest.kt @@ -61,7 +61,7 @@ abstract class AbstractIntegrationTest { val fileText = file.readText() val html = Jsoup.parse(fileText) html.allElements.toList().forEach { element -> - val href = (element.attr("href") ?: return@forEach) + val href = element.attr("href") if (href.startsWith("https")) return@forEach if (href.startsWith("http")) return@forEach |