> + checkNotNull(inTimestamp, "inTimestamp");
> + Float timestamp = Float.parseFloat(inTimestamp) * 1000;
> +
> + return new Date(timestamp.longValue());
> + }
> +
> + @Override
> + public int hashCode() {
> + return Objects.hashCode(transactionId, timestamp, metadata);
> + }
> +
> + @Override
> + public boolean equals(Object obj) {
> + if (this == obj) return true;
> + if (obj == null || getClass() != obj.getClass()) return false;
> + SwiftResource that = SwiftResource.class.cast(obj);
Same comments about equals().
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/17/files#r6380879