Skip to content

Commit eb98375

Browse files
committed
Fix bad naming
1 parent f73ff15 commit eb98375

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sentry/src/main/java/io/sentry/SendCachedEnvelopeFireAndForgetIntegration.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public void register(final @NotNull IHub hub, final @NotNull SentryOptions optio
8080
connectionStatusProvider = options.getConnectionStatusProvider();
8181
connectionStatusProvider.addConnectionStatusObserver(this);
8282

83-
run(hub, options);
83+
sendCachedEnvelopes(hub, options);
8484
}
8585

8686
@Override
@@ -93,12 +93,12 @@ public void close() throws IOException {
9393
@Override
9494
public void onConnectionStatusChanged(IConnectionStatusProvider.ConnectionStatus status) {
9595
if (hub != null && options != null) {
96-
run(hub, options);
96+
sendCachedEnvelopes(hub, options);
9797
}
9898
}
9999

100100
@SuppressWarnings("FutureReturnValueIgnored")
101-
private synchronized void run(@NotNull IHub hub, @NotNull SentryOptions options) {
101+
private synchronized void sendCachedEnvelopes(@NotNull IHub hub, @NotNull SentryOptions options) {
102102

103103
// assume we're connected unless overruled by the provider
104104
@NotNull

0 commit comments

Comments
 (0)