Skip to content

Commit a103464

Browse files
committed
refactor: make scope breadcrumb clearing explicit
Refs #5844 Signed-off-by: Md. Nazmus Salahin Rocky <rocky.bgta@gmail.com>
1 parent 6fe2c2e commit a103464

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎sentry/src/main/java/io/sentry/IScopeObserver.java‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,14 @@
1010
import org.jetbrains.annotations.Nullable;
1111

1212
/**
13-
* A Scope observer that tracks changes on Scope. All methods are "default", so implementors can
14-
* subscribe to only those properties, that they are interested in.
13+
* A Scope observer that tracks changes on Scope.
1514
*/
1615
public interface IScopeObserver {
1716
void setUser(@Nullable User user);
1817

1918
void addBreadcrumb(@NotNull Breadcrumb crumb);
2019

21-
void setBreadcrumbs(@NotNull Collection<Breadcrumb> breadcrumbs);
20+
void clearBreadcrumbs();
2221

2322
void setTag(@NotNull String key, @NotNull String value);
2423

0 commit comments

Comments
 (0)