Skip to content

Switch to jspecify annotations for Player#12042

Merged
lynxplay merged 3 commits into
mainfrom
player-jspecify
Feb 8, 2025
Merged

Switch to jspecify annotations for Player#12042
lynxplay merged 3 commits into
mainfrom
player-jspecify

Conversation

@jpenilla
Copy link
Copy Markdown
Member

@jpenilla jpenilla commented Jan 28, 2025

Fixes compilation issues for plugins from recent API addition with double-annotated parameter (JetBrains annotations are type-use and parameter, so nonnull array of nonnull elements ends up with duplicates)

The impl classes (i.e. CraftPlayer) are not fully annotated, so switching those would require more verification than the simple switch in API (so I am leaving it for future work)

Fixes compilation issues for plugins from recent API addition with double-annotated parameter (JetBrains annotations are type-use and parameter, so nonnull array of nonnull elements ends up with duplicates)
@jpenilla jpenilla marked this pull request as ready for review January 28, 2025 21:24
@jpenilla jpenilla requested a review from a team as a code owner January 28, 2025 21:24
@lynxplay lynxplay merged commit 61312fd into main Feb 8, 2025
@lynxplay lynxplay deleted the player-jspecify branch February 8, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Merged

Development

Successfully merging this pull request may close these issues.

2 participants