code: public void commitTypes(Map<String, IDataType> typesAdded) throws AtlasException {
          for (Map.Entry<String, IDataType> typeEntry : typesAdded.entrySet()) {
              IDataType type = typeEntry.getValue();
              //Add/replace the new type in the typesystem
              typeCache.put(type);
          }
      }
docs: Commit the given types to this {@link TypeSystem} instance.
  
  This step should be called only after the types have been committed to the backend stores successfully.
  @param typesAdded newly added types.
  @throws AtlasException