Skip to content

Commit e8ba360

Browse files
committed
Format code
1 parent ac7be23 commit e8ba360

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

sentry-android-core/src/main/java/io/sentry/android/core/ManifestMetadataReader.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,8 @@ static void applyMetadata(
383383
metadata, logger, ENABLE_SCOPE_PERSISTENCE, options.isEnableScopePersistence()));
384384

385385
options.setEnableAutoTraceIdGeneration(
386-
readBool(metadata, logger, ENABLE_AUTO_TRACE_ID_GENERATION, options.isAttachScreenshot()));
386+
readBool(
387+
metadata, logger, ENABLE_AUTO_TRACE_ID_GENERATION, options.isAttachScreenshot()));
387388

388389
if (options.getSessionReplay().getSessionSampleRate() == null) {
389390
final Double sessionSampleRate =

sentry-android-core/src/main/java/io/sentry/android/core/SentryAndroidOptions.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ public final class SentryAndroidOptions extends SentryOptions {
166166
*/
167167
private boolean enableScopeSync = true;
168168

169-
/** Whether to enable automatic trace ID generation. This is mainly used by the Hybrid SDKs to
169+
/**
170+
* Whether to enable automatic trace ID generation. This is mainly used by the Hybrid SDKs to
170171
* control the trace ID generation from the outside.
171172
*/
172173
private boolean enableAutoTraceIdGeneration = true;

sentry-android-core/src/test/java/io/sentry/android/core/ActivityLifecycleIntegrationTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1389,7 +1389,7 @@ class ActivityLifecycleIntegrationTest {
13891389
val sut = fixture.getSut()
13901390
val activity = mock<Activity>()
13911391
fixture.options.tracesSampleRate = null
1392-
fixture.options.isEnableAutoTraceIdGeneration = true;
1392+
fixture.options.isEnableAutoTraceIdGeneration = true
13931393

13941394
val argumentCaptor: ArgumentCaptor<ScopeCallback> = ArgumentCaptor.forClass(ScopeCallback::class.java)
13951395
val scope = Scope(fixture.options)
@@ -1411,7 +1411,7 @@ class ActivityLifecycleIntegrationTest {
14111411
val sut = fixture.getSut()
14121412
val activity = mock<Activity>()
14131413
fixture.options.tracesSampleRate = null
1414-
fixture.options.isEnableAutoTraceIdGeneration = false;
1414+
fixture.options.isEnableAutoTraceIdGeneration = false
14151415

14161416
val argumentCaptor: ArgumentCaptor<ScopeCallback> = ArgumentCaptor.forClass(ScopeCallback::class.java)
14171417
val scope = Scope(fixture.options)

sentry-android-core/src/test/java/io/sentry/android/core/internal/gestures/SentryGestureListenerTracingTest.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ import io.sentry.android.core.SentryAndroidOptions
2424
import io.sentry.protocol.SentryId
2525
import io.sentry.protocol.TransactionNameSource
2626
import org.mockito.ArgumentCaptor
27-
import org.mockito.ArgumentMatchers
2827
import org.mockito.kotlin.any
29-
import org.mockito.kotlin.argThat
3028
import org.mockito.kotlin.check
3129
import org.mockito.kotlin.clearInvocations
3230
import org.mockito.kotlin.doAnswer
@@ -37,9 +35,9 @@ import org.mockito.kotlin.verify
3735
import org.mockito.kotlin.whenever
3836
import kotlin.test.Test
3937
import kotlin.test.assertEquals
38+
import kotlin.test.assertNotEquals
4039
import kotlin.test.assertNotNull
4140
import kotlin.test.assertNull
42-
import kotlin.test.assertNotEquals
4341

4442
class SentryGestureListenerTracingTest {
4543
class Fixture {

0 commit comments

Comments
 (0)