>     }
>  
>     public enum ObjectRole {
>        READER, OWNER
>     }
>  
> +   public enum Location {
> +      ASIA, EU, US, ASIA_EAST1, US_CENTRAL1, US_CENTRAL2, US_EAST1, 
> US_EAST2, US_EAST3, US_WEST1;
> +
> +      public String value() {
> +         return CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.LOWER_HYPHEN, 
> name()).toUpperCase();

was  thinking  CaseFormat.UPPER_UNDERSCORE.to(CaseFormat.UPPER_HYPHEN, name())
But  UPPER_HYPHEN is not available as a caseformat.

Now changed to name().replace('_', '-');

 

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

Reply via email to