> +            && Objects.equal(this.metadata, that.metadata);
> +   }
> +
> +   @Override
> +   public String toString() {
> +      return string().toString();
> +   }
> +
> +   protected ToStringHelper string() {
> +      return Objects.toStringHelper(this)
> +            .add("transactionId", transactionId).add("timestamp", 
> timestamp).add("metadata", metadata);
> +   }
> +   
> +   @Override
> +   public int compareTo(SwiftResource that) {
> +      if (that == null)

Better to throw NullPointerException?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/17/files#r5325846

Reply via email to