GutoVeronezi commented on code in PR #7146:
URL: https://github.com/apache/cloudstack/pull/7146#discussion_r1091797468
##########
plugins/database/quota/src/main/java/org/apache/cloudstack/api/command/QuotaTariffListCmd.java:
##########
@@ -43,22 +43,22 @@ public class QuotaTariffListCmd extends BaseListCmd {
@Inject
QuotaResponseBuilder _responseBuilder;
- @Parameter(name = ApiConstants.USAGE_TYPE, type = CommandType.INTEGER,
required = false, description = "Usage type of the resource")
+ @Parameter(name = ApiConstants.USAGE_TYPE, type = CommandType.INTEGER,
description = "Usage type of the resource")
Review Comment:
The default value of `required` is `false`; therefore, there is no need to
inform it as `false`:
https://github.com/apache/cloudstack/blob/d8c7e34b383d6e6ab4d00f3a07e3b2ab467eca36/api/src/main/java/org/apache/cloudstack/api/Parameter.java#L35
--
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]