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

    https://github.com/apache/cloudstack/pull/1578#discussion_r77754362
  
    --- Diff: 
plugins/network-elements/nuage-vsp/src/com/cloud/agent/api/guru/ImplementNetworkVspCommand.java
 ---
    @@ -56,7 +56,7 @@ public boolean equals(Object o) {
     
             ImplementNetworkVspCommand that = (ImplementNetworkVspCommand) o;
     
    -        if (_dnsServers != null ? !_dnsServers.equals(that._dnsServers) : 
that._dnsServers != null) return false;
    +        if (_dhcpOption != null ? !_dhcpOption.equals(that._dhcpOption) : 
that._dhcpOption != null) return false;
    --- End diff --
    
    Please consider simplifying this ``if`` block with Guava's 
``Objects.equals``.


---
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