Skip to content

Commit bcb7feb

Browse files
committed
make format
1 parent 7a9c931 commit bcb7feb

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

sentry-async-profiler/src/main/java/io/sentry/asyncprofiler/convert/JfrAsyncProfilerToSentryProfileConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ public ProfileEventVisitor(
9999
public void visit(Event event, long samples, long value) {
100100
try {
101101
StackTrace stackTrace = jfr.stackTraces.get(event.stackTraceId);
102-
long threadId = resolveThreadId(event.tid);
102+
long threadId = resolveThreadId(event.tid);
103103

104104
if (stackTrace != null) {
105105
if (args.threads) {

sentry-async-profiler/src/main/java/io/sentry/asyncprofiler/profiling/JavaContinuousProfiler.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ private boolean init() {
118118
"Disabling profiling because traces directory is not writable or does not exist: %s (writable=%b, exists=%b)",
119119
profilingTracesDirPath,
120120
profileDir.canWrite(),
121-
profileDir.exists()
122-
);
121+
profileDir.exists());
123122
return false;
124123
}
125124

@@ -406,7 +405,7 @@ private void safelyRemoveFile(File file) {
406405
file.delete();
407406
}
408407
} catch (Exception e) {
409-
logger.log(SentryLevel.INFO, "Failed to remove jfr file %s.", file.getAbsolutePath() , e);
408+
logger.log(SentryLevel.INFO, "Failed to remove jfr file %s.", file.getAbsolutePath(), e);
410409
}
411410
}
412411

0 commit comments

Comments
 (0)