mirror of https://github.com/apache/jclouds.git
Issue 158: Fix hashcode and equals on VirtualGuest - billingItem can be null once cancelled
This commit is contained in:
parent
0c6845986d
commit
9282cc8bb8
|
@ -300,7 +300,7 @@ public class VirtualGuest implements Comparable<VirtualGuest> {
|
||||||
result = prime * result + startCpus;
|
result = prime * result + startCpus;
|
||||||
result = prime * result + statusId;
|
result = prime * result + statusId;
|
||||||
result = prime * result + ((uuid == null) ? 0 : uuid.hashCode());
|
result = prime * result + ((uuid == null) ? 0 : uuid.hashCode());
|
||||||
result = prime * result + billingItem.hashCode();
|
result = prime * result + ((billingItem == null) ? 0 : billingItem.hashCode());
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue