Github user jburwell commented on a diff in the pull request:

    https://github.com/apache/cloudstack/pull/801#discussion_r41776472
  
    --- Diff: 
plugins/network-elements/nuage-vsp/src/com/cloud/agent/api/VspResourceAnswer.java
 ---
    @@ -39,4 +39,22 @@ public VspResourceAnswer(VspResourceCommand cmd, 
Exception e) {
         public String getResourceInfo() {
             return this._resourceInfo;
         }
    +
    +    @Override
    +    public boolean equals(Object o) {
    +        if (this == o) return true;
    +        if (o == null || getClass() != o.getClass()) return false;
    +
    +        VspResourceAnswer that = (VspResourceAnswer) o;
    +
    +        if (_resourceInfo != null ? 
!_resourceInfo.equals(that._resourceInfo) : that._resourceInfo != null)
    +            return false;
    +
    +        return true;
    +    }
    +
    +    @Override
    +    public int hashCode() {
    +        return _resourceInfo != null ? _resourceInfo.hashCode() : 0;
    +    }
    --- End diff --
    
    Please implement ``toString()`` to provide debugging state information for 
debugging purposes.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to