Skip to content

Commit 4ba6717

Browse files
committed
Cleanup SentryClient API
1 parent cc38d83 commit 4ba6717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/com/intellij/lang/jsgraphql/ide/diagnostic/GraphQLSentryClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import io.sentry.SentryEvent;
55
import org.jetbrains.annotations.NotNull;
66

7-
public class GraphQLSentryClient {
7+
public final class GraphQLSentryClient {
88
private static class Lazy {
99
private static final GraphQLSentryClient ourClient = new GraphQLSentryClient();
1010
}
@@ -13,7 +13,7 @@ public static GraphQLSentryClient getInstance() {
1313
return Lazy.ourClient;
1414
}
1515

16-
public GraphQLSentryClient() {
16+
private GraphQLSentryClient() {
1717
Sentry.init(options -> options.setDsn("https://[email protected]/6097822"));
1818
}
1919

0 commit comments

Comments
 (0)