> + public enum IPType {
> + IPV4("IPV4"),
> + IPV6("IPV6");
> + // the value which is used for matching
> + // the json node value with this enum
> + private final String value;
> +
> + IPType(final String type) {
> + value = type;
> + }
> +
> + @Override
> + public String toString() {
> + return value;
> + }
> + }
Consider adding the `fromValue` to all enums and removing the unnecessary value
when it is exactly the same as the enum name.
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/275/files/0767d011a984011133c9e34b3389b449ca0756cd#r68668257