Skip to content

Commit

Permalink
[Documentation] Changed Request to data class in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dkrasnoff authored and sarahhaggarty committed Nov 6, 2024
1 parent e87cf18 commit 7dd7c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/jvm/java-to-kotlin-collections-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ public void analyzeLogs() {
In Kotlin, use the function [`groupBy()`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/group-by.html):

```kotlin
class Request(
data class Request(
val url: String,
val responseCode: Int
)
Expand Down

0 comments on commit 7dd7c90

Please sign in to comment.