another comparison fix

This commit is contained in:
Grant Limberg 2020-11-24 14:12:03 -08:00
parent 13d7e2f2b9
commit 86ff1e7cd2
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
2 changed files with 4 additions and 1 deletions

View file

@ -15,6 +15,7 @@ public class VirtualNetworkDNS implements Comparable<VirtualNetworkDNS> {
public VirtualNetworkDNS() {}
public boolean equals(VirtualNetworkDNS o) {
if (o == null) return false;
return domain.equals(o.domain) && servers.equals(o.servers);
}