@Override
    public int hashCode() {
      return new HashCodeBuilder().append(policy == null ? 0 : policy.hashCode())
        .append(inViolation).toHashCode();
    }
Returns a singleton referring to a quota which is not in violation.
hbase-client/src/main/java/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.java