Skip to content

Conversation

jedborovik
Copy link
Contributor

This commit removes the @nullable annotation from Optional attributes in several files.
This was causing lint warnings because the combination of @nullable and Optional
is not recommended. The changes have been made in the following files:

  • src/main/java/com/spotify/github/v3/activity/events/StatusEvent.java
  • src/main/java/com/spotify/github/v3/issues/Issue.java
  • src/main/java/com/spotify/github/v3/repos/RepositoryInvitation.java
  • src/main/java/com/spotify/github/v3/prs/Review.java
  • src/main/java/com/spotify/github/v3/activity/events/CreateEvent.java
  • src/main/java/com/spotify/github/v3/activity/events/PushEvent.java

This commit removes the @nullable annotation from Optional attributes in several files.
This was causing lint warnings because the combination of @nullable and Optional
is not recommended. The changes have been made in the following files:
- src/main/java/com/spotify/github/v3/activity/events/StatusEvent.java
- src/main/java/com/spotify/github/v3/issues/Issue.java
- src/main/java/com/spotify/github/v3/repos/RepositoryInvitation.java
- src/main/java/com/spotify/github/v3/prs/Review.java
- src/main/java/com/spotify/github/v3/activity/events/CreateEvent.java
- src/main/java/com/spotify/github/v3/activity/events/PushEvent.java
Copy link
Member

@Abhi347 Abhi347 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR :)

@Abhi347 Abhi347 merged commit 8281c7a into spotify:master Jan 29, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants