> +      HDD, CDROM, UNRECOGNIZED;
> +
> +      public static Type fromValue(String v) {
> +         try {
> +            return valueOf(v);
> +         } catch (IllegalArgumentException ex) {
> +            return UNRECOGNIZED;
> +         }
> +      }
> +   }
> +
> +   public abstract String id();
> +
> +   public abstract String name();
> +
> +   public abstract Float size(); // MB

Use the primitive type for non `@Nullable` variables.

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

Reply via email to