声纳:数组应包含尾随逗号
声纳给我看了一句小话:
- 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 }),
为什么要插入尾随逗号?