Issue 158: Fix hashcode and equals on VirtualGuest - billingItem can be null once cancelled

This commit is contained in:
Jason King 2011-09-20 17:18:34 +01:00
parent 0c6845986d
commit 9282cc8bb8
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }