legacy/src/main/java/thredds/catalog/ServiceType.java
public static ServiceType getType(String name) {
    if (name == null) return null;
    ServiceType type = findType( name );
    return type != null ? type : new ServiceType( name, false );
  }
public static ServiceType getType(String name) {
    if (name == null) return null;
    ServiceType type = findType( name );
    return type != null ? type : new ServiceType( name, false );
  }
public static ServiceType getType ( String name ) { if ( name == null ) return null ; ServiceType type = findType ( name ) ; return type != null ? type : new ServiceType ( name , false ) ; }
Return a ServiceType that matches the given name by either matching
a known type (ignoring case) or creating an unknown type.

@param name name of the desired ServiceType
@return the named ServiceType or null if given name is null.
Return a ServiceType that matches the given name by either matching a known type ( ignoring case ) or creating an unknown type .