Skip to content

Commit

Permalink
Add @deprecated annotation to the deprecated line() method.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
google-labs-jules[bot] committed Jan 23, 2025
1 parent 7e35c1c commit bbc8ff1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/spotify/github/v3/comment/Comment.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ public interface Comment extends UpdateTracking {
*
* @deprecated Use {@link #position()} instead
*/
@Deprecated
Optional<Integer> line();

/** Relative path of the file to comment on. */
Expand Down

0 comments on commit bbc8ff1

Please sign in to comment.