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 94b7a77 commit 8d75a30Copy full SHA for 8d75a30
oauth2-server-integration-base/src/main/java/nl/myndocs/oauth2/integration/BaseIntegrationTest.kt
@@ -161,8 +161,7 @@ abstract class BaseIntegrationTest {
161
fun ObjectMapper.readMap(content: String) = this.readValue(content, Map::class.java)
162
163
fun String.asQueryParameters() =
164
- split("?")[1]
165
- .split("&")
166
- .map { it.split("=") }
167
- .map { Pair(it[0], it[1]) }
168
- .toMap()
+ split("?")[1]
+ .split("&")
+ .map { it.split("=") }
+ .associate { Pair(it[0], it[1]) }
0 commit comments