Skip to content

Commit

Permalink
Update Component.java: add missing nullable annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
StartsMercury committed Nov 10, 2024
1 parent def7231 commit a0f4582
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ public void drawText(final Viewport viewport, final SpriteBatch batch) {
batch.setColor(oldColor);
}

public String getText() {
public @Nullable String getText() {
return this.text;
}

Expand Down

0 comments on commit a0f4582

Please sign in to comment.