> +   }
> +
> +   /**
> +    * This provides GSON enum support in jclouds.
> +    * */
> +   public static RuleProtocol fromValue(String name){
> +      if (name != null) {
> +         for (RuleProtocol value : RuleProtocol.values()) {
> +            if (name.equalsIgnoreCase(value.name)) {
> +               return value;
> +            }
> +         }
> +         return UNRECOGNIZED;
> +      }
> +      return null;
> +   }

See comments above

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

Reply via email to