> +
> +      public static ResourceType fromValue(String resourceType) {
> +         Integer code = Integer.valueOf(checkNotNull(resourceType, 
> "resourcetype"));
> +         return INDEX.containsKey(code) ? INDEX.get(code) : UNRECOGNIZED;
> +      }
> +   }
> +
> +   public static Builder<?> builder() {
> +      return new ConcreteBuilder();
> +   }
> +
> +   public Builder<?> toBuilder() {
> +      return new ConcreteBuilder().fromTag(this);
> +   }
> +
> +   public abstract static class Builder<T extends Builder<T>> {

'k - it was copy-pasta. =)

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

Reply via email to