[Kimchi-devel] [PATCH] Issue 299 Inactive storage pools are listed while editing template

Crístian Viana vianac at linux.vnet.ibm.com
Fri Feb 28 13:12:45 UTC 2014


Am 27-02-2014 18:16, schrieb Adam King:
> -    if (name.contains("/")) {
> +    if (name.indexOf("/")!=-1) {
A quick curious question: is there really a difference in those 
commands? I always thought "contains" was usually implemented as 
"indexOf != -1" anyway.




More information about the Kimchi-devel mailing list