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

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