声纳向我展示了一个小的工作说法:
- Array Trailing Comma
Array should contain trailing comma.
我的代码包含:
RECOVER_PASSWORD(new String[] {
RequiredPermissions.USERS_PASSWORD_RECOVER,
RequiredPermissions.USER_RETRIEVE,
RequiredPermissions.API_USER_RETRIEVE,
RequiredPermissions.ONETIMELINK_CREATE,
RequiredPermissions.API_ONETIMELINK_CREATE,
RequiredPermissions.PASSWORD_RECOVER,
RequiredPermissions.API_PASSWORD_RECOVER }),
为什么要插入尾随逗号?