justinmclean opened a new issue, #8299:
URL: https://github.com/apache/gravitino/issues/8299
### What would you like to be improved?
RandomNameUtils.genRandomName will throw a NPE if passed in null:
```
@Test
public void testNullPrefixThrowsIllegalArgumentException() {
Assertions.assertThrowsExactly(
IllegalArgumentException.class,
() -> RandomNameUtils.genRandomName(null));
}
```
### How should we improve?
throw an IllegalArgumentException instead
--
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]