You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by Andrew Phillips <no...@github.com> on 2014/10/20 19:08:35 UTC

Re: [jclouds-labs] Cleanup round 1 of azurecompute: Output value types. (#92)

>     }
>  
> -   @Override
> -   public int hashCode() {
> -      return Objects.hashCode(name);
> +   // TODO: Remove from here down with @AutoValue.
> +   private Disk(String name, String location, String affinityGroup, String description, OSType os, URI mediaLink,
> +         Integer logicalSizeInGB, Attachment attachedTo, String sourceImage) {
> +      this.name = checkNotNull(name, "name");
> +      this.location = location;
> +      this.affinityGroup = affinityGroup;
> +      this.description = description;
> +      this.os = os;
> +      this.mediaLink = mediaLink;
> +      this.logicalSizeInGB = checkNotNull(logicalSizeInGB, "logicalSizeInGB of %s", name);

This is listed above as `@Nullable`?

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