From bbc8ff177ed36bc1a6c8630fcc1cfe9a3edac7b5 Mon Sep 17 00:00:00 2001 From: "labs-code-app[bot]" <161369871+labs-code-app[bot]@users.noreply.github.com> Date: Thu, 23 Jan 2025 18:14:45 +0000 Subject: [PATCH] Add @Deprecated annotation to the deprecated line() method. The method in was already marked as deprecated with a javadoc tag, but it was missing the annotation. This commit adds the missing annotation to resolve a lint warning. --- src/main/java/com/spotify/github/v3/comment/Comment.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/spotify/github/v3/comment/Comment.java b/src/main/java/com/spotify/github/v3/comment/Comment.java index 175fdc19..9cb7fd16 100644 --- a/src/main/java/com/spotify/github/v3/comment/Comment.java +++ b/src/main/java/com/spotify/github/v3/comment/Comment.java @@ -60,6 +60,7 @@ public interface Comment extends UpdateTracking { * * @deprecated Use {@link #position()} instead */ + @Deprecated Optional line(); /** Relative path of the file to comment on. */