> @@ -37,10 +37,7 @@ public String getValue() { > } > > public static NetworkType fromValue(String value) { > - for (NetworkType networkType : values()) { > - if (networkType.getValue().equalsIgnoreCase(value)) > - return networkType; > - } > - return null; > + if (value == null) return null;
Is `null` a valid input value here at all? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs-openstack/pull/47/files#r7546851