> +
> +      @Override
> +      public int hashCode() {
> +         return Objects.hashCode(key, value);
> +      }
> +
> +      @Override
> +      public boolean equals(Object obj) {
> +         if (this == obj)
> +            return true;
> +         if (obj == null || getClass() != obj.getClass())
> +            return false;
> +         KeyValue that = KeyValue.class.cast(obj);
> +         return equal(this.key, that.key) && equal(this.value, that.value);
> +      }
> +   }

Can't use `Map.Entry` or similar here?

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-chef/pull/10/files#r6040051

Reply via email to