Skip to content

Commit

Permalink
Fix deprecated annotation (#206)
Browse files Browse the repository at this point in the history
* Initial commit

* 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.

---------

Co-authored-by: labs-code-app[bot] <161369871+labs-code-app[bot]@users.noreply.github.com>
  • Loading branch information
jedborovik and google-labs-jules[bot] authored Jan 29, 2025
1 parent 8281c7a commit eeff7bf
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 eeff7bf

Please sign in to comment.