You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: features/dd-sdk-android-rum-debug-widget/src/test/kotlin/com/datadog/android/insights/internal/DefaultInsightsCollectorTest.kt
Copy file name to clipboardExpand all lines: features/dd-sdk-android-rum/src/main/kotlin/com/datadog/android/rum/internal/domain/scope/RumSessionScope.kt
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -237,7 +237,7 @@ internal class RumSessionScope(
Copy file name to clipboardExpand all lines: features/dd-sdk-android-rum/src/main/kotlin/com/datadog/android/rum/internal/timeseries/serializer/CpuEventSerializer.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -61,10 +61,10 @@ internal class CpuEventSerializer(
61
61
end = end,
62
62
data = data
63
63
)
64
-
).toJson()as?JsonObject
64
+
).toJson().asJsonObject
65
65
66
66
// <DOGFOODING ONLY>
67
-
val timeseriesJson = json?.getAsJsonObject("timeseries")
67
+
val timeseriesJson = json.getAsJsonObject("timeseries")
Copy file name to clipboardExpand all lines: features/dd-sdk-android-rum/src/main/kotlin/com/datadog/android/rum/internal/timeseries/serializer/MemoryEventSerializer.kt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -63,9 +63,9 @@ internal class MemoryEventSerializer(
63
63
end = end,
64
64
data = data
65
65
)
66
-
).toJson()as?JsonObject
66
+
).toJson().asJsonObject
67
67
// <DOGFOODING ONLY>
68
-
val timeseriesJson = json?.getAsJsonObject("timeseries")
68
+
val timeseriesJson = json.getAsJsonObject("timeseries")
0 commit comments