We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f399cd commit 9d27899Copy full SHA for 9d27899
src/main/kotlin/name/valery1707/problem/LinkChecker.kt
@@ -31,7 +31,7 @@ class LinkChecker(private val root: Path) {
31
}
32
.flatMap { pathWithText ->
33
pathWithText.second.findUri()
34
- .map { (pathWithText.first to it.first) to it.second }
+ .map { pathWithText.first to it.first to it.second }
35
36
.take(20)// todo Remove limit
37
.map {
@@ -88,7 +88,7 @@ class LinkChecker(private val root: Path) {
88
.findAll(this)
89
.filter { it.value.startsWith("http") }
90
.map { uri ->
91
- (uri.position(this)) to (uri.value.trimEnd('.').toURI())
+ uri.position(this) to uri.value.trimEnd('.').toURI()
92
93
.filter { it.second != null }
94
.map { it.first to it.second!! }
0 commit comments