legacy/src/main/java/thredds/catalog/ServiceType.java
public static ServiceType findType(String name) {
    if (name == null) return null;
    for (ServiceType serviceType : members) {
      if (serviceType.name.equalsIgnoreCase(name))
        return serviceType;
    }
    return null;
  }
public static ServiceType findType(String name) {
    if (name == null) return null;
    for (ServiceType serviceType : members) {
      if (serviceType.name.equalsIgnoreCase(name))
        return serviceType;
    }
    return null;
  }
public static ServiceType findType ( String name ) { if ( name == null ) return null ; for ( ServiceType serviceType : members ) { if ( serviceType . name . equalsIgnoreCase ( name ) ) return serviceType ; } return null ; }
Return the known ServiceType that matches the given name (ignoring case)
or null if the name is unknown.

@param name name of the desired ServiceType.
@return ServiceType or null if no match.
Return the known ServiceType that matches the given name ( ignoring case ) or null if the name is unknown .