Skip to content

Commit

Permalink
feat: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingLychee committed Feb 8, 2025
1 parent 893bc95 commit 457207f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public AlterTagPreEvent(String user, String metalake, String name, TagChange[] c
*
* @return An array of {@link TagChange}.
*/
public TagChange[] getChanges() {
public TagChange[] changes() {
return changes;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void testAlterTag() {
Assertions.assertEquals(OperationType.ALTER_TAG, preEvent.operationType());
Assertions.assertEquals(OperationStatus.UNPROCESSED, preEvent.operationStatus());

TagChange[] eventChanges = ((AlterTagPreEvent) preEvent).getChanges();
TagChange[] eventChanges = ((AlterTagPreEvent) preEvent).changes();
Assertions.assertArrayEquals(changes, eventChanges);
}

Expand Down

0 comments on commit 457207f

Please sign in to comment.