> + * Server Console Connection structure.
> + *
> + * @author Epi Vou
> + * @see <a href="http://api.openstack.org/api-ref-compute-v2-ext.html"; />
> + */
> +public class Console {
> +   public enum Type {
> +      NOVNC("novnc"),
> +      XVPVNC("xvpvnc"),
> +      SPICE_HTML5("spice-html5"),
> +      RDP_HTML5("rdp-html5");
> +
> +      private static Map<String, Type> types;
> +
> +      static {
> +         types = newHashMap();

like this?
```
      private static final Map<String, Type> types;

      static {
         ImmutableMap.Builder<String, Type> builder = new 
ImmutableMap.Builder<String, Type>();
         for (Type t : values()) {
            builder.put(t.type(), t);
         }
         types = builder.build();
      }
```

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

Reply via email to