cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jburwell <...@git.apache.org>
Subject [GitHub] cloudstack pull request: Quota
Date Sun, 06 Dec 2015 22:54:18 GMT
Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/768#discussion_r46777696
  
    --- Diff: api/src/org/apache/cloudstack/api/command/admin/usage/GetUsageRecordsCmd.java
---
    @@ -111,6 +111,30 @@ public Long getProjectId() {
         public String getUsageId() {
             return usageId;
         }
    +    public void setAccountName(String accountName) {
    +        this.accountName = accountName;
    +    }
    +
    +    public void setDomainId(Long domainId) {
    +        this.domainId = domainId;
    +    }
    +
    +    public void setEndDate(Date endDate) {
    +        this.endDate = endDate;
    --- End diff --
    
    Since ``Date`` instances are mutable, the ``this.endDate`` should be a copy of ``endDate``
to avoid side-effects.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message