Skip to content

Commit

Permalink
fix compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fractalwrench committed Mar 11, 2024
1 parent e3a22db commit 2eb5735
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ internal class FakeApiService : ApiService {
logPayloads.add(logsEnvelope.data)
}

override fun sendSessionEnvelope(envelope: Envelope<SessionPayload>) {
override fun sendSessionEnvelope(sessionEnvelope: Envelope<SessionPayload>) {
TODO("Not yet implemented")
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@file:Suppress("DEPRECATION")

package io.embrace.android.embracesdk.fakes

import io.opentelemetry.api.common.Attributes
Expand Down Expand Up @@ -44,6 +46,8 @@ internal class FakeSpanData(
override fun getTotalRecordedEvents(): Int = events.size
override fun getTotalRecordedLinks(): Int = links.size
override fun getTotalAttributeCount(): Int = attributes.size()

@Deprecated("Deprecated in Java")
override fun getInstrumentationLibraryInfo() = InstrumentationLibraryInfo.empty()
override fun getResource(): Resource = resource
}

0 comments on commit 2eb5735

Please sign in to comment.