public int register(Import importSource) {
    int id = registry.size() + 1;
    registry.put(id, importSource);
    return id;
  }
public int register ( Import importSource ) { int id = registry . size ( ) + 1 ; registry . put ( id , importSource ) ; return id ; }
Register a new import, return the registration ID.