From b172d4ed57bfa46dfac6bee0216bea7d0126b253 Mon Sep 17 00:00:00 2001 From: Stefan Jandl Date: Thu, 23 Nov 2023 13:35:00 +0100 Subject: [PATCH] Update comments Scope.java (#3060) --- sentry/src/main/java/io/sentry/Scope.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/sentry/src/main/java/io/sentry/Scope.java b/sentry/src/main/java/io/sentry/Scope.java index 86ac486b46..780b08721a 100644 --- a/sentry/src/main/java/io/sentry/Scope.java +++ b/sentry/src/main/java/io/sentry/Scope.java @@ -393,7 +393,7 @@ public Queue getBreadcrumbs() { } /** - * Adds a breadcrumb to the breadcrumbs queue It also executes the BeforeBreadcrumb callback if + * Adds a breadcrumb to the breadcrumbs queue. It also executes the BeforeBreadcrumb callback if * set * * @param breadcrumb the breadcrumb @@ -737,7 +737,7 @@ Session withSession(final @NotNull IWithSession sessionCallback) { return cloneSession; } - /** the IWithSession callback */ + /** The IWithSession callback */ interface IWithSession { /** @@ -785,14 +785,14 @@ SessionPair startSession() { /** The SessionPair class */ static final class SessionPair { - /** the previous session if exists */ + /** The previous session if exists */ private final @Nullable Session previous; /** The current Session */ private final @NotNull Session current; /** - * The SessionPar ctor + * The SessionPair ctor * * @param current the current session * @param previous the previous sessions if exists or null @@ -803,7 +803,7 @@ public SessionPair(final @NotNull Session current, final @Nullable Session previ } /** - * REturns the previous session + * Returns the previous session * * @return the previous sessions if exists or null */ @@ -880,7 +880,7 @@ public void setPropagationContext(final @NotNull PropagationContext propagationC } } - /** the IWithTransaction callback */ + /** The IWithTransaction callback */ @ApiStatus.Internal public interface IWithTransaction {