Skip to content

Commit db109ea

Browse files
runningcodeclaude
andcommitted
fix(sentry): Suppress InlineMeSuggester on deprecated constructor (JAVA-533)
Error Prone flagged the deprecated (Date, long) constructor as inlineable, failing the build. Suppress the suggestion to match the existing convention in Sentry.java, keeping the constructor available for backwards compatibility. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent fa5bd00 commit db109ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sentry/src/main/java/io/sentry/SentryNanotimeDate.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public SentryNanotimeDate() {
3131
* @deprecated use {@link SentryNanotimeDate#SentryNanotimeDate(long, long)} instead.
3232
*/
3333
@Deprecated
34+
@SuppressWarnings("InlineMeSuggester")
3435
public SentryNanotimeDate(final @NotNull Date date, final long nanos) {
3536
this(date.getTime(), nanos);
3637
}

0 commit comments

Comments
 (0)