justinmclean opened a new issue, #7974:
URL: https://github.com/apache/gravitino/issues/7974
### What would you like to be improved?
In removeIdFromComment in
core/src/main/java/org/apache/gravitino/StringIdentifier.java.
This test shows the issue:
```
@Test
public void testRemoveIdFromCommentTrimsTrailingSpaces() {
StringIdentifier identifier = StringIdentifier.fromId(42L);
String commentWithSpace = "This is a comment ";
String commentWithId = StringIdentifier.addToComment(identifier,
commentWithSpace);
Assertions.assertEquals(
commentWithSpace.trim(),
StringIdentifier.removeIdFromComment(commentWithId));
}
```
### How should we improve?
Trim the comment.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]