FANNG1 commented on code in PR #6866: URL: https://github.com/apache/gravitino/pull/6866#discussion_r2037273299
########## core/src/main/java/org/apache/gravitino/listener/api/event/CreateRoleFailureEvent.java: ########## @@ -33,62 +29,29 @@ */ @DeveloperApi public class CreateRoleFailureEvent extends RoleFailureEvent { - private final String roleName; - private final Map<String, String> properties; - private final List<SecurableObject> securableObjects; - + private final RoleInfo roleInfo; Review Comment: Could you rename `roleInfo` to `createRoleRequest` to make the name more meaningful? -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org