Skip to content

Commit c44c57e

Browse files
committed
Format code
1 parent 67541de commit c44c57e

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
import io.sentry.Sentry;
77
import io.sentry.SentryLevel;
88
import io.sentry.SentryLogLevel;
9-
import java.io.PrintWriter;
10-
import java.io.StringWriter;
119
import org.jetbrains.annotations.ApiStatus;
1210
import org.jetbrains.annotations.NotNull;
1311
import org.jetbrains.annotations.Nullable;

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,7 @@ class SentryLogcatAdapterTest {
123123
fixture.breadcrumbs.first().assert(tag, "$commonMsg verbose exception", SentryLevel.DEBUG)
124124
fixture.logs
125125
.first()
126-
.assert(
127-
"$commonMsg verbose exception\n${throwable.message}",
128-
SentryLogLevel.TRACE,
129-
)
126+
.assert("$commonMsg verbose exception\n${throwable.message}", SentryLogLevel.TRACE)
130127
}
131128

132129
@Test
@@ -156,10 +153,7 @@ class SentryLogcatAdapterTest {
156153
fixture.breadcrumbs.first().assert(tag, "$commonMsg warning exception", SentryLevel.WARNING)
157154
fixture.logs
158155
.first()
159-
.assert(
160-
"$commonMsg warning exception\n${throwable.message}",
161-
SentryLogLevel.WARN,
162-
)
156+
.assert("$commonMsg warning exception\n${throwable.message}", SentryLogLevel.WARN)
163157
}
164158

165159
@Test

0 commit comments

Comments
 (0)